2010-02-27 20:15:15

by Nathan Schulte

[permalink] [raw]
Subject: Re: Make b43 driver fall back gracefully to PIO mode after fatal DMA errors

Michael Buesch <mb@...> writes:
> Please check if the following patch makes any difference.
> Also please show me the result of the printks.

I applied your modifications to 2.6.33 vanilla and they did not resolve the
issue for me. My logs are as follows:

[ 63.831811] b43-pci-bridge 0000:06:00.0: PCI INT A -> GSI 19 (level, low) ->
IRQ 19
[ 63.832210] b43-pci-bridge 0000:06:00.0: setting latency timer to 64
[ 63.840750] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x16, vendor 0x4243)
[ 63.840776] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x0F, vendor 0x4243)
[ 63.840800] ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x0A, vendor 0x4243)
[ 63.840823] ssb: Core 3 found: PCI-E (cc 0x820, rev 0x09, vendor 0x4243)
[ 63.848426] PMU res init 4312/4322
[ 63.865510] ssb: Sonics Silicon Backplane found on PCI device 0000:06:00.0
[ 63.891491] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
[ 63.920485] phy0: Selected rate control algorithm 'minstrel'
[ 63.923025] Registered led device: b43-phy0::tx
[ 63.923624] Registered led device: b43-phy0::rx
[ 63.924105] Registered led device: b43-phy0::radio
[ 63.924749] Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
[ 68.014700] b43 ssb0:0: firmware: requesting b43/ucode15.fw
[ 68.101055] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
[ 68.116067] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
[ 68.359461] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
[ 68.363765] Set LDO 4312
[ 68.363878] Set LDO paref
[ 69.775354] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 70.363498] b43-phy0 ERROR: Fatal DMA error: 0x00000800, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000
[ 70.363514] b43-phy0 ERROR: This device does not support DMA on your system.
Please use PIO instead.
[ 70.363522] b43-phy0 ERROR: CONFIG_B43_FORCE_PIO must be set in your kernel
configuration.
[ 77.437270] wlan0: direct probe to AP 00:1c:f0:e8:e2:13 (try 1)
[ 77.637152] wlan0: direct probe to AP 00:1c:f0:e8:e2:13 (try 2)
[ 77.837166] wlan0: direct probe to AP 00:1c:f0:e8:e2:13 (try 3)
[ 78.037074] wlan0: direct probe to AP 00:1c:f0:e8:e2:13 timed out
[ 101.047357] b43-pci-bridge 0000:06:00.0: PCI INT A disabled

-Nate