WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] HVM domain with VT-d passthrough fails to boot (was: [PA

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] HVM domain with VT-d passthrough fails to boot (was: [PATCH 2/2] ioemu: Enable guest OS to program D0-D3hot states of an assigned device)
From: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Date: Wed, 18 Feb 2009 17:29:15 +0900
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Delivery-date: Wed, 18 Feb 2009 00:30:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090218004303.GA22228@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20090218092306.419A.27C06F64@xxxxxxxxxxxxxxx> <20090218004303.GA22228@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Simon,

I found a bug in my patch.

If we assign the device that doesn't have Power Management Capability
Structure to guest domain, qemu accesses NULL pointer.

I'll submit the patch to fix the bug ASAP.

thanks,
--
Yuji Shimada

On Wed, 18 Feb 2009 11:43:08 +1100
Simon Horman <horms@xxxxxxxxxxxx> wrote:

> Thanks for your suggestions.
> I'll look into them and get back to you.
> 
> On Wed, Feb 18, 2009 at 09:26:20AM +0900, Yuji Shimada wrote:
> > Thank you for sending the logs.
> > 
> > Qemu is killed by the kernel due to segmentation fault.
> > 
> > [   94.509681] qemu-dm[2578]: segfault at c ip 00000000004734a4 sp 
> > 00007fff31294610 error 4 in qemu-dm[400000+f4000]
> > 
> > My patch changed "struct PCIDevice" in hw/pci.h.
> > "make -C tools clean" is needed before "make".
> > If you did not execute "make -C tools clean", it might cause the
> > issue.
> > 
> > If "make -C tools clean" does not fix the issue, could you investigate
> > why segmentation fault occurs. Starting qemu-dm under gdb server will
> > help to investigate. Configuring kernel to create core dump on
> > segmentation fault will also help.
> > 
> > Thanks,
> > --
> > Yuji Shimada
> > 
> > On Tue, 17 Feb 2009 20:53:38 +1100
> > Simon Horman <horms@xxxxxxxxxxxx> wrote:
> > 
> > > On Tue, Feb 17, 2009 at 06:17:11PM +0900, Yuji Shimada wrote:
> > > > Hi Simon,
> > > > 
> > > > I don't know why the HVM domain in your system fails to boot.
> > > > My machine works well.
> > > > 
> > > > Could you send me the following logs?
> > > >  - xend.log
> > > >  - qemu-dm-XX.log
> > > >  - Guest Domain's configuration file
> > > >  - xm dmesg
> > > >  - dmesg
> > > >  - lspci -vvxxxx
> > > > 
> > > > Thanks,
> > > > --
> > > > Yuji Shimada
> > > 
> > > Hi Shimada-san,
> > > 
> > > here are the logs that you requested.
> > > 
> > > -- 
> > > Simon Horman
> > >   VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
> > >   H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en
> 
> -- 
> Simon Horman
>   VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
>   H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>