From: "Mark Hurenkamp" Subject: Re: collecting info on platforms with VT-d BIOS problems Date: Sat, 30 Jan 2010 22:57:03 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, I've posted this earlier but didn't see it appear on the list, so i subscribed to the list, and now post it again. > If you have encountered VT-d problems on a particular platform using > latest xen-unstable, please provide the following information so that > we can work with OEM's to get their BIOS's > fixed: > > (a) Platform details (OEM, Product/Model#, Other identifying info) > (b) BIOS version/number > (c) Version of Xen with which failure is seen (if not the latest > xen-unstable) > (d) Specific error/failure details such as serial log I own an Asus P7P55D-EVO board, which has vtx and vt-d features enabled i= n the BIOS (i'm running the latest firmware 1207), however for me this platform won't boot with iommu enabled. Here I've included a failing boot log (iommu=3D1), and a lspci output for= a working boot (with iommu=3D0). Let me know if there's other info you would like to see of this system. I'd love to run this with the tuner cards in one hvm, and the graphics card in another hvm... Link to my board details: http://www.asus.com/product.aspx?P_ID=3DYhNWZrOT1OWycIgo&templete=3D2 Recent xen (from xen-unstable) shows the following when i boot: __ __ _ _ ___ ___ _____ \ \/ /___ _ __ | || | / _ \ / _ \ _ __ ___|___ / _ __ _ __ ___ \ // _ \ '_ \ | || |_| | | | | | |__| '__/ __| |_ \ __| '_ \| '__/ _ \ / \ __/ | | | |__ _| |_| | |_| |__| | | (__ ___) |__| |_) | | | __/ /_/\_\___|_| |_| |_|(_)___(_)___/ |_| \___|____/ | .__/|_| \___| |_| (XEN) Xen version 4.0.0-rc3-pre (root@karpeer.net) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) Thu Jan 28 22:50:42 CET 2010 (XEN) Latest ChangeSet: Tue Jan 26 15:54:40 2010 +0000 20858:2636e5619708 (XEN) Command line: com1=3D112500,8n1 console=3Dcom1 (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000e4000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000bf670000 (usable) (XEN) 00000000bf670000 - 00000000bf688000 (ACPI data) (XEN) 00000000bf688000 - 00000000bf6dc000 (ACPI NVS) (XEN) 00000000bf6dc000 - 00000000bf700000 (reserved) (XEN) 00000000bf800000 - 00000000c0000000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ffe00000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000000140000000 (usable) (XEN) ACPI: RSDP 000FB470, 0024 (r2 ACPIAM) (XEN) ACPI: XSDT BF670100, 006C (r1 120709 XSDT1509 20091207 MSFT 9= 7) (XEN) ACPI: FACP BF670290, 00F4 (r3 120709 FACP1509 20091207 MSFT 9= 7) (XEN) ACPI: DSDT BF6704A0, EF14 (r1 A1290 A1290001 1 INTL 2006011= 3) (XEN) ACPI: FACS BF688000, 0040 (XEN) ACPI: APIC BF670390, 00CC (r1 120709 APIC1509 20091207 MSFT 9= 7) (XEN) ACPI: MCFG BF670460, 003C (r1 120709 OEMMCFG 20091207 MSFT 9= 7) (XEN) ACPI: OEMB BF688040, 0072 (r1 120709 OEMB1509 20091207 MSFT 9= 7) (XEN) ACPI: HPET BF67F7A0, 0038 (r1 120709 OEMHPET 20091207 MSFT 9= 7) (XEN) ACPI: DMAR BF6880C0, 0090 (r1 AMI OEMDMAR 1 MSFT 9= 7) (XEN) ACPI: ASPT BF67FA40, 0034 (r6 120709 PerfTune 20091207 MSFT 9= 7) (XEN) ACPI: OSFR BF67FA80, 00B0 (r1 120709 OEMOSFR 20091207 MSFT 9= 7) (XEN) ACPI: SSDT BF689760, 0363 (r1 DpgPmm CpuPm 12 INTL 2006011= 3) (XEN) System RAM: 3836MB (3929012kB) (XEN) No NUMA configuration found (XEN) Faking a node at 0000000000000000-0000000140000000 (XEN) Domain heap initialised (XEN) found SMP MP-table at 000ff780 (XEN) DMI 2.6 present. (XEN) Using APIC driver default (XEN) ACPI: PM-Timer IO Port: 0x808 (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[804,0], pm1x_evt[800,0] (XEN) ACPI: wakeup_vec[bf68800c], vec_size[20] (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 7:14 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) (XEN) Processor #2 7:14 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled) (XEN) Processor #4 7:14 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled) (XEN) Processor #6 7:14 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x84] disabled) (XEN) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x85] disabled) (XEN) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x86] disabled) (XEN) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x87] disabled) (XEN) ACPI: LAPIC (acpi_id[0x09] lapic_id[0x88] disabled) (XEN) ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x89] disabled) (XEN) ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x8a] disabled) (XEN) ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x8b] disabled) (XEN) ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x8c] disabled) (XEN) ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x8d] disabled) (XEN) ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x8e] disabled) (XEN) ACPI: LAPIC (acpi_id[0x10] lapic_id[0x8f] disabled) (XEN) ACPI: IOAPIC (id[0x07] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 7, version 32, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) ACPI: HPET id: 0x8086a701 base: 0xfed00000 (XEN) [VT-D]dmar.c:631: Host address width 36 (XEN) [VT-D]dmar.c:640: found ACPI_DMAR_DRHD: (XEN) [VT-D]dmar.c:374: dmaru->address =3D fed90000 (XEN) [VT-D]dmar.c:386: flags: INCLUDE_ALL (XEN) [VT-D]dmar.c:644: found ACPI_DMAR_RMRR: (XEN) [VT-D]dmar.c:326: endpoint: 0:1d.0 (XEN) [VT-D]dmar.c:326: endpoint: 0:1a.0 (XEN) [VT-D]dmar.c:535: RMRR region: base_addr e4000 end_address e7fff (XEN) [VT-D]dmar.c:644: found ACPI_DMAR_RMRR: (XEN) [VT-D]dmar.c:326: endpoint: 0:1d.0 (XEN) [VT-D]dmar.c:326: endpoint: 0:1a.0 (XEN) [VT-D]dmar.c:535: RMRR region: base_addr bf6ec000 end_address bf6fffff (XEN) PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255 (XEN) PCI: Not using MMCONFIG. (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Initializing CPU#0 (XEN) Detected 2675.032 MHz processor. (XEN) Initing memory sharing. (XEN) CPU: L1 I cache: 32K, L1 D cache: 32K (XEN) CPU: L2 cache: 256K (XEN) CPU: L3 cache: 8192K (XEN) CPU: Physical Processor ID: 0 (XEN) CPU: Processor Core ID: 0 (XEN) VMX: Supported advanced features: (XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Extended Page Tables (EPT) (XEN) - Virtual-Processor Identifiers (VPID) (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) HVM: ASIDs enabled. (XEN) HVM: VMX enabled (XEN) HVM: Hardware Assisted Paging detected. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: Thermal monitoring enabled (TM1) (XEN) [VT-D]iommu.c:1062: drhd->address =3D fed90000 (XEN) [VT-D]iommu.c:1063: iommu->reg =3D ffff82c3fff57000 (XEN) Intel VT-d Snoop Control supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation supported. (XEN) Intel VT-d Interrupt Remapping supported. (XEN) ----[ Xen-4.0.0-rc3-pre x86_64 debug=3Dy Not tainted ]---- (XEN) CPU: 0 (XEN) RIP: e008:[] clear_fault_bits+0x40/0xdd (XEN) RFLAGS: 0000000000010002 CONTEXT: hypervisor (XEN) rax: 0000000000000282 rbx: ffff83013fff3e10 rcx: ffff82c3fff570= 0c (XEN) rdx: ffff82c3fff57000 rsi: ffff82c3fff5aff8 rdi: ffff82c3fff570= 08 (XEN) rbp: ffff82c4802efd88 rsp: ffff82c4802efd78 r8: ffffffff000000= 00 (XEN) r9: 0000000000000004 r10: 0000000000000000 r11: 00000000000000= 40 (XEN) r12: ffff83013fff3e48 r13: 0000000000000018 r14: 00000000000000= 18 (XEN) r15: ffff82c48013a015 cr0: 000000008005003b cr4: 00000000000026= f0 (XEN) cr3: 00000000bf4f4000 cr2: ffff82c3fff5aff8 (XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: 0000 cs: e008 (XEN) Xen stack trace from rsp=3Dffff82c4802efd78: (XEN) ffff83013fff3e10 ffff83013fff3560 ffff82c4802efde8 ffff82c48013a= a32 (XEN) ffff82c4802efdb8 0000001800000010 00000000000000c0 0000000000000= c00 (XEN) ffff82c4802efde8 ffff83013fff3e10 ffff82c4802388f0 ffff82c4802ef= e00 (XEN) 0000000000040000 ffff82c480238920 ffff82c4802efe38 ffff82c48013b= 698 (XEN) ffff83013fff3d80 000000000000001f ffff82c480264298 00000000fffff= fed (XEN) 0000000000000040 ffff83000008bfc0 ffff83000008bf70 ffff82c480264= 000 (XEN) ffff82c4802efe58 ffff82c4801377d5 0000000000000040 ffff82c4802ef= f28 (XEN) ffff82c4802eff18 ffff82c4802554b3 0000000000000000 0000000000000= 000 (XEN) 000000000f65f5c0 ffff8300bf4f5ff8 ffff83000008bfc0 0000100000000= 000 (XEN) ffff83000008bf70 ffff83000008bf70 0000000000000000 0000000001086= 001 (XEN) 000000000000000f 00000000000efced 0000000800000000 0000000100000= 06e (XEN) 0000000000000003 00000000000002f8 0000000000000000 0000000000000= 000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000= 000 (XEN) 0000000000067e2c ffff82c4801000b5 0000000000000000 0000000000000= 000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000= 000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000= 000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000= 000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000= 000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000= 000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000= 000 (XEN) Xen call trace: (XEN) [] clear_fault_bits+0x40/0xdd (XEN) [] init_vtd_hw+0x17b/0x3eb (XEN) [] intel_vtd_setup+0x572/0x65c (XEN) [] iommu_setup+0x35/0xf2 (XEN) [] __start_xen+0x2028/0x23e5 (XEN) (XEN) Pagetable walk from ffff82c3fff5aff8: (XEN) L4[0x105] =3D 00000000bf4fa027 5555555555555555 (XEN) L3[0x10f] =3D 00000000bf66f063 5555555555555555 (XEN) L2[0x1ff] =3D 00000000bf66e063 5555555555555555 (XEN) L1[0x15a] =3D 0000000000000000 ffffffffffffffff (XEN) (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) FATAL PAGE FAULT (XEN) [error_code=3D0000] (XEN) Faulting linear address: ffff82c3fff5aff8 (XEN) **************************************** (XEN) (XEN) Reboot in five seconds...