2010-06-19 13:26:14

by Larry Finger

[permalink] [raw]
Subject: Re: Problems with b43 wirelesss

On 06/19/2010 07:35 AM, Magnus Therning wrote:
> 2010/6/19 Rafał Miłecki <[email protected]>:
>> You can Google for b43 & DMA errors. Simply try "pio" option for b43
>> module. Or switch to newer kernel, which will pick up pio for you
>> after first DMA error.
>
> Given the following messages in dmesg, I thought this was already happening:
>
> b43-phy0 ERROR: Fatal DMA error: 0x00000800, 0x00000000, 0x00000000,
> 0x00000000, 0x00000000, 0x00000000
> b43-phy0 ERROR: This device does not support DMA on your system.
> Please use PIO instead.
> b43-phy0: Controller RESET (DMA error) ...
> b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
> b43-phy0: Controller restarted
>
> I'm running the 2.6.33 (latest stable is 2.6.34), but I am using the
> latest daily (2010-06-17) from compat-wireless[1], so unless I'm
> missing something there isn't much to be gained from switching to the
> latest kernel. In any case I will try it to see if that improves the
> situation.
>
> My naive reading of the messages tells me that this *isn't* a DMA
> error... I also don't really understand how I could ever get an
> initial connection, which I do, if that were the problem I'm having.

No, it is a fatal DMA error and your device did switch to PIO mode. The
dmesg output does not make that clear. I'm sending a patch to change the
logged message.

> It looks like the following is more relevant to my problem:
>
> No probe response from AP 00:22:3f:c3:99:a8 after 500ms, disconnecting.
> cfg80211: Calling CRDA to update world regulatory domain
> wlan0: authenticate with 00:22:3f:c3:99:a8 (try 1)
> wlan0: authenticated
> wlan0: associate with 00:22:3f:c3:99:a8 (try 1)
> wlan0: RX AssocResp from 00:22:3f:c3:99:a8 (capab=0x431 status=0 aid=1)
> wlan0: associated
> wlan0: deauthenticated from 00:22:3f:c3:99:a8 (Reason: 15)
>
> Especially since that sequence of messages is repeated over an over.
>
> My next test will be to turn off all security on the wireless, just to
> rule out WPA completley.

I looked for an explanation of Reason 15 deauthentications. Perhaps
someone on the wireless ML will know the answer.

Larry




2010-06-20 16:57:45

by Magnus Therning

[permalink] [raw]
Subject: Re: Problems with b43 wirelesss

On Sat, Jun 19, 2010 at 14:26, Larry Finger <[email protected]> wrote:
[...]
> No, it is a fatal DMA error and your device did switch to PIO mode. The
> dmesg output does not make that clear. I'm sending a patch to change the
> logged message.

No, we are communicating past each other

You mean, it's fatal since it doesn't work with DMA.
I mean, it's not fatal because it realises it doesn't work with DMA
and restarts itself using PIO.

In any case, DMA *is not* the issue here AFAICS.

>> It looks like the following is more relevant to my problem:
>>
>> No probe response from AP 00:22:3f:c3:99:a8 after 500ms, disconnecting.
>> cfg80211: Calling CRDA to update world regulatory domain
>> wlan0: authenticate with 00:22:3f:c3:99:a8 (try 1)
>> wlan0: authenticated
>> wlan0: associate with 00:22:3f:c3:99:a8 (try 1)
>> wlan0: RX AssocResp from 00:22:3f:c3:99:a8 (capab=0x431 status=0 aid=1)
>> wlan0: associated
>> wlan0: deauthenticated from 00:22:3f:c3:99:a8 (Reason: 15)
>>
>> Especially since that sequence of messages is repeated over an over.
>>
>> My next test will be to turn off all security on the wireless, just to
>> rule out WPA completley.
>
> I looked for an explanation of Reason 15 deauthentications. Perhaps
> someone on the wireless ML will know the answer.

I'd be most interested in finding out what it means and the possible
cause for it.

/M

--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe