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] Boot failure on x86_64 for cs 19175: Cleanup IOMMU inter

To: Xen-Devel <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Boot failure on x86_64 for cs 19175: Cleanup IOMMU interrupt setup
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Fri, 13 Feb 2009 17:02:39 +1100
Cc:
Delivery-date: Thu, 12 Feb 2009 22:03:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090213051118.GB13180@xxxxxxxxxxxx>
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: <20090213051118.GB13180@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Feb 13, 2009 at 04:11:21PM +1100, Simon Horman wrote:
> Hi,
> 
> I am expereincing the following boot failure when changeset 19175,
> "Cleanup IOMMU interrupt setup" is applied. The box in question is
> an HP dc7800.

Hi,

The problem that I initially reported seems to be a compiler issues of some
sort.

# x86_64-unknown-linux-gnu-gcc --version
x86_64-unknown-linux-gnu-gcc (GCC) 4.0.2
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Looking closer I see that Kouya Shimura has some patches relating
to change set 19175, the subject of that thread is
"fix iommu interrupt setup"

Using a different compiler, gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3), I see
the problem that is being reported there. I will test the patches that
have been posted.

> Kernel: people/horms/sam/xen.gz com1=115200,8n1,0x1248,0 console=com1 
> loglvl=all guest_loglvl=all vtd=1 iommu=1 
> Loading people/horms/sam/xen.gz...........
> Using ELF header.
> Placed kernel section (0x00100000+0x1d0000)
> SECTION: 0x0018f761 --> 0x00100000 (0x13a748)
> SECTION: 0x00000000 --> 0x0023a748 (0x958b8)
> Module: people/horms/sam/vmlinuz-xen-2.6.27 root=/dev/mapper/sam-root_x86_64 
> console=ttyS0 loglevel=8 ro 
> pciback.hide=(00:1d.0)(00:1d.1)(00:1d.2)(00:1d.7)(00:1b.0) 
> Loading 
> people/horms/sam/vmlinuz-xen-2.6.27..................................................................
> SECTION: 0x002c9f35 --> 0x002d0000 (0x803668)
> Placed module (0x002d0000+0x803668)
> Module 0: people/horms/sam/vmlinuz-xen-2.6.27 
> root=/dev/mapper/sam-root_x86_64 console=ttyS0 loglevel=8 ro 
> pciback.hide=(00:1d.0)(00:1d.1)(00:1d.2)(00:1d.7)(00:1b.0) 
>        start = 0x002d0000 end=0x00ad3668 string=0x000101e9
> Module: people/simon/sam/initrd-xen-2.6.27 
> Loading 
> people/simon/sam/initrd-xen-2.6.27..............................................................
> SECTION: 0x00acd59d --> 0x00ad4000 (0x781800)
> Placed module (0x00ad4000+0x781800)
> Module 1: people/simon/sam/initrd-xen-2.6.27 
>        start = 0x00ad4000 end=0x01255800 string=0x00010286
> Relocations:
>     0x0018f5d9 --> 0x00010000 (0x108)
>     0x0018f418 --> 0x00010108 (0x1c1)
>     0x0018f761 --> 0x00100000 (0x13a748)
>     0x00000000 --> 0x0023a748 (0x958b8)
>     0x002c9f35 --> 0x002d0000 (0x803668)
>     0x00acd59d --> 0x00ad4000 (0x781800)
> tr_sections:     0xded7ffd4
> trampoline:      0xded8001c
> trampoline_size: 0x000000b1
> max_run_addr:    0xded7ffd4
> Booting: MBI=0x00010108, entry=0x00100000
> tr_sections[2] begins: 0x115066 __  __            _____ _  _                  
>     _        _     _      
>  \ \/ /___ _ __   |___ /| || |     _   _ _ __  ___| |_ __ _| |__ | | ___ 
>   \  // _ \ '_ \    |_ \| || |_ __| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
>   /  \  __/ | | |  ___) |__   _|__| |_| | | | \__ \ || (_| | |_) | |  __/
>  /_/\_\___|_| |_| |____(_) |_|     \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
>                                                                          
> (XEN) Xen version 3.4-unstable (horms@xxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 
> 4.0.2) Fri Feb 13 16:02:20 EST 2009
> (XEN) Latest ChangeSet: Fri Feb 06 10:36:23 2009 +0000 19175:ab514cfbcdc5
> (XEN) Command line: com1=115200,8n1,0x1248,0 console=com1 loglvl=all 
> guest_loglvl=all vtd=1 iommu=1 
> (XEN) Video information:
> (XEN)  VGA is text mode 80x25, font 8x16
> (XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
> (XEN)  EDID info not retrieved because no DDC retrieval method detected
> (XEN) Disc information:
> (XEN)  Found 1 MBR signatures
> (XEN)  Found 1 EDD information structures
> (XEN) Xen-e820 RAM map:
> (XEN)  0000000000000000 - 000000000009fc00 (usable)
> (XEN)  000000000009fc00 - 00000000000a0000 (reserved)
> (XEN)  00000000000e8000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 00000000defafe00 (usable)
> (XEN)  00000000defafe00 - 00000000defb1ea0 (ACPI NVS)
> (XEN)  00000000defb1ea0 - 00000000e0000000 (reserved)
> (XEN)  00000000f4000000 - 00000000f8000000 (reserved)
> (XEN)  00000000fec00000 - 00000000fed40000 (reserved)
> (XEN)  00000000fed45000 - 0000000100000000 (reserved)
> (XEN)  0000000100000000 - 000000011c000000 (usable)
> (XEN) System RAM: 4015MB (4111672kB)
> (XEN) ACPI: RSDP 000E5C10, 0014 (r0 COMPAQ)
> (XEN) ACPI: RSDT DEFC1E40, 0044 (r1 HPQOEM SLIC-BPC 20080318             0)
> (XEN) ACPI: FACP DEFC1EE8, 0074 (r1 COMPAQ BEARLAKE        1             0)
> (XEN) ACPI: DSDT DEFC2427, A370 (r1 COMPAQ DSDT_PRJ        1 MSFT  100000E)
> (XEN) ACPI: FACS DEFC1E00, 0040
> (XEN) ACPI: APIC DEFC1F5C, 0084 (r1 COMPAQ BEARLAKE        1             0)
> (XEN) ACPI: ASF! DEFC1FE0, 0063 (r32 COMPAQ BEARLAKE        1             0)
> (XEN) ACPI: MCFG DEFC2043, 003C (r1 COMPAQ BEARLAKE        1             0)
> (XEN) ACPI: TCPA DEFC207F, 0032 (r1 COMPAQ BEARLAKE        1             0)
> (XEN) ACPI: SLIC DEFC20B1, 0176 (r1 HPQOEM SLIC-BPC        1             0)
> (XEN) ACPI: HPET DEFC2227, 0038 (r1 COMPAQ BEARLAKE        1             0)
> (XEN) ACPI: DMAR DEFC225F, 0198 (r1 COMPAQ BEARLAKE        1             0)
> (XEN) NUMA turned off
> (XEN) Faking a node at 0000000000000000-000000011c000000
> (XEN) Domain heap initialised
> (XEN) found SMP MP-table at 000f9bf0
> (XEN) DMI 2.5 present.
> (XEN) Using APIC driver default
> (XEN) ACPI: PM-Timer IO Port: 0xf808
> (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[f804,460], pm1x_evt[f800,0]
> (XEN) ACPI:                  wakeup_vec[defc1e0c], 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[0x00] disabled)
> (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x00] disabled)
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
> (XEN) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
> (XEN) IOAPIC[0]: apic_id 1, 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: 0x8086a201 base: 0xfed00000
> (XEN) [VT-D]dmar.c:460: Host address width 36
> (XEN) [VT-D]dmar.c:469: found ACPI_DMAR_DRHD
> (XEN) [VT-D]dmar.c:337: dmaru->address = fed90000
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:1b.0
> (XEN) [VT-D]dmar.c:469: found ACPI_DMAR_DRHD
> (XEN) [VT-D]dmar.c:337: dmaru->address = fed91000
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:2.0
> (XEN) [VT-D]dmar.c:469: found ACPI_DMAR_DRHD
> (XEN) [VT-D]dmar.c:337: dmaru->address = fed92000
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:3.0
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:3.2
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:3.3
> (XEN) [VT-D]dmar.c:469: found ACPI_DMAR_DRHD
> (XEN) [VT-D]dmar.c:337: dmaru->address = fed93000
> (XEN) [VT-D]dmar.c:346: found INCLUDE_ALL
> (XEN) [VT-D]dmar.c:473: found ACPI_DMAR_RMRR
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:2.0
> (XEN) [VT-D]dmar.c:473: found ACPI_DMAR_RMRR
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:1d.7
> (XEN) [VT-D]dmar.c:473: found ACPI_DMAR_RMRR
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:1a.7
> (XEN) [VT-D]dmar.c:473: found ACPI_DMAR_RMRR
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:1d.0
> (XEN) [VT-D]dmar.c:473: found ACPI_DMAR_RMRR
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:1d.1
> (XEN) [VT-D]dmar.c:473: found ACPI_DMAR_RMRR
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:1d.2
> (XEN) [VT-D]dmar.c:473: found ACPI_DMAR_RMRR
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:1a.0
> (XEN) [VT-D]dmar.c:473: found ACPI_DMAR_RMRR
> (XEN) [VT-D]dmar.c:288: found endpoint: bdf = 0:1a.1
> (XEN) Intel VT-d has been enabled, snoop_control=1.
> (XEN) Using ACPI (MADT) for SMP configuration information
> (XEN) Using scheduler: SMP Credit Scheduler (credit)
> (XEN) Initializing CPU#0
> (XEN) Detected 2826.302 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) MCE: Intel newly family MC Init
> (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     E8300  @ 2.83GHz stepping 06
> (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) MCE: Intel newly family MC Init
> (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     E8300  @ 2.83GHz stepping 06
> (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) [VT-D]iommu.c:890:d32767 IOMMU: can't request irq
> (XEN) [VT-D]iommu.c:1686:d32767 IOMMU: interrupt setup failed
> (XEN) I/O virtualisation disabled
> (XEN) ACPI sleep modes: S3
> (XEN) mcheck_poll: Init_mcheck_timer
> (XEN) mcheck_poll: Machine check polling timer started.
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) elf_init: not an ELF binary
> (XEN) 
> (XEN) ****************************************
> (XEN) Panic on CPU 0:
> (XEN) Could not set up DOM0 guest OS
> (XEN) ****************************************
> (XEN) 
> (XEN) Reboot in five seconds...
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en


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

<Prev in Thread] Current Thread [Next in Thread>