[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen 3.0.1+Linux 2.6.15 goes kaboom. Help?



More data points:

I can boot Xen with SMP, and a dom0 kernel with 'nosmp' and it works.

I can then start a domU kernel with 'nosmp' on cpu1 and it works, but
if I try to start an SMP-enabled domU kernel, it dies with the same error.

I have been playing with kernel config options, so far to no avail.  I
tried to enable cpu hotplug support, but the final kernel link fails due
to a missing symbol.

On Tue, Jan 31, 2006 at 03:57:25PM -0600, Jeff Noxon wrote:
> I tried gcc 4.0.2 with the same results.
> 
> Then I added the "nosmp" parameter to the Xen kernel, and it boots fine,
> but with only one CPU!
> 
> Any suggestions?
> 
> Thanks!
> 
> On Tue, Jan 31, 2006 at 02:02:50PM -0600, Jeff Noxon wrote:
> > I have tried Xen 3.0.0 and 3.0.1 with 2.6.15 and 2.6.16rc1 from the hg
> > repository.  The 2.6.16rc1 kernel crashes Xen itself.  2.6.15 gets much
> > further before dying.  2.6.12.6 boots fine.
> > 
> > Here's a boot log.  I notice an invalid opcode ... do I need to use a
> > particular version of gcc?  I can provide .config, syms, etc., if desired.
> > 
> >  __  __            _____  ___   _ 
> >  \ \/ /___ _ __   |___ / / _ \ / |
> >   \  // _ \ '_ \    |_ \| | | || |
> >   /  \  __/ | | |  ___) | |_| || |
> >  /_/\_\___|_| |_| |____(_)___(_)_|
> >                                   
> >  http://www.cl.cam.ac.uk/netos/xen
> >  University of Cambridge Computer Laboratory
> > 
> >  Xen version 3.0.1 (root@(none)) (gcc version 3.4.4 (Gentoo 3.4.4-r1, 
> > ssp-3.4.4-1.0, pie-8.7.8)) Tue Jan 31 12:01:30 CST 2006
> >  Latest ChangeSet: Tue Jan 31 05:04:12 2006 +0100 8738:eff96462fde8
> > 
> > (XEN) Physical RAM map:
> > (XEN)  0000000000000000 - 00000000000a0000 (usable)
> > (XEN)  00000000000f0000 - 0000000000100000 (reserved)
> > (XEN)  0000000000100000 - 000000007fe8ac00 (usable)
> > (XEN)  000000007fe8ac00 - 000000007fe8cc00 (ACPI NVS)
> > (XEN)  000000007fe8cc00 - 000000007fe8ec00 (ACPI data)
> > (XEN)  000000007fe8ec00 - 0000000080000000 (reserved)
> > (XEN)  00000000f0000000 - 00000000f4000000 (reserved)
> > (XEN)  00000000fec00000 - 00000000fed00400 (reserved)
> > (XEN)  00000000fed20000 - 00000000feda0000 (reserved)
> > (XEN)  00000000fee00000 - 00000000fef00000 (reserved)
> > (XEN)  00000000ffb00000 - 0000000100000000 (reserved)
> > (XEN) System RAM: 2046MB (2095272kB)
> > (XEN) Xen heap: 14MB (14636kB)
> > (XEN) Using scheduler: Simple EDF Scheduler (sedf)
> > (XEN) found SMP MP-table at 000fe710
> > (XEN) DMI 2.3 present.
> > (XEN) Using APIC driver default
> > (XEN) ACPI: RSDP (v002 DELL                                  ) @ 
> > 0x00000000000feb00
> > (XEN) ACPI: XSDT (v001 DELL    WS 380  0x00000007 ASL  0x00000061) @ 
> > 0x00000000000fd266
> > (XEN) ACPI: FADT (v003 DELL    WS 380  0x00000007 ASL  0x00000061) @ 
> > 0x00000000000fd35e
> > (XEN) ACPI: SSDT (v001   DELL    st_ex 0x00001000 INTL 0x20050211) @ 
> > 0x00000000fffcd64e
> > (XEN) ACPI: MADT (v001 DELL    WS 380  0x00000007 ASL  0x00000061) @ 
> > 0x00000000000fd452
> > (XEN) ACPI: BOOT (v001 DELL    WS 380  0x00000007 ASL  0x00000061) @ 
> > 0x00000000000fd4c4
> > (XEN) ACPI: ASF! (v016 DELL    WS 380  0x00000007 ASL  0x00000061) @ 
> > 0x00000000000fd4ec
> > (XEN) ACPI: MCFG (v001 DELL    WS 380  0x00000007 ASL  0x00000061) @ 
> > 0x00000000000fd553
> > (XEN) ACPI: HPET (v001 DELL    WS 380  0x00000007 ASL  0x00000061) @ 
> > 0x00000000000fd591
> > (XEN) ACPI: DSDT (v001   DELL    dt_ex 0x00001000 INTL 0x20050211) @ 
> > 0x0000000000000000
> > (XEN) ACPI: Local APIC address 0xfee00000
> > (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
> > (XEN) Processor #0 15:6 APIC version 20
> > (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
> > (XEN) Processor #1 15:6 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_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: 0x8086a201 base: 0xfed00000
> > (XEN) Using ACPI (MADT) for SMP configuration information
> > (XEN) Initializing CPU#0
> > (XEN) Detected 2793.183 MHz processor.
> > (XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
> > (XEN) CPU: L2 cache: 2048K
> > (XEN) CPU: Physical Processor ID: 0
> > (XEN) CPU: Processor Core ID: 0
> > (XEN) VMXON is done
> > (XEN) CPU0: Intel(R) Pentium(R) D CPU 2.80GHz stepping 02
> > (XEN) Booting processor 1/1 eip 90000
> > (XEN) Initializing CPU#1
> > (XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
> > (XEN) CPU: L2 cache: 2048K
> > (XEN) CPU: Physical Processor ID: 0
> > (XEN) CPU: Processor Core ID: 1
> > (XEN) VMXON is done
> > (XEN) CPU1: Intel(R) Pentium(R) D CPU 2.80GHz stepping 02
> > (XEN) Total of 2 processors activated.
> > (XEN) ENABLING IO-APIC IRQs
> > (XEN) ..TIMER: vector=0x31 pin1=2 pin2=-1
> > (XEN) checking TSC synchronization across 2 CPUs: passed.
> > (XEN) Platform timer is 14.318MHz HPET
> > (XEN) Brought up 2 CPUs
> > (XEN) mtrr: v2.0 (20020519)
> > (XEN) *** LOADING DOMAIN 0 ***
> > (XEN) Xen-ELF header found: 
> > 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=xen-3.0,VIRT_BASE=0xffffffff80000000,HYPERCALL_PAGE=0x10d,LOADER=generic'
> > (XEN) PHYSICAL MEMORY ARRANGEMENT:
> > (XEN)  Dom0 alloc.:   0000000003000000->0000000004000000 (507904 pages to 
> > be allocated)
> > (XEN) VIRTUAL MEMORY ARRANGEMENT:
> > (XEN)  Loaded kernel: ffffffff80100000->ffffffff8053c090
> > (XEN)  Init. ramdisk: ffffffff8053d000->ffffffff80809c00
> > (XEN)  Phys-Mach map: ffffffff8080a000->ffffffff80bf2000
> > (XEN)  Start info:    ffffffff80bf2000->ffffffff80bf3000
> > (XEN)  Page tables:   ffffffff80bf3000->ffffffff80bfe000
> > (XEN)  Boot stack:    ffffffff80bfe000->ffffffff80bff000
> > (XEN)  TOTAL:         ffffffff80000000->ffffffff81000000
> > (XEN)  ENTRY ADDRESS: ffffffff80100000
> > (XEN) Initrd len 0x2ccc00, start at 0xffffffff8053d000
> > (XEN) Scrubbing Free RAM: .....................done.
> > (XEN) Xen trace buffers: disabled
> > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input 
> > to Xen).
> > Linux version 2.6.15-xen (root@jenoxonlab) (gcc version 3.4.4 (Gentoo 
> > 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 SMP Tue Jan 31 11:00:56 CST 2006
> > kernel direct mapping tables upto 7d800000 @ bfe000-fed000
> > ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
> > ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
> > ACPI: LAPIC (acpi_id[0x03] lapic_id[0x05] disabled)
> > ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] disabled)
> > ACPI: LAPIC_NMI (acpi_id[0xff] high level lint[0x1])
> > ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
> > IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
> > ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> > ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
> > Setting APIC routing to xen
> > Using ACPI (MADT) for SMP configuration information
> > Allocating PCI resources starting at 88000000 (gap: 80000000:70000000)
> > Built 1 zonelists
> > Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=65536 
> > real_root=/dev/sata1/root udev dolvm2
> > Initializing CPU#0
> > PID hash table entries: 4096 (order: 12, 131072 bytes)
> > Xen reported: 2793.182 MHz processor.
> > Console: colour VGA+ 80x25
> > Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
> > Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
> > Software IO TLB enabled: 
> >  Aperture:     2 megabytes
> >  Bus range:    0x0000000040200000 - 0x0000000040400000
> >  Kernel range: 0xffff88000080a000 - 0xffff880000a0a000
> > Memory: 1998460k/2056192k available (2719k kernel code, 57068k reserved, 
> > 920k data, 172k init)
> > Calibrating delay using timer specific routine.. 5590.29 BogoMIPS 
> > (lpj=2795145)
> > Mount-cache hash table entries: 256
> > CPU: Trace cache: 12K uops, L1 D cache: 16K
> > CPU: L2 cache: 2048K
> > CPU: Physical Processor ID: 0
> > CPU: Processor Core ID: 0
> > ----------- [cut here ] --------- [please bite here ] ---------
> > Kernel BUG at kernel/softlockup.c:107
> > invalid operand: 0000 [1] SMP 
> > CPU 0 
> > Modules linked in:
> > Pid: 1, comm: swapper Not tainted 2.6.15-xen #1
> > RIP: e030:[<ffffffff801541e7>] <ffffffff801541e7>{cpu_callback+75}
> > RSP: e02b:ffff880000005ed8  EFLAGS: 00010282
> > RAX: ffffffff8053b138 RBX: 0000000000000001 RCX: 0000000000000001
> > RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffffff80423d30
> > RBP: 0000000000000080 R08: 00000000fffffffb R09: 0000000000000000
> > R10: 00000000ffffffff R11: 0000000000000000 R12: ffffffff8053b138
> > R13: 00000000ffffffff R14: 0000ffffffff8010 R15: ffffffff80511fb0
> > FS:  0000000000000000(0000) GS:ffffffff804fa800(0000) knlGS:0000000000000000
> > CS:  e033 DS: 0000 ES: 0000
> > Process swapper (pid: 1, threadinfo ffff880000004000, task ffff8800000394e0)
> > Stack: ffffffff80423d30 0000000000000001 0000000000000003 ffffffff801402ac 
> >        0000000000000001 0000000000000008 0000000000000001 ffffffff8014b5fa 
> >        0000000000000001 0000000000000008 
> > Call Trace:<ffffffff801402ac>{notifier_call_chain+31} 
> > <ffffffff8014b5fa>{cpu_up+76}
> >        <ffffffff8010e14f>{init+267} <ffffffff801119f2>{child_rip+8}
> >        <ffffffff8010e044>{init+0} <ffffffff801119ea>{child_rip+0}
> >        
> > 
> > Code: 0f 0b 68 fd 91 3c 80 c2 6b 00 31 c0 89 d9 48 c7 c2 11 92 3c 
> > RIP <ffffffff801541e7>{cpu_callback+75} RSP <ffff880000005ed8>
> >  <0>Kernel panic - not syncing: Attempted to kill init!
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.