Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756029AbXIFIiS (ORCPT ); Thu, 6 Sep 2007 04:38:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753963AbXIFIiH (ORCPT ); Thu, 6 Sep 2007 04:38:07 -0400 Received: from hydra.gt.owl.de ([195.71.99.218]:38792 "EHLO hydra.gt.owl.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753970AbXIFIiG (ORCPT ); Thu, 6 Sep 2007 04:38:06 -0400 Date: Thu, 6 Sep 2007 10:38:04 +0200 From: Florian Lohoff To: Satyam Sharma Cc: Herbert Xu , Linux Kernel Mailing List , Netdev , linux-wireless@vger.kernel.org, Michal Piotrowski , ipw3945-devel@lists.sourceforge.net, yi.zhu@intel.com Subject: Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170 Message-ID: <20070906083804.GB20644@paradigm.rfc822.org> References: <20070902184439.GA14306@paradigm.rfc822.org> <6bffcb0e0709021659o3856cd06gabc054c949a84397@mail.gmail.com> <20070906082301.GB21929@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TakKZr9L6Hm6aLOc" Content-Disposition: inline In-Reply-To: Organization: rfc822 - pure communication X-SpiderMe: mh-200709061006@listme.rfc822.org User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1679 Lines: 52 --TakKZr9L6Hm6aLOc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 06, 2007 at 02:11:46PM +0530, Satyam Sharma wrote: > On Thu, 6 Sep 2007, Herbert Xu wrote: >=20 > > On Thu, Sep 06, 2007 at 10:32:33AM +0530, Satyam Sharma wrote: > > >=20 > > > > > [ 382.529041] [] dev_close+0x24/0x67 > > > > > [ 382.529052] [] ieee80211_master_stop+0x4a/0x6d [mac= 80211] > >=20 > > This is where the bug is. You cannot call dev_close from an > > atomic context as i33380211_master_stop does it within spin > > locks. >=20 > Doh, of course! I must be blind ... and wait_for_completion()'s > might_sleep() clearly didn't trigger earlier because Florian must've > had CONFIG_DEBUG_SPINLOCK_SLEEP off in his .config ... # CONFIG_DEBUG_SPINLOCK_SLEEP is not set Exactly ... Flo --=20 Florian Lohoff flo@rfc822.org +49-171-2280134 Those who would give up a little freedom to get a little=20 security shall soon have neither - Benjamin Franklin --TakKZr9L6Hm6aLOc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG37xsUaz2rXW+gJcRAi1SAKC7KncTgeJYtwDQFVhjhml5ucKshgCfS5GD PRtbaTuS2rBmcMMjwKMPjaE= =fIGc -----END PGP SIGNATURE----- --TakKZr9L6Hm6aLOc-- - 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/