From:
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Cui, Dexuan
Sent: July-26-09 11:54 PM
To: Michael Opyr; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] Xen 3.4.1-rc8 iommu crash on Optiplex 760 (
Core2 E8400, Q43 / ICH10D )
Hi
Michael,
After you change your BIOS's VT-d setting from Disabled to Enabled (or from
Enabled to Disabled), can you try power cycle your host (unplug the power cord
and wait for some time)?
If this works, it would be a BIOS issue.
Thanks,
-- Dexuan
Thanks for the prompt reply Dexuan,
I disabled the VT-D setting in bios and xen
boots fine after a cold powercycle
So it appears to be a bios issue.
For reference here is the xen boot output
with VT-D disabled.
__ __ _____ _ _
_ ___
\ \/ /___ _ __ |___ /| || | / | _ __
___( _ )
\ // _ \ '_ \ |_ \| || |_ | |__| '__/
__/ _ \
/ \ __/ | | | ___) |__ _|| |__| | |
(_| (_) |
/_/\_\___|_| |_| |____(_) |_|(_)_| |_|
\___\___/
(XEN) Xen version 3.4.1-rc8 (***@***) (gcc
version 4.3.2 (Debian 4.3.2-1.1) ) Thu Jul 23 18:59:18 MDT 2009
(XEN) Latest ChangeSet: Thu Jul 23 09:08:13
2009 +0100 19702:0171f9316e25
(XEN) Command line: console=com1
com1=57600,8n1 iommu=passthrough iommu_inclusive_mapping=1
(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 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 000000000009ec00
(usable)
(XEN) 00000000000f0000 - 0000000000100000
(reserved)
(XEN) 0000000000100000 - 00000000cfdffc00
(usable)
(XEN) 00000000cfdffc00 - 00000000cfe53c00
(ACPI NVS)
(XEN) 00000000cfe53c00 - 00000000cfe55c00
(ACPI data)
(XEN) 00000000cfe55c00 - 00000000d0000000
(reserved)
(XEN) 00000000e0000000 - 00000000f0000000
(reserved)
(XEN) 00000000fec00000 - 00000000fed00400
(reserved)
(XEN) 00000000fed20000 - 00000000feda0000
(reserved)
(XEN) 00000000fee00000 - 00000000fef00000
(reserved)
(XEN) 00000000ffb00000 - 0000000100000000
(reserved)
(XEN) 0000000100000000 - 0000000128000000
(usable)
(XEN) System RAM: 3965MB (4060788kB)
(XEN) ACPI: RSDP 000FEC00, 0024 (r2 DELL )
(XEN) ACPI: XSDT 000FC7EF, 0074 (r1 DELL
B10K 15 ASL 61)
(XEN) ACPI: FACP 000FC91F, 00F4 (r3 DELL
B10K 15 ASL 61)
(XEN) ACPI: DSDT FFF1BE4D, 53BE (r1
DELL dt_ex 1000 INTL 20050624)
(XEN) ACPI: FACS CFDFFC00, 0040
(XEN) ACPI: SSDT FFF2132A, 00AA (r1
DELL st_ex 1000 INTL 20050624)
(XEN) ACPI: APIC 000FCA13, 0092 (r1 DELL B10K
15 ASL 61)
(XEN) ACPI: BOOT 000FCAA5, 0028 (r1 DELL
B10K 15 ASL 61)
(XEN) ACPI: ASF! 000FCACD, 0096 (r32
DELL B10K 15 ASL 61)
(XEN) ACPI: MCFG 000FCB63, 003E (r1 DELL
B10K 15 ASL 61)
(XEN) ACPI: HPET 000FCBA1, 0038 (r1 DELL
B10K 15 ASL 61)
(XEN) ACPI: TCPA 000FCDFD, 0032 (r1 DELL
B10K 15 ASL 61)
(XEN) ACPI: ____ 000FCE2F, 0030 (r1 DELL
B10K 15 ASL 61)
(XEN) ACPI: SLIC 000FCBD9, 0176 (r1 DELL
B10K 15 ASL 61)
(XEN) NUMA turned off
(XEN) Faking a node at
0000000000000000-0000000128000000
(XEN) Domain heap initialised
(XEN) found SMP MP-table at 000fe710
(XEN) DMI 2.5 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[cfdffc0c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01]
lapic_id[0x00] enabled)
(XEN) Processor #0 7:7 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x02]
lapic_id[0x01] enabled)
(XEN) Processor #1 7:7 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x03]
lapic_id[0x05] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07]
disabled)
(XEN) ACPI: LAPIC (acpi_id[0x05]
lapic_id[0x00] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x06]
lapic_id[0x01] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x07]
lapic_id[0x02] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x08]
lapic_id[0x03] disabled)
(XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high
level lint[0x1])
(XEN) ACPI: IOAPIC (id[0x08]
address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 8, 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) Using ACPI (MADT) for SMP
configuration information
(XEN) Using scheduler: SMP Credit Scheduler
(credit)
(XEN) Initializing CPU#0
(XEN) Detected 2992.549 MHz processor.
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: L2 cache: 6144K
(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) - Virtual NMI
(XEN) - MSR direct-access bitmap
(XEN) HVM: VMX enabled
(XEN) Intel machine check reporting enabled
on CPU#0.
(XEN) CPU0: Thermal monitoring enabled
(TM2)
(XEN) CMCI: CPU0 has no CMCI support
(XEN) CPU0: Intel(R) Core(TM)2 Duo CPU
E8400 @ 3.00GHz stepping 0a
(XEN) Booting processor 1/1 eip 8c000
(XEN) Initializing CPU#1
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: L2 cache: 6144K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU: Processor Core ID: 1
(XEN) Intel machine check reporting enabled
on CPU#1.
(XEN) CPU1: Thermal monitoring enabled
(TM2)
(XEN) CMCI: CPU1 has no CMCI support
(XEN) CPU1: Intel(R) Core(TM)2 Duo CPU
E8400 @ 3.00GHz stepping 0a
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using new ACK method
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2
apic2=-1 pin2=-1
(XEN) checking TSC synchronization across 2
CPUs: passed.
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 2 CPUs
(XEN) microcode.c:73:d32767 microcode: CPU1
resumed
(XEN) I/O virtualisation disabled
(XEN) HPET: 8 timers in total, 2 timers
will be used for broadcast
(XEN) ACPI sleep modes: S3
(XEN) mcheck_poll: Machine check polling
timer started.
(XEN) *** LOADING DOMAIN 0 ***
(XEN) elf_parse_binary: phdr:
paddr=0xffffffff80200000 memsz=0x273898
(XEN) elf_parse_binary: phdr:
paddr=0xffffffff80474000 memsz=0x888e8
(XEN) elf_parse_binary: phdr:
paddr=0xffffffff804fd000 memsz=0xc08
(XEN) elf_parse_binary: phdr:
paddr=0xffffffff804fe000 memsz=0xcf89c
(XEN) elf_parse_binary: memory:
0xffffffff80200000 -> 0xffffffff805cd89c
(XEN) elf_xen_parse_note: GUEST_OS =
"linux"
(XEN) elf_xen_parse_note: GUEST_VERSION =
"2.6"
(XEN) elf_xen_parse_note: XEN_VERSION =
"xen-3.0"
(XEN) elf_xen_parse_note: VIRT_BASE =
0xffffffff80000000
(XEN) elf_xen_parse_note: PADDR_OFFSET =
0xffffffff80000000
(XEN) elf_xen_parse_note: ENTRY =
0xffffffff80200000
(XEN) elf_xen_parse_note: HYPERCALL_PAGE =
0xffffffff80205000
(XEN) elf_xen_parse_note: unknown xen elf
note (0xd)
(XEN) elf_xen_parse_note: FEATURES =
"writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel"
(XEN) elf_xen_parse_note: LOADER =
"generic"
(XEN) elf_xen_parse_note: SUSPEND_CANCEL =
0x1
(XEN) elf_xen_addr_calc_check: addresses:
(XEN) virt_base =
0xffffffff80000000
(XEN) elf_paddr_offset =
0xffffffff80000000
(XEN) virt_offset = 0x0
(XEN) virt_kstart =
0xffffffff80200000
(XEN) virt_kend =
0xffffffff805cd89c
(XEN) virt_entry =
0xffffffff80200000
(XEN) p2m_base =
0xffffffffffffffff
(XEN) Xen kernel: 64-bit, lsb, compat32
(XEN) Dom0 kernel: 64-bit, lsb, paddr
0xffffffff80200000 -> 0xffffffff805cd89c
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.:
0000000122000000->0000000124000000 (959952 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel:
ffffffff80200000->ffffffff805cd89c
(XEN) Init. ramdisk:
ffffffff805ce000->ffffffff814cae00
(XEN) Phys-Mach map: ffffffff814cb000->ffffffff81c2de80
(XEN) Start info:
ffffffff81c2e000->ffffffff81c2e4b4
(XEN) Page tables:
ffffffff81c2f000->ffffffff81c42000
(XEN) Boot stack:
ffffffff81c42000->ffffffff81c43000
(XEN) TOTAL:
ffffffff80000000->ffffffff82000000
(XEN) ENTRY ADDRESS: ffffffff80200000
(XEN) Dom0 has maximum 2 VCPUs
(XEN) elf_load_binary: phdr 0 at
0xffffffff80200000 -> 0xffffffff80473898
(XEN) elf_load_binary: phdr 1 at
0xffffffff80474000 -> 0xffffffff804fc8e8
(XEN) elf_load_binary: phdr 2 at
0xffffffff804fd000 -> 0xffffffff804fdc08
(XEN) elf_load_binary: phdr 3 at
0xffffffff804fe000 -> 0xffffffff80539078
(XEN) Scrubbing Free RAM: .done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type
'CTRL-a' three times to switch input to Xen)
(XEN) Freed 128kB init memory.
kernel direct mapping tables up to ecdd0000
@ 1c44000-23b0000
Bootdata ok (command line is root=/dev/sda1
ro console=tty0)
Linux version 2.6.18.8-xen (root@x64) (gcc
version 4.3.2 (Debian 4.3.2-1.1) ) #1 SMP Thu Jul 23 18:58:13 MDT 2009