MPC8309 rt patch problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC8309 rt patch problem

616 Views
dingzhiyu
Contributor I

HI,

I add linux rt patch in mpc8309 2.6.34 kernel(use 2.6.33 rt patch). But system appears error when I use real time kernel, error as follow.

Kernel command line:
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 251472k/262144k available (3664k kernel code, 10672k reserved, 256k data, 437k bss, 176k init)
Kernel virtual memory layout:
* 0xfffdf000..0xfffff000 : fixmap
* 0xfcef8000..0xfe000000 : early ioremap
* 0xd1000000..0xfcef8000 : vmalloc & ioremap
------------[ cut here ]------------
kernel BUG at kernel/rtmutex.c:775!
Oops: Exception in kernel mode, sig: 5 [#1]
PREEMPT MPC8309 SOM
last sysfs file:
Modules linked in:
NIP: c02b9e50 LR: c02b9e30 CTR: 00000000
REGS: c03cfd30 TRAP: 0700 Not tainted (2.6.34)
MSR: 00021032 <ME,CE,IR,DR> CR: 84004022 XER: 20000000
TASK = c0396460[0] 'swapper' THREAD: c03ce000
GPR00: 00000001 c03cfde0 c0396460 00000000 c0396460 00000000 00000001 0000008c
GPR08: c03cfe14 c0396460 c03cfe0c c0396460 24004028 ffd7ffdf c03cff1c c03d0000
GPR16: c03b0000 c03cff18 c03cb224 00000000 c03d0000 00000000 c03cfed8 00008000
GPR24: c038c0ac 00000001 c03cfdec 00001032 cf40001c c03cfed8 c03b1750 cf400000
NIP [c02b9e50] rt_spin_lock_slowlock+0x74/0x39c
LR [c02b9e30] rt_spin_lock_slowlock+0x54/0x39c
Call Trace:
[c03cfde0] [c02b9e30] rt_spin_lock_slowlock+0x54/0x39c (unreliable)
[c03cfe70] [c008b7f4] _slab_irq_disable+0x20/0x3c
[c03cfe90] [c008cba4] cache_alloc_refill+0x4e0/0x5f8
[c03cfed0] [c008d034] kmem_cache_alloc+0x188/0x190
[c03cff10] [c008e160] kmem_cache_create+0x26c/0x490
[c03cff80] [c0377d58] kmem_cache_init+0x1c0/0x394
[c03cffc0] [c0368844] start_kernel+0x17c/0x310
[c03cfff0] [00003438] 0x3438
Instruction dump:
7c441378 38a00000 38c00001 4bd9a9a5 2f830000 409e02f0 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+0x74/0x39c
LR = rt_spin_lock_slowlock+0x54/0x39c
[c03cfe70] [c008b7f4] _slab_irq_disable+0x20/0x3c
[c03cfe90] [c008cba4] cache_alloc_refill+0x4e0/0x5f8
[c03cfed0] [c008d034] kmem_cache_alloc+0x188/0x190
[c03cff10] [c008e160] kmem_cache_create+0x26c/0x490
[c03cff80] [c0377d58] kmem_cache_init+0x1c0/0x394
[c03cffc0] [c0368844] start_kernel+0x17c/0x310
[c03cfff0] [00003438] 0x3438
Rebooting in 180 seconds..

0 Kudos
2 Replies

368 Views
dingzhiyu
Contributor I

LinuxBSP is MPC8309-KIT_Linux_BSP, get from Search Results: MPC8309-KIT_Linux_BSP 

0 Kudos

368 Views
alexander_yakov
NXP Employee
NXP Employee

Please specify which Linux BSP you are using and where this BSP was obtained from.


Have a great day,
Alexander

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos