2007-12-23 01:46:05

by Shawn Tan

[permalink] [raw]
Subject: B43 not working

Hi,

B43 still doesn't work for me. Let me know if any additional information from
me will help.

dmesg:

[40699.800000] PCI: Setting latency timer of device 0000:30:00.0 to 64
[40699.840000] ssb: SPROM revision 3 detected.
[40699.860000] ssb: Sonics Silicon Backplane found on PCI device 0000:30:00.0
[40699.876000] b43-phy0: Broadcom 4311 WLAN found
[40700.044000] phy0: Failed to select rate control algorithm
[40700.044000] phy0: Failed to initialize rate control algorithm
[40700.080000] b43: probe of ssb0:0 failed with error -2

lspci -vvn:

30:00.0 0280: 14e4:4312 (rev 02)
Subsystem: 103c:1371
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at c8000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Capabilities: [58] Vendor Specific Information
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [d0] Express Endpoint IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
Device: Latency L0s <4us, L1 unlimited
Device: AtnBtn+ AtnInd+ PwrInd-
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s, Port 0
Link: Latency L0s <4us, L1 <64us
Link: ASPM L0s L1 Enabled RCB 64 bytes CommClk- ExtSynch-
Link: Speed 2.5Gb/s, Width x

--
with metta,
Shawn Tan

Centre for Advanced Photonics and Electronics
Department of Engineering, University of Cambridge
9 JJ Thomson Avenue, Cambridge CB3 0FA, UK.


2007-12-23 04:15:08

by Stefano Brivio

[permalink] [raw]
Subject: Re: B43 not working

On Sun, 23 Dec 2007 04:08:37 +0000
Shawn Tan <[email protected]> wrote:

> Yup, that's what I did. I downloaded the compat-wireless package and compiled
> it. However, it seems like there's a compatibility problem with the package
> modules and the default Ubuntu ones.
>
> When I try to load rc80211_simple, it loads the ubuntu one. The compat package
> doesn't build a rc80211_simple. So, if I load the ubuntu rate controller, it
> loads the ubuntu mac80211, which has similar symbol problems with the b43
> module.

You shouldn't need to load the rc80211_simple module which came with
Ubuntu. I think that the compat package comes with a rate control algorithm
built into mac80211 itself, so please just try to unload the Ubuntu
mac80211 and load the compat one. For sure Luis (the compat maintainer) has
more clues on this, anyway.


--
Ciao
Stefano

2007-12-23 02:23:42

by John W. Linville

[permalink] [raw]
Subject: Re: B43 not working

On Sun, Dec 23, 2007 at 01:17:35AM +0000, Shawn Tan wrote:
> Hi,
>
> B43 still doesn't work for me. Let me know if any additional information from
> me will help.
>
> dmesg:
>
> [40699.800000] PCI: Setting latency timer of device 0000:30:00.0 to 64
> [40699.840000] ssb: SPROM revision 3 detected.
> [40699.860000] ssb: Sonics Silicon Backplane found on PCI device 0000:30:00.0
> [40699.876000] b43-phy0: Broadcom 4311 WLAN found
> [40700.044000] phy0: Failed to select rate control algorithm
> [40700.044000] phy0: Failed to initialize rate control algorithm
> [40700.080000] b43: probe of ssb0:0 failed with error -2

You must be using an old tree. 'modprobe rc80211_simple' or use the
'everything' branch of a recent (last month or so) wireless-2.6.

Hth!

John
--
John W. Linville
[email protected]

2007-12-23 04:40:06

by Shawn Tan

[permalink] [raw]
Subject: Re: B43 not working

On Sunday 23 December 2007 04:14:05 Stefano Brivio wrote:
> You shouldn't need to load the rc80211_simple module which came with
> Ubuntu. I think that the compat package comes with a rate control algorithm
> built into mac80211 itself, so please just try to unload the Ubuntu
> mac80211 and load the compat one. For sure Luis (the compat maintainer) has
> more clues on this, anyway.

Yes, that's what I did initially. (1) download latest compat-wireless archive
from the website (2) make; make install (3) make unload; make load. And the
result is what I got in the original message, i.e. b43 "failed to select rate
control algorithm".

John suggested that I modprobe rc80211_simple, which tries to load the ubuntu
rc80211 module that complains about symbol version problems. If I try loading
rc80211 before I load b43, it loads, but then b43 suffers from the symbol
problems instead.

Cheers.

--
with metta,
Shawn Tan

Centre for Advanced Photonics and Electronics
Department of Engineering, University of Cambridge
9 JJ Thomson Avenue, Cambridge CB3 0FA, UK.

2007-12-23 03:18:41

by Stefano Brivio

[permalink] [raw]
Subject: Re: B43 not working

On Sun, 23 Dec 2007 01:17:35 +0000
Shawn Tan <[email protected]> wrote:

> 30:00.0 0280: 14e4:4312 (rev 02)

You need a wireless-2.6 tree including this commit:
commit ef63d02426e1f0157e049240c2be87c92e64afa1
Author: Larry Finger <[email protected]>
Date: Mon Nov 26 10:29:47 2007 -0600

You can just grab the tree/branch John suggested, or, in case you don't
want to mess with git and a complete kernel rebuild, please see:
http://linuxwireless.org/en/users/Download


--
Ciao
Stefano

2007-12-23 04:08:40

by Shawn Tan

[permalink] [raw]
Subject: Re: B43 not working

On Sunday 23 December 2007 03:17:39 Stefano Brivio wrote:
> You can just grab the tree/branch John suggested, or, in case you don't
> want to mess with git and a complete kernel rebuild, please see:
> http://linuxwireless.org/en/users/Download

Yup, that's what I did. I downloaded the compat-wireless package and compiled
it. However, it seems like there's a compatibility problem with the package
modules and the default Ubuntu ones.

When I try to load rc80211_simple, it loads the ubuntu one. The compat package
doesn't build a rc80211_simple. So, if I load the ubuntu rate controller, it
loads the ubuntu mac80211, which has similar symbol problems with the b43
module.

Oh yea, I'm using the ubuntu 2.6.22 kernel. I guess I should just be patient,
wait a few more weeks for 2.6.24 and try that instead.

Errors when loading the ubuntu rc80211_simple:

[ 2245.492000] rc80211_simple: disagrees about version of symbol sta_info_put
[ 2245.492000] rc80211_simple: Unknown symbol sta_info_put
[ 2245.492000] rc80211_simple: disagrees about version of symbol
ieee80211_rate_control_unregister
[ 2245.492000] rc80211_simple: Unknown symbol
ieee80211_rate_control_unregister
[ 2245.492000] rc80211_simple: disagrees about version of symbol
ieee80211_rate_control_register
[ 2245.492000] rc80211_simple: Unknown symbol ieee80211_rate_control_register
[ 2245.492000] rc80211_simple: disagrees about version of symbol sta_info_get
[ 2245.492000] rc80211_simple: Unknown symbol sta_info_get

Cheers.

--
with metta,
Shawn Tan

Centre for Advanced Photonics and Electronics
Department of Engineering, University of Cambridge
9 JJ Thomson Avenue, Cambridge CB3 0FA, UK.