From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754790AbYEaRzZ (ORCPT ); Sat, 31 May 2008 13:55:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753049AbYEaRzN (ORCPT ); Sat, 31 May 2008 13:55:13 -0400 Received: from vs166246.vserver.de ([62.75.166.246]:36706 "EHLO vs166246.vserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752950AbYEaRzM convert rfc822-to-8bit (ORCPT ); Sat, 31 May 2008 13:55:12 -0400 From: Michael Buesch To: Pavel Roskin Subject: Re: Wireless-testing's b43 panics in b43_generate_txhdr on packet transmit Date: Sat, 31 May 2008 19:54:46 +0200 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Cc: Stefanik =?iso-8859-1?q?G=E1bor?= , linux-wireless , "bcm43xx-dev@lists.berlios.de" , linux-kernel@vger.kernel.org, Johannes Berg References: <69e28c910805310723j2b721030x2609cc9e866abafa@mail.gmail.com> <200805311841.46740.mb@bu3sch.de> <1212252636.2766.10.camel@rd> In-Reply-To: <1212252636.2766.10.camel@rd> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200805311954.46639.mb@bu3sch.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 31 May 2008 18:50:36 Pavel Roskin wrote: > On Sat, 2008-05-31 at 18:41 +0200, Michael Buesch wrote: > > On Saturday 31 May 2008 18:34:29 Stefanik Gábor wrote: > > > "BUG: unable to handle kernel NULL pointer dereference at 00000004 > > > IP: [] :b43:b43_generate_txhdr+0x6a9/0x790 > > > > So can you put a few printks into the function to see where it dereferences > > a NULL pointer? (or use gdb to lookup the offset). > > u8 key_idx = info->control.hw_key->hw_key_idx; > > info->control.hw_key is NULL. Is a NULL pointer supposed to tell "do not encrypt", or is this a mac80211 bug? -- Greetings Michael.