Hello,

Hopefully this is the right list for this post, please let me know if not.

I am running linux 3.7.0-rc6 on a freescale imx28-evk dev board and am
seeing the following deadlock warning when I try to bring up the lowpan
interface via
'ifconfig lowpan0 up' . I am using the 802.15.4 radio module MRF24J40 with
corresponding driver.

Let me know if there are any fixes I can test on my board or if you need
any more info.

-Randy


dmesg output:

[  948.720000] [ INFO: possible recursive locking detected ]
[  948.720000] 3.7.0-rc6 #8 Not tainted
[  948.720000] ---------------------------------------------
[  948.720000] swapper/0 is trying to acquire lock:
[  948.720000]  (_xmit_IEEE802154#2){+.-...}, at: [<c02fabf4>]
sch_direct_xmit+0x9c/0x2e4
[  948.720000]
[  948.720000] but task is already holding lock:
[  948.720000]  (_xmit_IEEE802154#2){+.-...}, at: [<c02e4f4c>]
dev_queue_xmit+0x374/0x54c
[  948.720000]
[  948.720000] other info that might help us debug this:
[  948.720000]  Possible unsafe locking scenario:
[  948.720000]
[  948.720000]        CPU0
[  948.720000]        ----
[  948.720000]   lock(_xmit_IEEE802154#2);
[  948.720000]   lock(_xmit_IEEE802154#2);
[  948.720000]
[  948.720000]  *** DEADLOCK ***
[  948.720000]
[  948.720000]  May be due to missing lock nesting notation
[  948.720000]
[  948.720000] 5 locks held by swapper/0:
[  948.720000]  #0:  (((&idev->mc_ifc_timer))){+.-.+.}, at: [<c002c6c0>]
call_timer_fn+0x0/0x160
[  948.720000]  #1:  (rcu_read_lock){.+.+.+}, at: [<c03739a8>]
mld_sendpack+0x0/0x384
[  948.720000]  #2:  (rcu_read_lock_bh){.+....}, at: [<c02e4bd8>]
dev_queue_xmit+0x0/0x54c
[  948.720000]  #3:  (_xmit_IEEE802154#2){+.-...}, at: [<c02e4f4c>]
dev_queue_xmit+0x374/0x54c
[  948.720000]  #4:  (rcu_read_lock_bh){.+....}, at: [<c02e4bd8>]
dev_queue_xmit+0x0/0x54c
[  948.720000]
[  948.720000] stack backtrace:
[  948.720000] [<c001516c>] (unwind_backtrace+0x0/0xf4) from [<c005f5ac>]
(validate_chain+0xcd8/0x1084)
[  948.720000] [<c005f5ac>] (validate_chain+0xcd8/0x1084) from [<c005ff60>]
(__lock_acquire+0x608/0xbe4)
[  948.720000] [<c005ff60>] (__lock_acquire+0x608/0xbe4) from [<c00605dc>]
(lock_acquire+0xa0/0x108)
[  948.720000] [<c00605dc>] (lock_acquire+0xa0/0x108) from [<c03f2c4c>]
(_raw_spin_lock+0x2c/0x3c)
[  948.720000] [<c03f2c4c>] (_raw_spin_lock+0x2c/0x3c) from [<c02fabf4>]
(sch_direct_xmit+0x9c/0x2e4)
[  948.720000] [<c02fabf4>] (sch_direct_xmit+0x9c/0x2e4) from [<c02e4d5c>]
(dev_queue_xmit+0x184/0x54c)
[  948.720000] [<c02e4d5c>] (dev_queue_xmit+0x184/0x54c) from [<c03ce140>]
(lowpan_xmit+0x108/0x114)
[  948.720000] [<c03ce140>] (lowpan_xmit+0x108/0x114) from [<c02e4944>]
(dev_hard_start_xmit+0x28c/0x520)
[  948.720000] [<c02e4944>] (dev_hard_start_xmit+0x28c/0x520) from
[<c02e4ebc>] (dev_queue_xmit+0x2e4/0x54c)
[  948.720000] [<c02e4ebc>] (dev_queue_xmit+0x2e4/0x54c) from [<c0359ce0>]
(ip6_finish_output2+0xd0/0x3d4)
[  948.720000] [<c0359ce0>] (ip6_finish_output2+0xd0/0x3d4) from
[<c0373b3c>] (mld_sendpack+0x194/0x384)
[  948.720000] [<c0373b3c>] (mld_sendpack+0x194/0x384) from [<c037588c>]
(mld_ifc_timer_expire+0x2b4/0x334)
[  948.720000] [<c037588c>] (mld_ifc_timer_expire+0x2b4/0x334) from
[<c002c73c>] (call_timer_fn+0x7c/0x160)
[  948.720000] [<c002c73c>] (call_timer_fn+0x7c/0x160) from [<c002ca10>]
(run_timer_softirq+0x1f0/0x260)
[  948.720000] [<c002ca10>] (run_timer_softirq+0x1f0/0x260) from
[<c0025de0>] (__do_softirq+0xbc/0x220)
[  948.720000] [<c0025de0>] (__do_softirq+0xbc/0x220) from [<c0026034>]
(irq_exit+0x8c/0x94)
[  948.720000] [<c0026034>] (irq_exit+0x8c/0x94) from [<c00100c0>]
(handle_IRQ+0x34/0x84)
[  948.720000] [<c00100c0>] (handle_IRQ+0x34/0x84) from [<c00086ec>]
(icoll_handle_irq+0x30/0x44)
[  948.720000] [<c00086ec>] (icoll_handle_irq+0x30/0x44) from [<c000ee24>]
(__irq_svc+0x44/0x54)
[  948.720000] Exception stack(0xc0591f68 to 0xc0591fb0)
[  948.720000] 1f60:                   00000001 00000001 00000000 20000013
c0590000 c05ce6c8
[  948.720000] 1f80: c059cac8 7fffffff 40004000 41069265 40586f74 00000000
600000d3 c0591fb0
[  948.720000] 1fa0: c005d13c c00102bc 20000013 ffffffff
[  948.720000] [<c000ee24>] (__irq_svc+0x44/0x54) from [<c00102bc>]
(default_idle+0x40/0x48)
[  948.720000] [<c00102bc>] (default_idle+0x40/0x48) from [<c00105b8>]
(cpu_idle+0x68/0xd0)
[  948.720000] [<c00105b8>] (cpu_idle+0x68/0xd0) from [<c056a65c>]
(start_kernel+0x258/0x298)
[  949.330000] BUG: scheduling while atomic: swapper/0/0x40000100
[  949.350000] INFO: lockdep is turned off.
[  949.360000] Modules linked in:
[  949.370000] [<c001516c>] (unwind_backtrace+0x0/0xf4) from [<c004ad78>]
(__schedule_bug+0x58/0x78)
[  949.380000] [<c004ad78>] (__schedule_bug+0x58/0x78) from [<c03f1fbc>]
(__schedule+0x4a4/0x570)
[  949.390000] [<c03f1fbc>] (__schedule+0x4a4/0x570) from [<c03f2138>]
(_cond_resched+0x40/0x54)
[  949.400000] [<c03f2138>] (_cond_resched+0x40/0x54) from [<c00cebf0>]
(kmem_cache_alloc_trace+0xcc/0x158)
[  949.420000] [<c00cebf0>] (kmem_cache_alloc_trace+0xcc/0x158) from
[<c03cccf0>] (lowpan_header_create+0x4c/0x638)
[  949.450000] [<c03cccf0>] (lowpan_header_create+0x4c/0x638) from
[<c02ee5cc>] (neigh_connected_output+0xa0/0xf8)
[  949.470000] [<c02ee5cc>] (neigh_connected_output+0xa0/0xf8) from
[<c0359ce0>] (ip6_finish_output2+0xd0/0x3d4)
[  949.490000] [<c0359ce0>] (ip6_finish_output2+0xd0/0x3d4) from
[<c036a188>] (ndisc_send_skb+0x12c/0x260)
[  949.510000] [<c036a188>] (ndisc_send_skb+0x12c/0x260) from [<c036a6ec>]
(ndisc_send_ns+0x78/0xa8)
[  949.520000] [<c036a6ec>] (ndisc_send_ns+0x78/0xa8) from [<c035e514>]
(addrconf_dad_timer+0x148/0x160)
[  949.540000] [<c035e514>] (addrconf_dad_timer+0x148/0x160) from
[<c002c73c>] (call_timer_fn+0x7c/0x160)
[  949.570000] [<c002c73c>] (call_timer_fn+0x7c/0x160) from [<c002ca10>]
(run_timer_softirq+0x1f0/0x260)
[  949.590000] [<c002ca10>] (run_timer_softirq+0x1f0/0x260) from
[<c0025de0>] (__do_softirq+0xbc/0x220)
[  949.620000] [<c0025de0>] (__do_softirq+0xbc/0x220) from [<c0026034>]
(irq_exit+0x8c/0x94)
[  949.630000] [<c0026034>] (irq_exit+0x8c/0x94) from [<c00100c0>]
(handle_IRQ+0x34/0x84)
[  949.640000] [<c00100c0>] (handle_IRQ+0x34/0x84) from [<c00086ec>]
(icoll_handle_irq+0x30/0x44)
[  949.650000] [<c00086ec>] (icoll_handle_irq+0x30/0x44) from [<c000ee24>]
(__irq_svc+0x44/0x54)
[  949.670000] Exception stack(0xc0591f68 to 0xc0591fb0)
[  949.680000] 1f60:                   00000001 00000001 00000000 20000013
c0590000 c05ce6c8
[  949.690000] 1f80: c059cac8 7fffffff 40004000 41069265 40586f74 00000000
600000d3 c0591fb0
[  949.710000] 1fa0: c005d13c c00102bc 20000013 ffffffff
[  949.720000] [<c000ee24>] (__irq_svc+0x44/0x54) from [<c00102bc>]
(default_idle+0x40/0x48)
[  949.730000] [<c00102bc>] (default_idle+0x40/0x48) from [<c00105b8>]
(cpu_idle+0x68/0xd0)
[  949.740000] [<c00105b8>] (cpu_idle+0x68/0xd0) from [<c056a65c>]
(start_kernel+0x258/0x298)
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to