Hi All,
After successfully porting Linux-3.14 for MPC8640D on single core, I was trying to release another core but facing some bugs/exceptions. The Linux kernel is booting successfully but after some time it hungs displaying the message
#
[ 38.278336] skbuff: skb_over_panic: text:c028b964 len:76 put:76 head:c4fab1e0 data:c4fab240 tail:0xc4fab28c end:0xc4fab040 dev:0
[ 38.290263] ------------[ cut here ]------------
[ 38.294872] kernel BUG at net/core/skbuff.c:99!
[ 38.299398] Oops: Exception in kernel mode, sig: 5 [#1]
[ 38.304614] SMP NR_CPUS=2 MPC86xx HPCN
[ 38.308358] Modules linked in:
[ 38.311411] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.14.0 #25
[ 38.317409] task: df836000 ti: dfff4000 task.ti: df856000
[ 38.322798] NIP: c03f9028 LR: c03f9028 CTR: c0234bdc
[ 38.327754] REGS: dfff5df0 TRAP: 0700 Not tainted (3.14.0)
[ 38.333490] MSR: 00029032 <EE,ME,IR,DR,RI> CR: 42024022 XER: 20000000
[ 38.340126]
GPR00: c03f9028 dfff5ea0 df836000 00000077 c0c093a8 c0c098d0 006a5000 c05643a0
GPR08: 00000001 00000000 006a5000 0000009b 0000009b fffeffff dfb6b5f0 dfb6b5e8
GPR16: dfb6b5e0 dfb6b5d8 dfb6b5d0 fffc014f dfb3cf90 c4477d40 c0410000 00000008
GPR24: c45ce800 c0590000 00000001 0000004c 0000003f c4ff0ac0 dfb6b020 c45ce8c0
[ 38.369879] NIP [c03f9028] skb_panic+0x50/0x54
[ 38.374316] LR [c03f9028] skb_panic+0x50/0x54
[ 38.378664] Call Trace:
[ 38.381106] [dfff5ea0] [c03f9028] skb_panic+0x50/0x54 (unreliable)
[ 38.387294] [dfff5eb0] [c02befc8] skb_split+0x0/0x258
[ 38.392348] [dfff5ec0] [c028b964] gfar_clean_rx_ring+0x22c/0x48c
[ 38.398349] [dfff5f30] [c028bdfc] gfar_poll_sq+0x64/0x100
[ 38.403753] [dfff5f50] [c02ce330] net_rx_action+0xd8/0x1b0
[ 38.409237] [dfff5f80] [c002943c] __do_softirq+0x10c/0x218
[ 38.414718] [dfff5fe0] [c0029830] irq_exit+0xac/0xd0
[ 38.419685] [dfff5ff0] [c000ebd0] call_do_irq+0x24/0x3c
[ 38.424912] [df857ea0] [c00065d4] do_IRQ+0x8c/0xf8
[ 38.429704] [df857ec0] [c001175c] ret_from_except+0x0/0x14
[ 38.435190] --- Exception: 501 at arch_cpu_idle+0x3c/0x6c
[ 38.435190] LR = arch_cpu_idle+0x24/0x6c
[ 38.444842] [df857f80] [c00717d4] rcu_idle_enter+0xa8/0xd4 (unreliable)
[ 38.451460] [df857f90] [c006866c] cpu_startup_entry+0xd0/0x170
[ 38.457290] [df857fc0] [c0013278] start_secondary+0x1f4/0x204
[ 38.463030] [df857ff0] [00003270] 0x3270
[ 38.466945] Instruction dump:
[ 38.469905] 8103009c 812300a0 81430094 80630098 40be000c 3d60c04f 396b5880 90610008
[ 38.477664] 3c60c04f 9161000c 3863629c 4bffeed1 <0fe00000> 9421ffe0 7c0802a6 bfc10018
[ 38.485603] ---[ end trace 5149fa25c1012cff ]---
[ 38.490210]
[ 39.491729] Kernel panic - not syncing: Fatal exception in interrupt
[ 39.498079] Rebooting in 180 seconds..
Does anyone have faced similar kind of problem? Any pointer/direction regarding this issue will be really helpful.
Thanks in Advance
@$HI$h
Please compare the gianfar driver from the latest git tree with yours in drivers/net/ethernet/freescale/gianfar.c.
Probably some specific patches are needed.
Have a great day,
Yiping Wang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------