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] Re: [vt-d][xen4-rc6] Hangs on startup

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: RE: [Xen-devel] Re: [vt-d][xen4-rc6] Hangs on startup
From: "Nadolski, Ed" <Ed.Nadolski@xxxxxxx>
Date: Mon, 22 Mar 2010 16:11:34 -0600
Accept-language: en-US
Acceptlanguage: en-US
Cc: Łukasz Oleś <lukaszoles@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 22 Mar 2010 15:12:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100322205428.GA428@xxxxxxxxxxxxxxxxxxx>
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: <cb0d70421003161641x3f413623x11c82083e1c30ce9@xxxxxxxxxxxxxx> <cb0d70421003171120q1dcbbd28pa0fd3af4139d5b8f@xxxxxxxxxxxxxx> <20100317201446.GA7785@xxxxxxxxxxxxxxxxxxx> <cb0d70421003171448s4e45c007ta343a261d274473d@xxxxxxxxxxxxxx> <20100318141909.GA14445@xxxxxxxxxxxxxxxxxxx> <cb0d70421003211530l1a2b3a3fp1206ff3f3aa40fc0@xxxxxxxxxxxxxx> <20100322195010.GB32073@xxxxxxxxxxxxxxxxxxx> <8115AF16522A3D4383C1FF753036713F9B3AAA31@xxxxxxxxxxxxxxxxx> <20100322205428.GA428@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrKBlPbeAnwQt3KTlGmhKRanD3s4AAAShVA
Thread-topic: [Xen-devel] Re: [vt-d][xen4-rc6] Hangs on startup
> -----Original Message-----
> From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@xxxxxxxxxx]
> Sent: Monday, March 22, 2010 2:54 PM
> To: Nadolski, Ed
> Cc: Łukasz Oleś; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Re: [vt-d][xen4-rc6] Hangs on startup
> 
> On Mon, Mar 22, 2010 at 03:06:48PM -0600, Nadolski, Ed wrote:
> >
> >
> > > -----Original Message-----
> >
> > > PCI back is to be used _only_ with PV guests - you on the other
> > > hand are running an HVM guest.
> > >
> > > Per the earlier statement, I would recommend you use the 'pciback'
> > > instead of 'pci-stub' or just not compile pciback in and see what
> > > happens. Keep in mind: PCI back module is only needed when you want
> to
> > > do PV PCI passthrough, which is not what you are doing.
> >
> > I'm confused - does that mean pci-stub must be used for device
> assignment to an HVM guest?  The VTdHowTo isn't clear on that.
> 
> Not per say.
> 
> xen-pciback can be used for both PV and HVM.

OK then what is the difference between pciback and xen-pciback?  I thought they 
were just a re-name, but there must be more than that if one supports HVM and 
the other doesn't.


> pci-stub can only be used for HVM guests.

OK, but then why would I ever want to use pci-stub, if xen-pciback already does 
both?



> But there seems to be a bug somewhere that when the PCI device is
> assigned to pci-stub, pciback tries to seize it and can't find it and
> somehow is stuck in a spin-lock.  That shouldn't be happening.
> 
> Right now I am trying to figure out if we remove from Lukasza system
> pciback and only use pci-stub whether he still gets those MFN lookup
> errors with his QLogic card. Those are, I believe, a seperate issue
> from the pciback spinlock failure.

Yes, those sound like two different things.

I too am seeing problems with a Qlogic card in an HVM.  It looks like my card's 
BIOS makes an INT1A call (FIND PCI DEVICE function) that fails when the HVM is 
booting, and the code hangs forever. But AFAICT it looks like Lukasz's latest 
trace hasn't gotten to the point where it tries to load the PCI option ROM from 
the card.  I would be interested to see if his card sees that error or not, 
once the MFN is resolved.

Has anyone used these Qlogic cards successfully under VT-d in a Xen HVM?  I 
don't know of any reason why they should not work.  I'm assuming (hoping) that 
they are virtualization-friendly enough to work under VT-d.

Thanks again,
Ed



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