- 论坛徽章:
- 0
|
启动加载运行到kernel\rtmutex.c中的 rt_spin_lock_slowlock 函数 BUG_ON(rt_mutex_owner(lock) == current); 出现Oops。大的2.6.33的RT补丁包。
Kernel virtual memory layout:
* 0xfffdf000..0xfffff000 : fixmap
* 0xfcef8000..0xfe000000 : early ioremap
* 0xd1000000..0xfcef8000 : vmalloc & ioremap
------------[ cut here ]------------
kernel BUG at kernel/rtmutex.c:776!
Oops: Exception in kernel mode, sig: 5 [#1]
PREEMPT MPC8309 SOM
last sysfs file:
Modules linked in:
NIP: c02b9eb8 LR: c02b9ea0 CTR: c00126e8
REGS: c03cfd30 TRAP: 0700 Not tainted (2.6.34)
MSR: 00021032 <ME,CE,IR,DR> CR: 24004022 XER: 20000000
TASK = c0396460[0] 'swapper' THREAD: c03ce000
GPR00: 00000001 c03cfde0 c0396460 00000030 c0333a30 ffffffff 00000000 00004000
GPR08: 00000034 c0398a90 000008f3 c0396460 24004028 ffd7ffdf c03cff1c c03d0000
GPR16: c03b0000 c03cff18 c03cb224 00000000 c03d0000 00000000 c03cfed8 00008000
GPR24: c038c13c 00000001 c03cfdec 00001032 cf40001c c03cfed8 c03b1750 cf400000
NIP [c02b9eb8] rt_spin_lock_slowlock+0xac/0x3b4
LR [c02b9ea0] rt_spin_lock_slowlock+0x94/0x3b4
Call Trace:
[c03cfde0] [c02b9ea0] rt_spin_lock_slowlock+0x94/0x3b4 (unreliable)
[c03cfe70] [c008b7f4] _slab_irq_disable+0x20/0x3c
[c03cfe90] [c008cba4] cache_alloc_refill+0x4e0/0x5f8
[c03cfed0] [c008d060] kmem_cache_alloc+0x1b4/0x1bc
[c03cff10] [c008e18c] kmem_cache_create+0x26c/0x490
[c03cff80] [c0377de8] kmem_cache_init+0x1c0/0x394
[c03cffc0] [c03688a4] start_kernel+0x1dc/0x3a0
[c03cfff0] [00003438] 0x3438
Instruction dump:
809e0028 3c60c032 7c451378 38638214 5484003c 4bd6ea59 801e0028 7c4b1378
5400003c 7c001278 7c000034 5400d97e <0f000000> 83820000 2f9c0002 419e0224
---[ end trace 31fd0ba7d8756001 ]---
Kernel panic - not syncing: Attempted to kill the idle task!
Call Trace:
[c03cfb50] [c00087e8] show_stack+0x3c/0x160 (unreliable)
[c03cfb80] [c00276f8] panic+0x94/0x114
[c03cfbd0] [c002bb44] do_exit+0x5a0/0x5fc
[c03cfc10] [c000f750] kernel_bad_stack+0x0/0x4c
[c03cfc30] [c000f9ac] _exception+0x118/0x12c
[c03cfd20] [c0012114] ret_from_except_full+0x0/0x4c
--- Exception: 700 at rt_spin_lock_slowlock+0xac/0x3b4
LR = rt_spin_lock_slowlock+0x94/0x3b4
[c03cfe70] [c008b7f4] _slab_irq_disable+0x20/0x3c
[c03cfe90] [c008cba4] cache_alloc_refill+0x4e0/0x5f8
[c03cfed0] [c008d060] kmem_cache_alloc+0x1b4/0x1bc
[c03cff10] [c008e18c] kmem_cache_create+0x26c/0x490
[c03cff80] [c0377de8] kmem_cache_init+0x1c0/0x394
[c03cffc0] [c03688a4] start_kernel+0x1dc/0x3a0
[c03cfff0] [00003438] 0x3438
Rebooting in 180 seconds..
Error: Restart registers not mapped, spinning!
|
|