[ARM] highbank kernel oops with pktgen script

Bug #1059496 reported by Ike Panhc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

[ 861.675973] ------------[ cut here ]------------
[ 861.680591] kernel BUG at /home/ikepanhc/linux-armadaxp-3.5.0/mm/slub.c:3474!
[ 861.687716] Internal error: Oops - BUG: 0 [#1] SMP ARM
[ 861.692846] Modules linked in: pktgen
[ 861.696507] CPU: 0 Not tainted (3.5.0-16-highbank #25)
[ 861.701994] PC is at kfree+0x18c/0x1a0
[ 861.705740] LR is at skb_free_head+0x60/0x6c
[ 861.710001] pc : [<c011c8a4>] lr : [<c03fdfc0>] psr: 400f0013
[ 861.710001] sp : ee179c58 ip : ee179c90 fp : ee179c8c
[ 861.721467] r10: edb74056 r9 : 00000000 r8 : c077d800
[ 861.726682] r7 : ed992e00 r6 : edb7404e r5 : c03fdfc0 r4 : edb74000
[ 861.733198] r3 : 00000000 r2 : 00000000 r1 : c1765e80 r0 : edb74000
[ 861.739716] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 861.747015] Control: 10c5387d Table: 2c87004a DAC: 00000015
[ 861.752751] Process kpktgend_0 (pid: 938, stack limit = 0xee1782f0)
[ 861.759008] Stack: (0xee179c58 to 0xee17a000)
[ 861.763356] 9c40: ee179cb4 ee179c68
[ 861.771525] 9c60: c006cbdc ed633480 ed633480 edb7404e ed992e00 c077d800 00000000 edb74056
[ 861.779695] 9c80: ee179c9c ee179c90 c03fdfc0 c011c724 ee179cb4 ee179ca0 c03fece0 c03fdf6c
[ 861.787863] 9ca0: ed633480 ed633480 ee179ccc ee179cb8 c03fed24 c03fec30 00000001 ee264000
[ 861.796032] 9cc0: ee179ce4 ee179cd0 c03fee14 c03fed0c ee264000 ed633480 ee179d4c ee179ce8
[ 861.804201] 9ce0: c04678fc c03fede8 ee264000 00000001 600f0193 00000000 a532040a 0532040a
[ 861.812369] 9d00: c04f3dfc c00a3c3c 00000000 00000000 ee009950 00000070 00000001 00000000
[ 861.820538] 9d20: 00000001 ed633480 ee264000 c0754330 00000608 00000000 00000001 c0754350
[ 861.828707] 9d40: ee179d74 ee179d50 c0467f40 c0467898 ee009950 00f7291f 00000070 c0019c50
[ 861.836875] 9d60: ed633480 ee264000 ee179dcc ee179d78 c0408558 c0467e6c ee179dbc ee179d88
[ 861.845044] 9d80: c0019c50 c0754318 ee179db4 c001e1d8 ee179dbc ed633480 0000003c c0754350
[ 861.853213] 9da0: c1765e80 ed633480 00000000 00000001 ee845fc0 00000000 0000003c ed633480
[ 861.861381] 9dc0: ee179dfc ee179dd0 c0409414 c0407fa8 00000001 ee845fc0 ee179dfc c03744f4
[ 861.869550] 9de0: ee2644c0 00000000 00000001 ee2644c0 ee179e5c ee179e00 c0374514 c04093f4
[ 861.877719] 9e00: 00000000 ffffffff ee179e6c ee179e18 c04f4380 c00084f4 c0788c14 200f0013
[ 861.885887] 9e20: f0002000 ee26450c ee26450c 00000040 c0788bf0 ee26450c 00000001 00000000
[ 861.894055] 9e40: 0000012c c31bda80 c31bda80 00000040 ee179e9c ee179e60 c040b930 c0374184
[ 861.902224] 9e60: ee179e8c ee178000 0000db62 c31bda88 c001e410 00000001 00000003 0000000c
[ 861.910392] 9e80: c074c090 ee178000 ee178000 c074c08c ee179ee4 ee179ea0 c002e258 c040b7e4
[ 861.918561] 9ea0: 00000001 c001e118 ee179ecc 0000000a 00000000 00000101 c07525a0 600f0013
[ 861.926730] 9ec0: 00000000 edad7000 ed019c04 eda59000 ee178000 ed019c00 ee179efc ee179ee8
[ 861.934898] 9ee0: c002e518 c002e19c 00000008 ee178000 ee179f14 ee179f00 c002e5d8 c002e4c8
[ 861.943066] 9f00: eda59040 00000000 ee179f24 ee179f18 c04f407c c002e530 ee179fbc ee179f28
[ 861.951235] 9f20: bf0050fc c04f4058 8aa6cd54 00000062 c0748440 c0748440 0000b2e2 00000000
[ 861.959404] 9f40: ee179f5c ee179f50 ed019e20 ed019c00 3b9aca00 00000000 edad722c 00000008
[ 861.967572] 9f60: c0373078 000000c8 00000000 eda12a00 c0049560 ee179f74 ee179f74 0000035c
[ 861.975741] 9f80: 393915b6 c0049560 ee179f88 ee179f88 00000013 edb9bea0 ed019c00 bf004974
[ 861.983909] 9fa0: 00000013 00000000 00000000 00000000 ee179ff4 ee179fc0 c0048cc8 bf004980
[ 861.992077] 9fc0: 00000000 ed019c00 00000000 00000000 ee179fd0 ee179fd0 00000000 edb9bea0
[ 862.000246] 9fe0: c0048c30 c000f5b8 00000000 ee179ff8 c000f5b8 c0048c3c 00000000 00000000
[ 862.008425] [<c011c8a4>] (kfree+0x18c/0x1a0) from [<c03fdfc0>] (skb_free_head+0x60/0x6c)
[ 862.016513] [<c03fdfc0>] (skb_free_head+0x60/0x6c) from [<c03fece0>] (skb_release_data+0xbc/0xdc)
[ 862.025379] [<c03fece0>] (skb_release_data+0xbc/0xdc) from [<c03fed24>] (__kfree_skb+0x24/0xdc)
[ 862.034072] [<c03fed24>] (__kfree_skb+0x24/0xdc) from [<c03fee14>] (consume_skb+0x38/0x9c)
[ 862.042333] [<c03fee14>] (consume_skb+0x38/0x9c) from [<c04678fc>] (arp_process+0x70/0x5d4)
[ 862.050680] [<c04678fc>] (arp_process+0x70/0x5d4) from [<c0467f40>] (arp_rcv+0xe0/0x13c)
[ 862.058765] [<c0467f40>] (arp_rcv+0xe0/0x13c) from [<c0408558>] (__netif_receive_skb+0x5bc/0x658)
[ 862.067631] [<c0408558>] (__netif_receive_skb+0x5bc/0x658) from [<c0409414>] (netif_receive_skb+0x2c/0x9c)
[ 862.077279] [<c0409414>] (netif_receive_skb+0x2c/0x9c) from [<c0374514>] (xgmac_poll+0x39c/0x548)
[ 862.086147] [<c0374514>] (xgmac_poll+0x39c/0x548) from [<c040b930>] (net_rx_action+0x158/0x240)
[ 862.094842] [<c040b930>] (net_rx_action+0x158/0x240) from [<c002e258>] (__do_softirq+0xc8/0x1e0)
[ 862.103622] [<c002e258>] (__do_softirq+0xc8/0x1e0) from [<c002e518>] (do_softirq+0x5c/0x68)
[ 862.111967] [<c002e518>] (do_softirq+0x5c/0x68) from [<c002e5d8>] (local_bh_enable_ip+0xb4/0xc4)
[ 862.120751] [<c002e5d8>] (local_bh_enable_ip+0xb4/0xc4) from [<c04f407c>] (_raw_spin_unlock_bh+0x30/0x34)
[ 862.130322] [<c04f407c>] (_raw_spin_unlock_bh+0x30/0x34) from [<bf0050fc>] (pktgen_thread_worker+0x788/0x1498 [pktgen])
[ 862.141106] [<bf0050fc>] (pktgen_thread_worker+0x788/0x1498 [pktgen]) from [<c0048cc8>] (kthread+0x98/0xa4)
[ 862.150846] [<c0048cc8>] (kthread+0x98/0xa4) from [<c000f5b8>] (kernel_thread_exit+0x0/0x8)
[ 862.159191] Code: 0a000002 e1a00001 ebff4404 eaffffd6 (e7f001f2)
[ 862.165301] ---[ end trace 3ffb15eb959246d6 ]---
[ 862.169933] Kernel panic - not syncing: Fatal exception in interrupt
[ 862.176283] CPU1: stopping
[ 862.178997] [<c00163e8>] (unwind_backtrace+0x0/0x104) from [<c04ea1a8>] (dump_stack+0x20/0x24)
[ 862.187604] [<c04ea1a8>] (dump_stack+0x20/0x24) from [<c0014020>] (handle_IPI+0x134/0x16c)
[ 862.195863] [<c0014020>] (handle_IPI+0x134/0x16c) from [<c0008548>] (gic_handle_irq+0x60/0x68)
[ 862.204471] [<c0008548>] (gic_handle_irq+0x60/0x68) from [<c04f4380>] (__irq_svc+0x40/0x50)
[ 862.212812] Exception stack(0xed0f1ed0 to 0xed0f1f18)
[ 862.217854] 1ec0: 00000000 00000000 00000000 ed16f884
[ 862.226023] 1ee0: 00000000 00000000 edb32a00 ed1eba10 ed0f1f68 ed0f0000 000003e8 ed0f1f64
[ 862.234191] 1f00: 3b9aca00 ed0f1f18 c004d270 c002c97c 600f0013 ffffffff
[ 862.240801] [<c04f4380>] (__irq_svc+0x40/0x50) from [<c002c97c>] (do_setitimer+0x178/0x244)
[ 862.249145] [<c002c97c>] (do_setitimer+0x178/0x244) from [<c002cb40>] (sys_setitimer+0x7c/0x140)
[ 862.257926] [<c002cb40>] (sys_setitimer+0x7c/0x140) from [<c000e300>] (ret_fast_syscall+0x0/0x30)
[ 862.266787] CPU2: stopping
[ 862.269496] [<c00163e8>] (unwind_backtrace+0x0/0x104) from [<c04ea1a8>] (dump_stack+0x20/0x24)
[ 862.278101] [<c04ea1a8>] (dump_stack+0x20/0x24) from [<c0014020>] (handle_IPI+0x134/0x16c)
[ 862.286359] [<c0014020>] (handle_IPI+0x134/0x16c) from [<c0008548>] (gic_handle_irq+0x60/0x68)
[ 862.294965] [<c0008548>] (gic_handle_irq+0x60/0x68) from [<c04f4380>] (__irq_svc+0x40/0x50)
[ 862.303304] Exception stack(0xee0a3f60 to 0xee0a3fa8)
[ 862.308349] 3f60: 00000021 c0752b68 00000002 00000000 ee0a2000 ee0a2000 c0788708 c0758010
[ 862.316518] 3f80: ee0a2000 413fc090 c04fc4d8 ee0a3fb4 ee0a3fb8 ee0a3fa8 c000f664 c000f668
[ 862.324683] 3fa0: 60000013 ffffffff
[ 862.328169] [<c04f4380>] (__irq_svc+0x40/0x50) from [<c000f668>] (default_idle+0x38/0x40)
[ 862.336341] [<c000f668>] (default_idle+0x38/0x40) from [<c000f8b8>] (cpu_idle+0xa8/0xf4)
[ 862.344432] [<c000f8b8>] (cpu_idle+0xa8/0xf4) from [<c04e7394>] (secondary_start_kernel+0xf0/0x110)
[ 862.353471] [<c04e7394>] (secondary_start_kernel+0xf0/0x110) from [<004e6d54>] (0x4e6d54)
[ 862.361638] CPU3: stopping
[ 862.364347] [<c00163e8>] (unwind_backtrace+0x0/0x104) from [<c04ea1a8>] (dump_stack+0x20/0x24)
[ 862.372952] [<c04ea1a8>] (dump_stack+0x20/0x24) from [<c0014020>] (handle_IPI+0x134/0x16c)
[ 862.381209] [<c0014020>] (handle_IPI+0x134/0x16c) from [<c0008548>] (gic_handle_irq+0x60/0x68)
[ 862.389816] [<c0008548>] (gic_handle_irq+0x60/0x68) from [<c04f4380>] (__irq_svc+0x40/0x50)
[ 862.398156] Exception stack(0xee0a5f60 to 0xee0a5fa8)
[ 862.403200] 5f60: 00000022 c0752b68 00000003 00000000 ee0a4000 ee0a4000 c0788708 c0758010
[ 862.411369] 5f80: ee0a4000 413fc090 c04fc4d8 ee0a5fb4 ee0a5fb8 ee0a5fa8 c000f664 c000f668
[ 862.419535] 5fa0: 600f0013 ffffffff
[ 862.423021] [<c04f4380>] (__irq_svc+0x40/0x50) from [<c000f668>] (default_idle+0x38/0x40)
[ 862.431192] [<c000f668>] (default_idle+0x38/0x40) from [<c000f8b8>] (cpu_idle+0xa8/0xf4)
[ 862.439279] [<c000f8b8>] (cpu_idle+0xa8/0xf4) from [<c04e7394>] (secondary_start_kernel+0xf0/0x110)
[ 862.448318] [<c04e7394>] (secondary_start_kernel+0xf0/0x110) from [<004e6d54>] (0x4e6d54)

Revision history for this message
Ike Panhc (ikepanhc) wrote :
Revision history for this message
Ike Panhc (ikepanhc) wrote :

This happens only with pktgen

summary: - kernel oops with pktgen script
+ highbank kernel oops with pktgen script
Revision history for this message
Ike Panhc (ikepanhc) wrote : Re: highbank kernel oops with pktgen script

(gdb) list *kfree+0x18c
0xc011c8a4 is in kfree (/home/ikepanhc/linux-armadaxp-3.5.0/mm/slub.c:3477).
3472 page = virt_to_head_page(x);
3473 if (unlikely(!PageSlab(page))) {
3474 BUG_ON(!PageCompound(page));
3475 kmemleak_free(x);
3476 put_page(page);
3477 return;
3478 }
3479 slab_free(page->slab, page, object, _RET_IP_);
3480 }
3481 EXPORT_SYMBOL(kfree);

oops at return? stack broken?

penalvch (penalvch)
summary: - highbank kernel oops with pktgen script
+ [ARM] highbank kernel oops with pktgen script
Ike Panhc (ikepanhc)
Changed in linux (Ubuntu):
assignee: Ike Panhc (ikepanhc) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.