Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761002AbYG3JsP (ORCPT ); Wed, 30 Jul 2008 05:48:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754582AbYG3Jr4 (ORCPT ); Wed, 30 Jul 2008 05:47:56 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:51708 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753097AbYG3Jry (ORCPT ); Wed, 30 Jul 2008 05:47:54 -0400 Date: Wed, 30 Jul 2008 02:47:24 -0700 From: Andrew Morton To: "Zdenek Kabelac" Cc: "Linux Kernel Mailing List" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: INFO: possible recursive locking detected dev_deactivate Message-Id: <20080730024724.519f0662.akpm@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3454 Lines: 84 (cc's added) On Tue, 29 Jul 2008 13:53:39 +0200 "Zdenek Kabelac" 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: [] dev_deactivate+0x82/0x150 > > but task is already holding lock: > (_xmit_IEEE80211#2){-...}, at: [] dev_deactivate+0x82/0x150 > > other info that might help us debug this: > 2 locks held by NetworkManager/2623: > #0: (rtnl_mutex){--..}, at: [] rtnetlink_rcv+0x1a/0x40 > #1: (_xmit_IEEE80211#2){-...}, at: [] > dev_deactivate+0x82/0x150 > > stack backtrace: > Pid: 2623, comm: NetworkManager Not tainted 2.6.26 #47 > > Call Trace: > [] __lock_acquire+0xcea/0x13b0 > [] ? mark_held_locks+0x4d/0x90 > [] ? get_lock_stats+0x34/0x70 > [] ? dev_deactivate+0x82/0x150 > [] lock_acquire+0x96/0xe0 > [] ? dev_deactivate+0x82/0x150 > [] _spin_lock+0x31/0x60 > [] dev_deactivate+0x82/0x150 > [] dev_close+0x65/0xc0 > [] ieee80211_stop+0x339/0x4e0 [mac80211] > [] dev_close+0x76/0xc0 > [] dev_change_flags+0xa1/0x1e0 > [] do_setlink+0x214/0x3a0 > [] ? sub_preempt_count+0x80/0x120 > [] ? _read_unlock+0x30/0x60 > [] rtnl_setlink+0x10d/0x150 > [] rtnetlink_rcv_msg+0x18d/0x240 > [] ? rtnetlink_rcv_msg+0x0/0x240 > [] netlink_rcv_skb+0x89/0xb0 > [] rtnetlink_rcv+0x29/0x40 > [] netlink_unicast+0x2cd/0x2e0 > [] ? __alloc_skb+0x6e/0x150 > [] netlink_sendmsg+0x204/0x300 > [] ? _read_unlock+0x4e/0x60 > [] sock_sendmsg+0x127/0x140 > [] ? autoremove_wake_function+0x0/0x40 > [] ? trace_hardirqs_on+0xd/0x10 > [] ? trace_hardirqs_on_caller+0x14b/0x1b0 > [] ? move_addr_to_kernel+0x57/0x60 > [] ? verify_iovec+0x3f/0xe0 > [] sys_sendmsg+0x189/0x320 > [] ? sys_sendto+0xfd/0x120 > [] ? d_free+0x6c/0x80 > [] ? __fput+0x171/0x1c0 > [] ? trace_hardirqs_on_caller+0x14b/0x1b0 > [] ? trace_hardirqs_on_thunk+0x3a/0x3f > [] system_call_fastpath+0x16/0x1b > > iwl3945 0000:03:00.0: PCI INT A disabled -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/