From: Boris Derzhavets Subject: Re: HVM pvops failures Date: Mon, 23 Feb 2009 12:02:03 -0800 (PST) Message-ID: <307654.52114.qm@web56102.mail.re3.yahoo.com> References: Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1190206003==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andrew Lyon Cc: "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org --===============1190206003== Content-Type: multipart/alternative; boundary="0-693851751-1235419323=:52114" --0-693851751-1235419323=:52114 Content-Type: text/plain; charset=us-ascii root@ServerXen331:~# which strace /usr/bin/strace --- On Mon, 2/23/09, Andrew Lyon wrote: From: Andrew Lyon Subject: Re: [Xen-devel] HVM pvops failures To: bderzhavets@yahoo.com Cc: "Ian Jackson" , "xen-devel@lists.xensource.com" Date: Monday, February 23, 2009, 2:45 PM On Mon, Feb 23, 2009 at 6:47 PM, Boris Derzhavets wrote: > I've tried that :- > > name = "Ubuntu810HVM" > builder = "hvm" > memory = "2048" > disk = ['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/sdb7,hda,w'] > vif = [ 'type=ioemu,bridge=eth0' ] > # device_model = "/usr/lib64/xen/bin/qemu-dm" > device_model = "device_model_wrap.sh" > kernel = "/usr/lib/xen/boot/hvmloader" > vnc=1 > boot="d" > usb=1 > usbdevice="tablet" > vcpus=1 > on_reboot = "restart" > on_crash = "restart" > > cat device_model_wrap.sh > #!/bin/sh > set -e > exec strace -vvs500 -f -o ~boris/vm/qemu-dm.strace \ > /usr/lib64/xen/bin/qemu-dm "$@" > > > Same behavior. File qemu-dm.strace has not been created at all. > Content of log file under /var/log/xen is just the same. > xm dmesg is much less informative. Just 2-3 HVM lines Worked for me, I've attached the 1mb strace logfile. Perhaps you don't have strace installed? Andy > > > --- On Mon, 2/23/09, Ian Jackson wrote: > > From: Ian Jackson > Subject: Re: [Xen-devel] HVM pvops failures > To: "Andrew Lyon" > Cc: "xen-devel@lists.xensource.com" > Date: Monday, February 23, 2009, 11:21 AM > > Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re: [PATCH] > ioemu: Cleanup the code of PCI passthrough.)"): >> On Mon, Feb 23, 2009 at 2:53 PM, Ian Jackson > wrote: >> > These messages are not very surprising. Is it working ? >> >> No, when try to start HVM on Xen unstable with pv_ops kernel I get this > error: > > Ah. This is rather odd. Normally I would hope that xend would report > an exit status. (I haven't tried pvops with > qemu.) > > I would suggest running qemu-dm under strace. This can be done easily > enough with a simple wrapper script, something like: > #!/bin/sh > set -e > exec strace -vvs500 -f -o /root/qemu-dm.strace \ > /usr/lib/xen/bin/qemu-dm "$@" > and then give the name of the script as device_model in your config file. > > Ian. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > --0-693851751-1235419323=:52114 Content-Type: text/html; charset=us-ascii
root@ServerXen331:~# which strace
/usr/bin/strace


--- On Mon, 2/23/09, Andrew Lyon <andrew.lyon@gmail.com> wrote:
From: Andrew Lyon <andrew.lyon@gmail.com>
Subject: Re: [Xen-devel] HVM pvops failures
To: bderzhavets@yahoo.com
Cc: "Ian Jackson" <Ian.Jackson@eu.citrix.com>, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Date: Monday, February 23, 2009, 2:45 PM

On Mon, Feb 23, 2009 at 6:47 PM, Boris Derzhavets <bderzhavets@yahoo.com>
wrote:
> I've tried that :-
>
> name = "Ubuntu810 HVM"
> builder = "hvm"
> memory = "2048"
> disk =
['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/sdb7,hda,w']
> vif = [ 'type=ioemu,bridge=eth0' ]
> # device_model = "/usr/lib64/xen/bin/qemu-dm"
> device_model = "device_model_wrap.sh"
> kernel = "/usr/lib/xen/boot/hvmloader"
> vnc=1
> boot="d"
> usb=1
> usbdevice="tablet"
> vcpus=1
> on_reboot = "restart"
> on_crash = "restart"
>
> cat device_model_wrap.sh
> #!/bin/sh
> set -e
> exec strace -vvs500 -f -o ~boris/vm/qemu-dm.strace \
> /usr/lib64/xen/bin/qemu-dm "$@"
>
>
> Same behavior. File qemu-dm.strace has not been created at all.
> Content of log file under /var/log/xen is just the same.
> xm dmesg is much less informative. Just 2-3 HVM lines

Worked for me, I've attached the 1mb strace logfile.

Perhaps you don't have strace installed?

Andy
>
>
> --- On Mon, 2/23/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
>
> From: Ian Jackson <Ian.Jackson@eu.citrix.com>
> Subject: Re: [Xen-devel] HVM pvops failures
> To: "Andrew Lyon" <andrew.lyon@gmail.com>
> Cc: "xen-devel@lists.xensource.com"
<xen-devel@lists.xensource.com>
> Date: Monday, February 23, 2009, 11:21 AM
>
> Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH]
> ioemu: Cleanup the code of PCI passthrough.)"):
>> On Mon, Feb 23, 2009 at 2:53 PM, Ian Jackson
> <Ian.Jackson@eu.citrix.com> wrote:
>> > These messages are not very surprising. Is it working ?
>>
>> No, when try to start HVM on Xen unstable with pv_ops kernel I get
this
> error:
>
> Ah. This is rather odd. Normally I would hope that xend would report
> an exit status. (I haven't tried pvops with
> qemu.)
>
> I would suggest running qemu-dm under strace. This can be done easily
> enough with a simple wrapper script, something like:
> #!/bin/sh
> set -e
> exec strace -vvs500 -f -o /root/qemu-dm.strace \
> /usr/lib/xen/bin/qemu-dm "$@"
> and then give the name of the script as device_model in your config file.
>
> Ian.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>

--0-693851751-1235419323=:52114-- --===============1190206003== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1190206003==--