From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from main.gmane.org ([80.91.229.2]:39032 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759099AbYFXPKF (ORCPT ); Tue, 24 Jun 2008 11:10:05 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KBA9j-000543-2W for linux-wireless@vger.kernel.org; Tue, 24 Jun 2008 15:10:03 +0000 Received: from avu243.neoplus.adsl.tpnet.pl ([83.27.54.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jun 2008 15:10:03 +0000 Received: from jarkao2 by avu243.neoplus.adsl.tpnet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jun 2008 15:10:03 +0000 To: linux-wireless@vger.kernel.org From: Jarek Poplawski Subject: Re: iw lockdep warning on wireless-testing Date: Tue, 24 Jun 2008 17:03:19 +0200 Message-ID: <48610CB7.5030705@gmail.com> (sfid-20080624_171009_951140_9C9FD773) References: <1214293174.14590.229.camel@debian.sh.intel.com> (sfid-20080624_094030_856715_6751BF69) <1214297955.8967.258.camel@johannes.berg> <1214298350.14590.238.camel@debian.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 In-Reply-To: <1214298350.14590.238.camel@debian.sh.intel.com> Cc: netdev@vger.kernel.org Sender: linux-wireless-owner@vger.kernel.org List-ID: Zhu Yi wrote, On 06/24/2008 11:05 AM: > On Tue, 2008-06-24 at 10:59 +0200, Johannes Berg wrote: >>> [ INFO: possible circular locking dependency detected ] >>> 2.6.26-rc6-wl #57 >>> ------------------------------------------------------- >>> iw/2763 is trying to acquire lock: >>> (genl_mutex){--..}, at: [] ctrl_dumpfamily >> +0x31/0xf7 >>> but task is already holding lock: >>> (nlk->cb_mutex){--..}, at: [] netlink_dump >> +0x40/0x19d >>> which lock already depends on the new lock. >> None of those is anything nl80211 has influence over, afaict. > > Agreed. I can follow the two scenarios below. Apparently it's a ABBA > locking issue. Just don't know which should be the correct sequence for > using with the two locks. > It should be fixed by this patch: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6d1a3fb567a728d31474636e167c324702a0c38b Regards, Jarek P.