All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Andrew Lyon <andrew.lyon@gmail.com>
Cc: Boris Derzhavets <bderzhavets@yahoo.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: HVM pvops failures (one more qemu-dm.strace obtained)
Date: Wed, 25 Feb 2009 13:02:10 -0800	[thread overview]
Message-ID: <49A5B1D2.8050003@goop.org> (raw)
In-Reply-To: <f4527be0902250628o4c2c46b5j2db93d8665e13a77@mail.gmail.com>

Andrew Lyon wrote:
> On Tue, Feb 24, 2009 at 11:38 AM, Boris Derzhavets
> <bderzhavets@yahoo.com> wrote:
>   
>> I fixed error in hvm profile and got a similar qemu-dm.strace (
>> /usr/lib64/.../qemu-dm).
>>
>> --- On Mon, 2/23/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>>
>> From: Jeremy Fitzhardinge <jeremy@goop.org>
>> Subject: Re: [Xen-devel] HVM pvops failures
>> To: "Ian Jackson" <Ian.Jackson@eu.citrix.com>
>> Cc: "Andrew Lyon" <andrew.lyon@gmail.com>, "xen-devel@lists.xensource.com"
>> <xen-devel@lists.xensource.com>, "Ian Campbell" <Ian.Campbell@citrix.com>
>> Date: Monday, February 23, 2009, 7:12 PM
>>
>> Ian Jackson wrote:
>>     
>>> 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.)
>>>
>>>
>>>       
>> Hm, I'm getting:
>> [2009-02-23 15:26:18 4380] WARNING (image:482) domain win7: device model
>> failure: pid 5409: died due to signal 7; see /var/log/xen/qemu-dm-win7.log
>>
>> Hm, signal 7 - SIGBUS.  I wonder if
>>
>> Using stub domains doesn't work either.
>>
>>     
>>> 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.
>>>       
>
>
> Is there anything more I can do to help debug this problem? I am eager
> to do more testing with pv_ops and I have time to do it at the moment,
> but hvm support is currently broken so there is little I can do with
> my test box.
>   

I was hoping Ian J would pop up and say "Its broken like this!  Fix it 
like this!".

There does appear to be some incompatibility between the pvops dom0 and 
qemu which is causing this SIGBUS; it would be really useful to know 
what page qemu is trying to access.  It might be a problem in the pvops 
/proc/xen/privcmd implementation, or it could be a bug in qemu which 
happens to work with 2.6.18.

The alternative is to try stubdom, which should avoid the issue.  I 
haven't had much success in making it work, but it looks like I was not 
starting fs-backend.  I'll try again shortly.

    J

  parent reply	other threads:[~2009-02-25 21:02 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17  9:20 [PATCH] ioemu: Cleanup the code of PCI passthrough Yuji Shimada
2009-02-19 17:13 ` Ian Jackson
2009-02-20  4:55   ` Yuji Shimada
2009-02-23  1:40     ` Yuji Shimada
2009-02-23  5:56       ` Simon Horman
2009-02-23 11:36         ` Ian Jackson
2009-02-23 14:23           ` Boris Derzhavets
2009-02-23 14:53             ` HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.) Ian Jackson
2009-02-23 15:09               ` Andrew Lyon
2009-02-23 16:21                 ` HVM pvops failures Ian Jackson
2009-02-23 18:47                   ` Boris Derzhavets
2009-02-23 19:45                     ` Andrew Lyon
2009-02-23 20:02                       ` Boris Derzhavets
2009-02-24  0:12                   ` Jeremy Fitzhardinge
2009-02-24 11:21                     ` HVM pvops failures (one more qemu-dm.strace obtained) Boris Derzhavets
2009-02-24 11:38                     ` Boris Derzhavets
2009-02-25 14:28                       ` Andrew Lyon
2009-02-25 15:10                         ` Boris Derzhavets
2009-02-25 23:57                           ` Jeremy Fitzhardinge
2009-02-26  6:47                             ` Boris Derzhavets
2009-02-25 15:41                         ` Boris Derzhavets
2009-02-25 21:02                         ` Jeremy Fitzhardinge [this message]
2009-02-26 11:35                           ` Ian Jackson
2009-03-03 10:55                             ` Andrew Lyon
2009-03-03 11:27                               ` Boris Derzhavets
2009-03-03 17:41                               ` Jeremy Fitzhardinge
2009-03-18  8:17                                 ` Andrew Lyon
2009-03-18 14:42                                   ` Boris Derzhavets
2009-03-23 14:15                                     ` Andrew Lyon
2009-03-23 18:07                                   ` Jeremy Fitzhardinge
2009-02-23 15:36               ` HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.) Boris Derzhavets
2009-02-23 16:22                 ` Ian Jackson
2009-02-23 17:08                   ` Andrew Lyon
2009-02-23 17:38                   ` Boris Derzhavets
2009-02-23 15:04             ` Re: [PATCH] ioemu: Cleanup the code of PCI passthrough Andrew Lyon
2009-02-23 22:30           ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49A5B1D2.8050003@goop.org \
    --to=jeremy@goop.org \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=andrew.lyon@gmail.com \
    --cc=bderzhavets@yahoo.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.