Re: INFO: possible recursive locking detected dev_deactivate
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2008-07-30 09:48:15
(cc's added) On Tue, 29 Jul 2008 13:53:39 +0200 "Zdenek Kabelac" [off-list ref] wrote:
Hi
With kernel from yesterdays' git (08/07/28) (sorry I've already
deleted any traces for more precise commit number) - I've just found
the bactrace in the log running already today's 2.6.27-rc1.
Happened during the reboot of 2.6.26
As usually T61, 2GB, C2D
(wlan0): now unmanaged
(wlan0): device state change: 3 -> 1
(wlan0): cleaning up...
(wlan0): taking down device.
=============================================
[ INFO: possible recursive locking detected ]
2.6.26 #47
---------------------------------------------
NetworkManager/2623 is trying to acquire lock:
(_xmit_IEEE80211#2){-...}, at: [<ffffffff812a3cd2>] dev_deactivate+0x82/0x150
but task is already holding lock:
(_xmit_IEEE80211#2){-...}, at: [<ffffffff812a3cd2>] dev_deactivate+0x82/0x150
other info that might help us debug this:
2 locks held by NetworkManager/2623:
#0: (rtnl_mutex){--..}, at: [<ffffffff8129ca0a>] rtnetlink_rcv+0x1a/0x40
#1: (_xmit_IEEE80211#2){-...}, at: [<ffffffff812a3cd2>]
dev_deactivate+0x82/0x150
stack backtrace:
Pid: 2623, comm: NetworkManager Not tainted 2.6.26 #47
Call Trace:
[<ffffffff81068b4a>] __lock_acquire+0xcea/0x13b0
[<ffffffff810674fd>] ? mark_held_locks+0x4d/0x90
[<ffffffff810657a4>] ? get_lock_stats+0x34/0x70
[<ffffffff812a3cd2>] ? dev_deactivate+0x82/0x150
[<ffffffff810692a6>] lock_acquire+0x96/0xe0
[<ffffffff812a3cd2>] ? dev_deactivate+0x82/0x150