From: Boris Derzhavets Subject: Re: HVM pvops failures Date: Mon, 23 Feb 2009 10:47:10 -0800 (PST) Message-ID: <207034.45840.qm@web56108.mail.re3.yahoo.com> References: <18850.52472.154217.692492@mariner.uk.xensource.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0418499393==" Return-path: In-Reply-To: <18850.52472.154217.692492@mariner.uk.xensource.com> 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 , Ian Jackson Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0418499393== Content-Type: multipart/alternative; boundary="0-637435274-1235414830=:45840" --0-637435274-1235414830=:45840 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I've tried that :- name =3D "Ubuntu810HVM" builder =3D "hvm" memory =3D "2048" disk =3D ['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/sdb7,hda,w'] vif =3D [ 'type=3Dioemu,bridge=3Deth0' ] # device_model =3D "/usr/lib64/xen/bin/qemu-dm" device_model =3D "device_model_wrap.sh" kernel =3D "/usr/lib/xen/boot/hvmloader" vnc=3D1 boot=3D"d" usb=3D1 usbdevice=3D"tablet" vcpus=3D1 on_reboot =3D "restart" on_crash =3D "restart" cat device_model_wrap.sh #!/bin/sh =A0 set -e =A0 exec strace -vvs500 -f -o ~boris/vm/qemu-dm.strace \ =A0 /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 --- 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 ? >=20 > 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 =0A=0A=0A --0-637435274-1235414830=:45840 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I've tried that :-

name =3D "Ubuntu810= HVM"
builder =3D "hvm"
memory =3D "2048"
disk =3D ['phy:/dev/loop0= ,hdc:cdrom,r','phy:/dev/sdb7,hda,w']
vif =3D [ 'type=3Dioemu,bridge=3Det= h0' ]
# device_model =3D "/usr/lib64/xen/bin/qemu-dm"
device_model = =3D "device_model_wrap.sh"
kernel =3D "/usr/lib/xen/boot/hvmloader"
v= nc=3D1
boot=3D"d"
usb=3D1
usbdevice=3D"tablet"
vcpus=3D1
on_= reboot =3D "restart"
on_crash =3D "restart"

cat device_model_wrap= .sh
#!/bin/sh
  set -e
  exec strace -vvs500 -f -o ~bori= s/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 i= nformative. Just 2-3 HVM lines


--- On Mon, 2/23/09, Ian Jacks= on <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.xensourc= e.com>
Date: Monday, February 23, 2009, 11:21 AM

Andrew L=
yon 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 wou= ld report
an exit status. (I haven't tried pvops with qemu.)

I would suggest running qemu-dm under strace. This can be d= one 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.x= ensource.com
http://lists.xensource.com/xen-devel
=

=0A=0A --0-637435274-1235414830=:45840-- --===============0418499393== 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 --===============0418499393==--