From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Epiphany/1.4.8 (Debian) Description of problem: Xen guest kernel fails with: (XEN) Initrd len 0x335200, start at 0xc045b000 (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-1.43_FC5hypervisor (bhcompile.redhat.com) (gcc version 4.1.0 20060206 (Red Hat 4.1.0-0.23)) #1 SMP Tue Feb 7 15:54:35 EST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000075e01000 (usable) 1062MB HIGHMEM available. 832MB LOWMEM available. .... BUG: spinlock bad magic on CPU#0, swapper/1 (Not tainted) lock: c1eeac60, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0 [<c01d3b93>] spin_bug+0x87/0xe9 [<c01d3d1a>] _raw_spin_lock+0x1c/0xd1 [<c02f8647>] _spin_lock_irqsave+0x22/0x27 [<c0119fa2>] init_idle+0x49/0x66 [<c011e866>] fork_idle+0x3c/0x4c [<c03de098>] smp_prepare_cpus+0xbf/0x1ab [<c0105053>] init+0x2a/0x2f5 [<c0105029>] init+0x0/0x2f5 [<c01059a5>] kernel_thread_helper+0x5/0xb Kernel panic - not syncing: bad locking [<c011f07c>] panic+0x3c/0x18c [<c01d3bb6>] spin_bug+0xaa/0xe9 [<c01d3d1a>] _raw_spin_lock+0x1c/0xd1 [<c02f8647>] _spin_lock_irqsave+0x22/0x27 [<c0119fa2>] init_idle+0x49/0x66 [<c011e866>] fork_idle+0x3c/0x4c [<c03de098>] smp_prepare_cpus+0xbf/0x1ab [<c0105053>] init+0x2a/0x2f5 [<c0105029>] init+0x0/0x2f5 [<c01059a5>] kernel_thread_helper+0x5/0xb Version-Release number of selected component (if applicable): 2.6.15-1.43_FC5hypervisor How reproducible: Always Steps to Reproduce: 1. install Xen from FC5_test2 2. yum update/yum upgrade 3. yum install xen-hypervisor-kernel reboot Additional info: see attached file.
Created attachment 124405 [details] script output of serial console from Xen boot
maxcpus=1 will work around.
I created and verified a patch for this bug, and also posted it upstream (since it could affect other architectures with CPU hotplug too): http://lkml.org/lkml/2006/2/8/396/index.html
Juan, I just committed the fix for the bug to our CVS tree.
Rik, Was that fix in kernel-xen-hypervisor-2.6.15-1.51_FC5 ? (I don't have a serial console on my test machine but it appears to be doing the same thing). - ask
Working for me on current rawhide/fc5t3 i686 SMP.