BCM5354

Chris Martin chris at martin.cc
Tue Jun 8 00:41:28 EDT 2010


2010/6/8 Gábor Stefanik <netrolller.3d at gmail.com>

>
> Try editing drivers/net/wireless/b43/dma.c, function dma_rx. Find the
> call to skb_put() (line 1576 in 2.6.34), and add the following code
> right before it (I'm not near a Linux machine right now to generate a
> patch):
> if (unlikely(skb->tail+len+ring->frameoffset > skb->end)) {
>        b43err(ring->dev->wl, "DMA RX: SKB overflow (len=%u, frameoffset=%u,
> skb free=%u\n", len, ring->frameoffset, skb->end-skb->tail);
>        goto drop;
> }
>
> This will make the panic go away, instead dropping the packet (though
> won't fix the error), and print a more meaningful error message to
> dmesg. Please post the dmesg output with this change.
>
> --
> Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
>

OK ..  thanks ..  I now received the following after booting

b43-phy0 ERROR: DMA RX: SKB overflow (len=2344, frameoffset=30, skb
free=2368
b43-phy0 ERROR: DMA RX buffer too small (len: 7534, buffer: 2352,
nr-dropped: 4)

cheers
----------------------------------------------------------
Chris Martin
m: 0419812371
----------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20100608/d88274ca/attachment.html>


More information about the b43-dev mailing list