Return-path: Received: from wa-out-1112.google.com ([209.85.146.182]:44904 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752170AbYFKF5a (ORCPT ); Wed, 11 Jun 2008 01:57:30 -0400 Received: by wa-out-1112.google.com with SMTP id j37so2405163waf.23 for ; Tue, 10 Jun 2008 22:57:30 -0700 (PDT) Message-ID: (sfid-20080611_075734_995470_E5C94A95) Date: Wed, 11 Jun 2008 01:57:30 -0400 From: "Miles Lane" To: "Larry Finger" Subject: Re: BUG: NULL pointer dereference at 00000000 -- IP: [] :b43:b43_dma_mapping_error+0x16/0x155 Cc: "Michael Buesch" , "Vegard Nossum" , "Andrew Morton" , "Linux Kernel Mailing List" , linux-wireless , "FUJITA Tomonori" In-Reply-To: <484F5DB2.4050705@lwfinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <200806101637.11473.mb@bu3sch.de> <19f34abd0806100742v176f50e8se463d2e70df44332@mail.gmail.com> <200806101650.27180.mb@bu3sch.de> <484F0AF7.6060008@lwfinger.net> <484F5DB2.4050705@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org List-ID: > The line that fails is > > if (unlikely(dma_mapping_error(ring->dev->dev->dma_dev, addr))) > > The value at 0x58(%eax) is zero, which corresponds to the "struct b43_wldev > *dev" line in struct b43_dmaring. In other words, ring->dev is NULL, which > causes the error. I'll leave it to FUJITA Tomonori to figure out why. Thanks all, I might have time in the morning to test one more patch, otherwise I will be back in about three weeks. Best wishes, Miles