Bug 507007 - kernel fails to boot under qemu-kvm - stack overrun because of faulty MCA capability
kernel fails to boot under qemu-kvm - stack overrun because of faulty MCA cap...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-19 15:14 EDT by Richard W.M. Jones
Modified: 2009-06-19 18:21 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-06-19 18:21:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2009-06-19 15:14:24 EDT
Description of problem:

Kernel fails to boot under qemu.

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0/0x0 -> Node 0
mce: CPU supports 0 MCE banks
BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
IP: [<ffffffff814d6e8f>] mcheck_init+0x15a/0x2ab
PGD 0 
Thread overran stack, or stack corrupted
Oops: 0002 [#1] SMP 
last sysfs file: 
CPU 0 
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.31-0.11.rc0.git13.fc12.x86_64 #1 
RIP: 0010:[<ffffffff814d6e8f>]  [<ffffffff814d6e8f>] mcheck_init+0x15a/0x2ab
RSP: 0018:ffffffff817e3e28  EFLAGS: 00000246
RAX: 0000000000000010 RBX: ffffffff817d73c0 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 00000000000000d0 RDI: 0000000000000010
RBP: ffffffff817e3e58 R08: 0000000000000002 R09: 0000000000000000
R10: ffffffff817146d8 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffffffffffff R15: 0000000000014020
FS:  0000000000000000(0000) GS:ffff880003600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000010 CR3: 0000000001001000 CR4: 00000000000006b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 0000000000000000 DR7: 0000000000000000
Process swapper (pid: 0, threadinfo ffffffff817e2000, task ffffffff8170a020)
Stack:
 00000000817e3e58 64317a74be6a2a0d ffffffff817d73c0 ffffffff817d73c0
<0> ffffffff817d73d4 ffffffff817d7408 ffffffff817e3eb8 ffffffff814d5e65
<0> ffffffff817e3ea8 ffffffff81269b70 ffffffff817e3eb8 00000001078bfbfd
Call Trace:
 [<ffffffff814d5e65>] identify_cpu+0x301/0x335
 [<ffffffff81269b70>] ? __spin_lock_init+0x40/0x7c
 [<ffffffff817f4dab>] identify_boot_cpu+0x23/0x65
 [<ffffffff817f4f46>] check_bugs+0x1c/0x54
 [<ffffffff817ec071>] start_kernel+0x417/0x447
 [<ffffffff817eb2d0>] x86_64_start_reservations+0xbb/0xd6
 [<ffffffff817eb3f0>] x86_64_start_kernel+0x105/0x128
Code: 66 00 f0 80 60 21 fb 80 3b 11 77 13 83 3d 99 7d 23 00 00 79 0a c7 05 8d 7d 23 00 00 00 00 00 80 3b 06 75 0e 48 8b 05 d1 db 66 00 <48> c7 00 00 00 00 00 80 7b 01 00 75 33 80 3b 06 75 0e 80 7b 02 
RIP  [<ffffffff814d6e8f>] mcheck_init+0x15a/0x2ab
 RSP <ffffffff817e3e28>
CR2: 0000000000000010
---[ end trace a7919e7f17c0a725 ]---
Kernel panic - not syncing: Attempted to kill the idle task!
Pid: 0, comm: swapper Tainted: G      D    2.6.31-0.11.rc0.git13.fc12.x86_64 #1
Call Trace:
 [<ffffffff814dcf03>] panic+0x89/0x140
 [<ffffffff81066e04>] do_exit+0x8a/0x768
 [<ffffffff81036d84>] ? native_restore_fl+0xb/0xd
 [<ffffffff814e1e22>] oops_end+0xc9/0xe8
 [<ffffffff8103e50b>] no_context+0x205/0x228
 [<ffffffff8103e6ee>] __bad_area_nosemaphore+0x1c0/0x1fa
 [<ffffffff8109607d>] ? lock_release+0x1a7/0x1c8
 [<ffffffff810ef92d>] ? __rcu_read_unlock+0x34/0x4a
 [<ffffffff8103e74e>] bad_area_nosemaphore+0x26/0x3c
 [<ffffffff814e3611>] do_page_fault+0x16b/0x2cb
 [<ffffffff814e10a5>] page_fault+0x25/0x30
 [<ffffffff814d6e8f>] ? mcheck_init+0x15a/0x2ab
 [<ffffffff814d6de2>] ? mcheck_init+0xad/0x2ab
 [<ffffffff814d5e65>] identify_cpu+0x301/0x335
 [<ffffffff81269b70>] ? __spin_lock_init+0x40/0x7c
 [<ffffffff817f4dab>] identify_boot_cpu+0x23/0x65
 [<ffffffff817f4f46>] check_bugs+0x1c/0x54
 [<ffffffff817ec071>] start_kernel+0x417/0x447
 [<ffffffff817eb2d0>] x86_64_start_reservations+0xbb/0xd6
 [<ffffffff817eb3f0>] x86_64_start_kernel+0x105/0x128
Rebooting in 1 seconds..

Version-Release number of selected component (if applicable):

kernel-2.6.31-0.11.rc0.git13.fc12.x86_64.rpm
qemu-kvm-0.10.50-6.kvm86.fc12.x86_64.rpm

How reproducible:

Try to boot this kernel under qemu-kvm.

Steps to Reproduce:
1. Try to boot this kernel under qemu-kvm
2.
3.
  
Additional info:

It appears to be an instance of this, which includes a patch to fix it:

http://lkml.org/lkml/2009/6/15/232
Comment 1 Chuck Ebbert 2009-06-19 17:25:29 EDT
Patch is headed for 2.6.31-rc, we'll probably just wait for it to go in.

http://git.kernel.org/?p=linux/kernel/git/x86/linux-2.6-tip.git;a=commitdiff_plain;h=203abd67b75f7714ce98ab0cdbd6cfd7ad79dec4
Comment 2 Chuck Ebbert 2009-06-19 18:21:40 EDT
Added fix to rawhide, ignore previous comment.

Note You need to log in before you can comment on or make changes to this bug.