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.0-rc7 problem/hang with vt-d DMAR parsing

To: "Pasi Kärkkäinen" <pasik@xxxxxx>
Subject: Re: [Xen-devel] Xen 4.0.0-rc7 problem/hang with vt-d DMAR parsing
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Tue, 23 Mar 2010 14:40:20 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Mar 2010 07:41:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100323142754.GU1878@xxxxxxxxxxx>
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: <20100323142754.GU1878@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
And what is the last c/s that worked for you? Was that reporting valid
addresses in those "dmaru->address = ..." messages? If so it would
seem like the DMAR table got corrupted (by Xen?) somehow. If not (i.e.
if the address was zero there too), some error checking may have got
removed accidentally.

Jan

>>> Pasi Kärkkäinen<pasik@xxxxxx> 23.03.10 15:27 >>>
Hello,

Just when I wrote that Xen 4.0.0-rc7 works fine for me.. :)
Ok, so I went to BIOS and enabled VT-d. I haven't used VT-d earlier on this 
system.

Without serial console (normal VGA text console) I noticed that Xen takes 
long time (25-30 seconds) to check for VT-d stuff, and then in the end 
IO virtualization gets disabled with "Failed to parse ACPI DMAR" message.

When I add iommu=verbose for Xen (dunno if it's related to this new flag),
then Xen just displayes the same messages repeatedly and doesn't start.
(or it takes very long to boot).

Full Xen log from serial console here:
http://pasik.reaktio.net/xen/debug/xen-400-rc7-vt-d-dmar.txt 

XEN) Enabling APIC mode:  Flat.  Using 3 I/O APICs
(XEN) ACPI: HPET id: 0xffffffff base: 0xfed00000
(XEN) [VT-D]dmar.c:656: Host address width 36
(XEN) [VT-D]dmar.c:666: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:384:   dmaru->address = 0
(XEN) [VT-D]dmar.c:666: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:384:   dmaru->address = 0
(XEN) [VT-D]dmar.c:666: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:384:   dmaru->address = 0
(XEN) [VT-D]dmar.c:666: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:384:   dmaru->address = 0
(XEN) [VT-D]dmar.c:666: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:384:   dmaru->address = 0
(XEN) [VT-D]dmar.c:666: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:384:   dmaru->address = 0
..
..
..

same stuff continues for a very long time.. I didn't bother waiting 
so I just power cycled the machine in the end.

I'm using Supermicro X7SB4 motherboard with BIOS version 1.2a (the latest 
available).

-- Pasi


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

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