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] Xen 4.0 + PVOPS + Intel VTD + USB EHCI = BUG()

To: "David P. Quigley" <dpquigl@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Xen 4.0 + PVOPS + Intel VTD + USB EHCI = BUG()
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Thu, 28 Jan 2010 09:50:10 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Daniel Stodden <daniel.stodden@xxxxxxxxxx>
Delivery-date: Wed, 27 Jan 2010 17:50:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1264618093.20881.9.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20100122221231.GA32286@xxxxxxxxxxxxxxxxxxx> <1264198967.20158.23.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100122224307.GA9943@xxxxxxxxxxxxxxxxxxx> <1264461835.20158.67.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100126144212.GA10928@xxxxxxxxxxxxxxxxxxx> <1264524172.20158.82.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100126165724.GA13847@xxxxxxxxxxxxxxxxxxx> <1264527964.20158.87.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100126181949.GA14346@xxxxxxxxxxxxxxxxxxx> <1264534209.20881.5.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100126194621.GC2861@xxxxxxxxxxx> <1264537282.20881.6.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <60E426D47DE8EA47AA104E65008A100D15B4215130@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1264618093.20881.9.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqfgmQ6oo/9cRgMQ9+hZlRWfaOVrQAOGFZQ
Thread-topic: [Xen-devel] Xen 4.0 + PVOPS + Intel VTD + USB EHCI = BUG()
Hi Dave,

I found the DMAR (VT-d) was also enabled in pvops dom0 in the log. It should 
not happen because Xen zaps ACPI DMAR signature to prevent dom0 using VT-d. 
Could you apply below small patch to confirm that xen really zaps ACPI DMAR?

diff -r 2f98b700605f xen/drivers/passthrough/vtd/dmar.c
--- a/xen/drivers/passthrough/vtd/dmar.c    Wed Jan 27 08:59:47 2010 +0000
+++ b/xen/drivers/passthrough/vtd/dmar.c    Thu Jan 28 09:44:31 2010 +0800
@@ -673,6 +673,8 @@ out:
 out:
     /* Zap ACPI DMAR signature to prevent dom0 using vt-d HW. */
     dmar->header.signature[0] = '\0';
+    printk(XENLOG_WARNING
+           "Zap ACPI DMAR signature to prevent dom0 using VT-d HW.\n");
     return ret;
 }


-----Original Message-----
From: David P. Quigley [mailto:dpquigl@xxxxxxxxxxxxx] 
Sent: Thursday, January 28, 2010 2:48 AM
To: Han, Weidong
Cc: Pasi Kärkkäinen; Daniel Stodden; xen-devel@xxxxxxxxxxxxxxxxxxx; Konrad 
Rzeszutek Wilk
Subject: RE: [Xen-devel] Xen 4.0 + PVOPS + Intel VTD + USB EHCI = BUG()

On Wed, 2010-01-27 at 10:49 +0800, Han, Weidong wrote:
> Can you pls post the serial output? It should have warning messages if it is 
> caused by VT-d.
> 
> Regards,
> Weidong
> 
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of David P. 
> Quigley
> Sent: Wednesday, January 27, 2010 4:21 AM
> To: Pasi Kärkkäinen
> Cc: Daniel Stodden; xen-devel@xxxxxxxxxxxxxxxxxxx; Konrad Rzeszutek 
> Wilk
> Subject: Re: [Xen-devel] Xen 4.0 + PVOPS + Intel VTD + USB EHCI = 
> BUG()
> 
> On Tue, 2010-01-26 at 21:46 +0200, Pasi Kärkkäinen wrote:
> > On Tue, Jan 26, 2010 at 02:30:09PM -0500, David P. Quigley wrote:
> > > I have a small update on the problem. It does seem like it is tied 
> > > to VT-D because I just turned it off in the bios and the dom0 
> > > manages to boot on top of xen and I can log in. Are there any 
> > > options for VT-D that you would like me to try to help pin point the 
> > > problem?
> > > 
> > 
> > At least update to the latest xen-unstable tree, since -rc2 got just 
> > released, and it has some VT-d fixes/changes.
> > 
> > -- Pasi
> 
> I updated my xen-unstable tree and tried to turn VT-D back on and it 
> breaks booting again so we still have a bug on our hands.
> 
> Dave
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Hello,
        Attached is the full serial console output with vt-d enabled from the 
xen 4.0-pre ascii art to the kernel oops in dom0.

Dave
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>