Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755898AbYGUVGX (ORCPT ); Mon, 21 Jul 2008 17:06:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753310AbYGUVGL (ORCPT ); Mon, 21 Jul 2008 17:06:11 -0400 Received: from stinky.trash.net ([213.144.137.162]:47989 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752307AbYGUVGK (ORCPT ); Mon, 21 Jul 2008 17:06:10 -0400 Message-ID: <4884FA3F.70109@trash.net> Date: Mon, 21 Jul 2008 23:06:07 +0200 From: Patrick McHardy User-Agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080405) MIME-Version: 1.0 To: David Miller CC: Larry.Finger@lwfinger.net, mingo@elte.hu, ischram@telenet.be, torvalds@linux-foundation.org, akpm@linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, j@w1.fi Subject: Re: [crash] BUG: unable to handle kernel NULL pointer dereference at 0000000000000370 References: <4884F3D7.4070604@lwfinger.net> <20080721.134608.75595942.davem@davemloft.net> <4884F6E9.6090809@trash.net> <20080721.140120.135667045.davem@davemloft.net> In-Reply-To: <20080721.140120.135667045.davem@davemloft.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1424 Lines: 38 David Miller wrote: > From: Patrick McHardy > Date: Mon, 21 Jul 2008 22:51:53 +0200 > >> David Miller wrote: >>> From: Larry Finger >>> Date: Mon, 21 Jul 2008 15:38:47 -0500 >>> >>>> David Miller wrote: >>>>> No further backtrace? That will tell us what driver is causing >>>>> this. >>>> Yes, I have a full backtrace. >>>> >>>> It starts with possible recursive locking in NetworkManager, and goes directly >>>> into the Warning - this came from a later pull of Linus's tree. >>> That helps a lot, I'm looking at this now. >> I'm guessing this needs similar lockdep class initializations >> to _xmit_lock since it essentially has the same nesting rules. > > Yes, I figured that out just now :-) > > Maybe something like the following should do it? It looks correct in any case. I'm not sure whether it fixes this lockdep warning though, according to the backtrace and module list its b43 and dev_mc_sync in net/mac80211/main.c that are causing the error, which don't seem to be included in your patch. I'm unable to find where it previously initialized the xmit_lock lockdep class though, so I must be missing something :) -- 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/