lkml.org 
[lkml]   [2008]   [Jun]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 12 Jun 2008 14:18:30 +0900
SubjectRe: BUG: NULL pointer dereference at 00000000 -- IP: [<f8e783d5>] :b43:b43_dma_mapping_error+0x16/0x155
FromFUJITA Tomonori <>
On Wed, 11 Jun 2008 01:57:30 -0400
"Miles Lane" <miles.lane@gmail.com> wrote:

> > 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.

I think that Michael's patch should fix this bug, which is already in mmotm:

http://userweb.kernel.org/~akpm/mmotm/broken-out/dma-mapping-add-the-device-argument-to-dma_mapping_error-b34-fix.patch

Miles, are you sure that you use a kernel including the patch?


\
 
 \ /
  Last update: 2008-06-12 07:23    [from the cache]
©2003-2008