Chris Vine wrote:
> On Tue, 24 Nov 2009 10:50:13 -0500
> William Bourque <[email protected]> wrote:
> [snip]
>> I was using the B43 (GPL) driver but with the proprietary firmware
>> extracted from Broadcom crap with bfwcutter.
>> The proprietary driver provided by Broadcom (what you refer as wl?)
>> fails to even detect the card. They clearly hate their customers.
>
> I should be very surprised if it doesn't detect your card provided you
> are using the right driver (and if you haven't compiled and installed a
> driver called wl.ko then so far as the proprietary driver is concerned
> you aren't).
>
> If you want to take this further, you probably want to go to
> http://www.broadcom.com/support/802.11/linux_sta.php ,
> install the 32-bit or 64-bit driver according to your system, get the
> wl.ko driver working and then try warm booting from that and seeing if
> the b43 driver then works for you - it should. (You will need to copy
> wl.ko somewhere into your working module directory by hand - it doesn't
> really matter where - and after doing so run depmod -ae.)
>
> Note that this won't compile on 2.6.32-rc* without patching one of the
> files in the broadcom package, so it would probably be best to install
> it in a 2.6 31 (or earlier) kernel and warm boot from that.
>
So, I compiled the Broadcom proprietary driver (wl) against an old
2.6.32-rc5 that I still had.
The compilation went fine so I guess I don't need the patch after all :
r...@mini hybrid-broadcom # make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-2.6.32-rc5-homemade'
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in
/usr/local/hybrid-broadcom/wl.o
see include/linux/module.h for more information
make[1]: Leaving directory `/usr/src/linux-2.6.32-rc5-homemade'
..the module is copied at the right place and depmoded :
r...@mini hybrid-broadcom # cp wl.ko
/lib/modules/2.6.32-rc5-homemade/kernel/drivers/net/wireless/
r...@mini hybrid-broadcom # depmod -ae
WARNING: -e needs -E or -F
r...@mini hybrid-broadcom #
**The system is rebooted here**
r...@mini ~ # uname -a
Linux mini 2.6.32-rc5-homemade #1 SMP PREEMPT Fri Nov 13 04:15:41 EST
2009 i686 GNU/Linux
All others b43 drivers are blacklisted and does not load at boot :
r...@mini ~ # lsmod
Module Size Used by
ipv6 225039 18
wmi 4083 0
i2c_i801 7106 0
sky2 39059 0
evdev 6653 14
(Yes, very few modules, I like my kernel free of useless stuff).
Now we load wl (depmod and everything was done, the build went
correctly, I will probably output if needed) :
r...@mini ~ # modprobe wl
Lsmod shown the drivers is not in use :
r...@mini ~ # lsmod
Module Size Used by
wl 1262065 0
ipv6 225039 18
wmi 4083 0
i2c_i801 7106 0
sky2 39059 0
evdev 6653 14
Not much in dmesg either :
r...@mini ~ # dmesg | tail -5
[ 94.693445] sky2 eth0: Link is up at 100 Mbps, full duplex, flow
control rx
[ 94.693849] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 105.540193] eth0: no IPv6 routers present
[ 447.078683] wl: module license 'unspecified' taints kernel.
[ 447.078691] Disabling lock debugging due to kernel taint
As you can see, it does not :
r...@mini ~ # ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:24:81:5d:10:65
inet addr:142.133.110.63 Bcast:142.133.111.255
Mask:255.255.254.0
inet6 addr: fe80::224:81ff:fe5d:1065/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1670 errors:0 dropped:0 overruns:0 frame:0
TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:222383 (217.1 KiB) TX bytes:37989 (37.0 KiB)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:511 errors:0 dropped:0 overruns:0 frame:0
TX packets:511 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:96730 (94.4 KiB) TX bytes:96730 (94.4 KiB)
Conclusion :
The Broadcom proprietary driver (wl) FAILS to detect the card.
Feel free to point me any errors I could have made... I could try with
the 2.6.32-rc* patch if you'd like but the compilation went fine (no
error no warning).
- William
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev