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] Xeno-unstable crashing at boot

To: "Mike Wray" <mike.wray@xxxxxx>
Subject: RE: [Xen-devel] Xeno-unstable crashing at boot
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 16 May 2005 14:27:12 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 16 May 2005 13:26:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVaGEKkwYJo9m5wRYiYxkJMXsucXAAAfG8g
Thread-topic: [Xen-devel] Xeno-unstable crashing at boot
 
> OK, I tried again with a fresh bk pull and those debug 
> statements added.
> I get the same crash, see below. The machine is a 
> dual-processor xeon (cpuinfo attached). I tried the same 
> build on another machine
> (cpuinfo2) and it was OK, so it appears hardware related.

What hardware is the problem machine? It has an impresively long list of
ACPI table entries. Since the code being executed is the native Linux
code it's surprising that it's having problems. 

Please can you try using a DEBUG=y build of Xen, and then adding
show_guest_stack earlier in the failure path.

Thanks,
Ian


> Booting 'Xen / XenoLinux (2.6.11.8)'
> 
> root (hd1,0)
>   Filesystem type is ext2fs, partition type 0x83 kernel 
> /xen.gz dom0_mem=131072 com1=115200,8n1 console=com1
>     [Multiboot-elf, <0x100000:0x50148:0x1eeb8>, 
> shtab=0x16f078, entry=0x100000] module /vmlinuz-2.6.11.8-xen0 
> ro root=/dev/hdb3 4 console=ttyS0
>     [Multiboot-module @ 0x170000, 0x4a1398 bytes]
> 
>   __  __            _____  ___         _                _
>   \ \/ /___ _ __   |___ / / _ \     __| | _____   _____| |
>    \  // _ \ '_ \    |_ \| | | |__ / _` |/ _ \ \ / / _ \ |
>    /  \  __/ | | |  ___) | |_| |__| (_| |  __/\ V /  __/ |
>   /_/\_\___|_| |_| |____(_)___/    \__,_|\___| \_/ \___|_|
> 
>   http://www.cl.cam.ac.uk/netos/xen
>   University of Cambridge Computer Laboratory
> 
>   Xen version 3.0-devel (mjw@xxxxxxxxxx) (gcc version 3.2.2 
> 20030222 (Red Hat Linux 3.2.2-5)) Mon May 16 13:48:15 BST 2005
>   Latest ChangeSet: 2005/05/16 08:43:46 1.1411 
> 42884f321efBfAPblIV0mrlYL-DYpA
> 
> (XEN) Physical RAM map:
> (XEN)  0000000000000000 - 000000000009fc00 (usable)
> (XEN)  000000000009fc00 - 00000000000a0000 (reserved)
> (XEN)  00000000000e8000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 000000007fff7b00 (usable)
> (XEN)  000000007fff7b00 - 0000000080000000 (reserved)
> (XEN)  00000000fec00000 - 0000000100000000 (reserved)
> (XEN) System RAM: 2047MB (2096728kB)
> (XEN) Xen heap: 10MB (10756kB)
> (XEN) CPU0: Before vendor init, caps: bfebfbff 00000000 
> 00000000, vendor = 0
> (XEN) CPU#0: Physical ID: 0, Logical ID: 0
> (XEN) CPU caps: bfebfbff 00000000 00000000 00000000
> (XEN) found SMP MP-table at 000f9bf0
> (XEN) ACPI: RSDP (v000 COMPAQ                                
> ) @ 0x000ea810
> (XEN) ACPI: RSDT (v001 COMPAQ CPQ0054  0x20030821  
> 0x00000000) @ 0x7fff7b40
> (XEN) ACPI: FADT (v001 COMPAQ PLACER   0x00000001  
> 0x00000000) @ 0x7fff7bf8
> (XEN) ACPI: SSDT (v001 COMPAQ  PROJECT 0x00000001 MSFT 
> 0x0100000e) @ 0x7fff894d
> (XEN) ACPI: SSDT (v001 COMPAQ CORE_PNP 0x00000001 MSFT 
> 0x0100000e) @ 0x7fff8ee7
> (XEN) ACPI: SSDT (v001 COMPAQ CORE_UTL 0x00000001 MSFT 
> 0x0100000e) @ 0x7fff9433
> (XEN) ACPI: SSDT (v001 COMPAQ VILLTBL1 0x00000001 MSFT 
> 0x0100000e) @ 0x7fff95ce
> (XEN) ACPI: SSDT (v001 COMPAQ LGCYLITE 0x00000001 MSFT 
> 0x0100000e) @ 0x7fff98d6
> (XEN) ACPI: SSDT (v001 COMPAQ    UART2 0x00000001 MSFT 
> 0x0100000e) @ 0x7fff9e15
> (XEN) ACPI: SSDT (v001 COMPAQ   FLOPPY 0x00000001 MSFT 
> 0x0100000e) @ 0x7fff9f7c
> (XEN) ACPI: MADT (v001 COMPAQ PLACER   0x00000001  
> 0x00000000) @ 0x7fff7c6c
> (XEN) ACPI: SSDT (v001 COMPAQ     APIC 0x00000001 MSFT 
> 0x0100000e) @ 0x7fffba41
> (XEN) ACPI: ASF! (v016 COMPAQ PLACER   0x00000001  
> 0x00000000) @ 0x7fff7cf0
> (XEN) ACPI: SSDT (v001 COMPAQ PNP_PRSS 0x00000001 MSFT 
> 0x0100000e) @ 0x7fffa538
> (XEN) ACPI: SSDT (v001 COMPAQ UR2_PRSS 0x00000001 MSFT 
> 0x0100000e) @ 0x7fffa95c
> (XEN) ACPI: SSDT (v001 COMPAQ FPY_PRSS 0x00000001 MSFT 
> 0x0100000e) @ 0x7fffaac9
> (XEN) ACPI: SSDT (v001 COMPAQ       S1 0x00000001 MSFT 
> 0x0100000e) @ 0x7fffabe2
> (XEN) ACPI: SSDT (v001 COMPAQ      L08 0x00000001 MSFT 
> 0x0100000e) @ 0x7fffb7e4
> (XEN) ACPI: SSDT (v001 COMPAQ    FINIS 0x00000001 MSFT 
> 0x0100000e) @ 0x7fffbbdc
> (XEN) ACPI: DSDT (v001 COMPAQ     DSDT 0x00000001 MSFT 
> 0x0100000e) @ 0x00000000
> (XEN) ACPI: Local APIC address 0xfee00000
> (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
> (XEN) Processor #0 15:2 APIC version 20
> (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] enabled)
> (XEN) Processor #6 15:2 APIC version 20
> (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled)
> (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] 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) Using ACPI (MADT) for SMP configuration information
> (XEN) Using scheduler: Borrowed Virtual Time (bvt)
> (XEN) Initializing CPU#0
> (XEN) Detected 2791.043 MHz processor.
> (XEN) CPU0 booted
> (XEN) Booting processor 1/6 eip 90000
> (XEN) Initializing CPU#1
> (XEN) CPU1: Before vendor init, caps: bfebfbff 00000000 
> 00000000, vendor = 0
> (XEN) CPU#1: Physical ID: 3, Logical ID: 0
> (XEN) CPU caps: bfebfbff 00000000 00000000 00000000
> (XEN) CPU1 has booted.
> (XEN) Total of 2 processors activated.
> (XEN) ENABLING IO-APIC IRQs
> (XEN) ..TIMER: vector=0x31 pin1=2 pin2=-1
> (XEN) checking TSC synchronization across CPUs: passed.
> (XEN) Time init:
> (XEN) .... cpu_freq:    00000000:A65BF080
> (XEN) .... scale:       00000001:6EE34DEB
> (XEN) .... Wall Clock:  1116250571s 140000us
> (XEN) mtrr: v2.0 (20020519)
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Xen-ELF header found: 
> 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=3.0,VIRT_BASE=0xC0000000
> ,LOADER=generic'
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Dom0 alloc.:   08000000->10000000
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (XEN)  Loaded kernel: c0100000->c05d0160
> (XEN)  Init. ramdisk: c05d1000->c05d1000
> (XEN)  Phys-Mach map: c05d1000->c05f1000
> (XEN)  Page tables:   c05f1000->c05f4000
> (XEN)  Start info:    c05f4000->c05f5000
> (XEN)  Boot stack:    c05f5000->c05f6000
> (XEN)  TOTAL:         c0000000->c0800000
> (XEN)  ENTRY ADDRESS: c0100000
> (XEN) Scrubbing Free RAM: .....................done.
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to 
> switch input to Xen).
> Linux version 2.6.11.8-xen0 (mjw@xxxxxxxxxxxxxxxxxxx) (gcc 
> version 3.2.2 20030222 (Red Hat Linux
> 3.2.2-5)) #2 Mon May 16 13:48:47 BST 2005 <6>BIOS-provided 
> physical RAM map:
>   Xen: 0000000000100000 - 0000000008000000 (usable) <5>128MB 
> LOWMEM available.
> <7>On node 0 totalpages: 32768
> <7>  DMA zone: 32768 pages, LIFO batch:8 <7>  Normal zone: 0 
> pages, LIFO batch:1 <7>  HighMem zone: 0 pages, LIFO batch:1 
> <6>found SMP MP-table at 3bfe2bf0 <6>DMI 2.3 present.
> <7>ACPI: RSDP (v000 COMPAQ                                ) @ 
> 0x000ea810
> <7>ACPI: RSDT (v001 COMPAQ CPQ0054  0x20030821  0x00000000) @ 
> 0x7fff7b40
> <7>ACPI: FADT (v001 COMPAQ PLACER   0x00000001  0x00000000) @ 
> 0x7fff7bf8
> <7>ACPI: SSDT (v001 COMPAQ  PROJECT 0x00000001 MSFT 
> 0x0100000e) @ 0x7fff894d
> <7>ACPI: SSDT (v001 COMPAQ CORE_PNP 0x00000001 MSFT 
> 0x0100000e) @ 0x7fff8ee7
> (XEN) Guest EIP is 00000000
> (XEN)    00000000 00000000 00000000 00000819 00210217 
> 00000000 00000000 00000000
> (XEN)    00000819 00210217 00000000 00000000 00000000 
> 00000819 00210217 00000000
> (XEN)    00000000 00000000 00000819 00210217 00000000 
> 00000000 00000000 00000819
> (XEN)    00210217 00000000 00000000 00000000 00000819 
> 00210217 00000000 00000000
> (XEN)    00000000 00000819 00210217 00000000 00000000 
> 00000000 00000819 00210217
> (XEN)    00000000 00000000 00000000 00000819 00210217 
> 00000000 00000000 00000000
> (XEN)    00000819 00210217 00000000 00000000 00000000 
> 00000819 00210217 00000000
> (XEN)    00000000 00000000 00000819 00210217 00000000 
> 00000000 00000000 00000819
> (XEN)    00210217 00000000 00000000 00000000 00000819 
> 00210217 00000000 00000000
> (XEN)    00000000 00000819 00210217 00000000 00000000 
> 00000000 00000819 00210217
> (XEN)    00000000 00000000 00000000 00000819 00210217 
> 00000000 00000000 00000000
> (XEN)    00000819 00210217 00000000 00000000 00000000 
> 00000819 00210217 00000000
> (XEN)    00000000 00000000 00000819 00210217 00000000 
> 00000000 00000000 00000819
> (XEN)    00210217 00000000 00000000 00000000 00000819 
> 00210217 00000000 00000000
> (XEN)    00000000 00000819 00210217 00000000 00000000 
> 00000000 00000819 00210217
> (XEN)    00000000 00000000 00000000 00000819 00210217 
> 00000000 00000000 00000000
> (XEN)    00000819 00210217 00000000 00000000 00000000 
> 00000819 00210217 00000000
> (XEN)    00000000 00000000 00000819 00210217 00000000 
> 00000000 00000000 00000819
> (XEN)    00210217 00000000 00000000 00000000 00000819 
> 00210217 00000000 00000000
> (XEN)    00000000 00000819 00210217 00000000 00000000 
> 00000000 00000819 00210217
> (XEN) BUG at domain.c:126
> (XEN) CPU:    0
> (XEN) EIP:    0808:[<ff10618c>]
> (XEN) EFLAGS: 00210296   CONTEXT: hypervisor
> (XEN) eax: 00000000   ebx: ffbf6900   ecx: 000003f8   edx: 00000000
> (XEN) esi: ffbf3080   edi: c04537e9   ebp: 00000002   esp: ff103f88
> (XEN) ds: 0810   es: 0810   fs: 0810   gs: 0810   ss: 0810   cs: 0808
> (XEN) Stack trace from ESP=ff103f88:
> (XEN)    ff143308 ff143347 0000007e c0102ff4 c04537e9 
> ffbf3080 c0102ff4 [ff106198]
> (XEN)    [ff106190] 00000808 00210292 [ff135165] 00002834 
> fbff1000 00000432 00000024
> (XEN)    c04537e9 00000002 00000000 000e0000 00000000 
> 00000819 00210217 c0103000
> (XEN)    00000821 00000821 00000821 00000000 00000000 ffbf3080
> (XEN) Call Trace from ESP=ff103f88:
> (XEN)    [<ff106198>] [<ff106190>] [<ff135165>]
> 
> ****************************************
> CPU0 FATAL TRAP: vector = 6 (invalid operand) 
> [error_code=0000] Aieee! CPU0 is toast...
> ****************************************
> 

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