Skip to content

Problems porting to linux-v3.10.106 #6

@dontfs

Description

@dontfs

I moved the code related to j1939 in linux-j1939d-v3.10 to my linux-v3.10.106 and the following error occurred while receiving the data.

[ 2464.970000] ------------[ cut here ]------------
[ 2464.970000] WARNING: at kernel/softirq.c:158 local_bh_enable+0x48/0xc4()
[ 2464.970000] Modules linked in: option usb_wwan
[ 2464.970000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.106 #18
[ 2464.970000] Backtrace:
[ 2464.970000] [] (dump_backtrace+0x0/0x104) from [] (show_stack+0x18/0x1c)
[ 2464.970000] r7:0000009e r6:c03923bd r5:00000009 r4:00000000
[ 2464.970000] [] (show_stack+0x0/0x1c) from [] (dump_stack+0x20/0x28)
[ 2464.970000] [] (dump_stack+0x0/0x28) from [] (warn_slowpath_common+0x54/0x70)
[ 2464.970000] [] (warn_slowpath_common+0x0/0x70) from [] (warn_slowpath_null+0x24/0x2c)
[ 2464.970000] r9:00000c00 r8:c26fc000 r7:000002d0 r6:c3934000 r5:c08ce104
r4:c0896000
[ 2464.970000] [] (warn_slowpath_null+0x0/0x2c) from [] (local_bh_enable+0x48/0xc4)
[ 2464.970000] [] (local_bh_enable+0x0/0xc4) from [] (j1939_can_recv+0x100/0x188)
[ 2464.970000] r5:c39342c0 r4:c10689c0
[ 2464.970000] [] (j1939_can_recv+0x0/0x188) from [] (can_rcv_filter+0xf4/0x1e8)
[ 2464.970000] r7:c1068c00 r6:c1134000 r5:9aff2b2c r4:00000000
[ 2464.970000] [] (can_rcv_filter+0x0/0x1e8) from [] (can_receive+0x90/0x9c)
[ 2464.970000] r9:00000c00 r8:c08a2bc0 r7:c380b800 r6:c1068c00 r5:00000000
r4:c08eb908
[ 2464.970000] [] (can_receive+0x0/0x9c) from [] (can_rcv+0x9c/0xbc)
[ 2464.970000] r7:c089e5f8 r6:c380b800 r5:00000000 r4:c1068c00
[ 2464.970000] [] (can_rcv+0x0/0xbc) from [] (__netif_receive_skb_core+0x398/0x50c)
[ 2464.970000] r5:00000000 r4:c02f68a4
[ 2464.970000] [] (__netif_receive_skb_core+0x0/0x50c) from [] (__netif_receive_skb+0x78/0x80)
[ 2464.970000] [] (__netif_receive_skb+0x0/0x80) from [] (netif_receive_skb+0x58/0x70)
[ 2464.970000] r5:c380bba0 r4:c1068c00
[ 2464.970000] [] (netif_receive_skb+0x0/0x70) from [] (c_can_do_rx_poll+0x324/0x54c)
[ 2464.970000] r4:c380b800
[ 2464.970000] [] (c_can_do_rx_poll+0x0/0x54c) from [] (c_can_isr+0x1f8/0x238)
[ 2464.970000] [] (c_can_isr+0x0/0x238) from [] (handle_irq_event_percpu+0x38/0x1a4)
[ 2464.970000] r7:00000000 r6:0000003a r5:c08a9da8 r4:c10dfc00
[ 2464.970000] [] (handle_irq_event_percpu+0x0/0x1a4) from [] (handle_irq_event+0x5c/0x7c)
[ 2464.970000] [] (handle_irq_event+0x0/0x7c) from [] (handle_level_irq+0x100/0x110)
[ 2464.970000] r5:0000003a r4:c08a9da8
[ 2464.970000] [] (handle_level_irq+0x0/0x110) from [] (generic_handle_irq+0x28/0x38)
[ 2464.970000] r5:0000003a r4:0000003a
[ 2464.970000] [] (generic_handle_irq+0x0/0x38) from [] (handle_IRQ+0x70/0x88)
[ 2464.970000] r5:0000003a r4:c08bef80
[ 2464.970000] [] (handle_IRQ+0x0/0x88) from [] (asm_do_IRQ+0x10/0x14)
[ 2464.970000] r7:c0897f6c r6:f0000000 r5:60000013 r4:c000f22c
[ 2464.970000] [] (asm_do_IRQ+0x0/0x14) from [] (__irq_svc+0x30/0x74)
[ 2464.970000] Exception stack(0xc0897f38 to 0xc0897f80)
[ 2464.970000] 7f20: 00000000 0005317f
[ 2464.970000] 7f40: 0005217f 60000013 c0896000 00000001 c089e000 ffffffff c0979080 c03fa048
[ 2464.970000] 7f60: 003f9044 c0897f8c 600000d3 c0897f80 c000f234 c000f22c 60000013 ffffffff
[ 2464.970000] [] (arch_cpu_idle+0x0/0x3c) from [] (cpu_startup_entry+0xa8/0xf8)
[ 2464.970000] [] (cpu_startup_entry+0x0/0xf8) from [] (rest_init+0x78/0x90)
[ 2464.970000] [] (rest_init+0x0/0x90) from [] (start_kernel+0x2a0/0x2fc)
[ 2464.970000] r5:00000001 r4:c089e0a8
[ 2464.970000] [] (start_kernel+0x0/0x2fc) from [<00008040>] (0x8040)
[ 2464.970000] ---[ end trace 26fb93d2df259c9a ]---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions