[SOLVED] Broadcom bcm43 wireless need help with firmware

Issues related to hardware problems
Post Reply
justasec
Posts: 2
Joined: 2010/06/11 13:42:26
Contact:

[SOLVED] Broadcom bcm43 wireless need help with firmware

Post by justasec » 2010/06/11 14:12:03

Hello! I have been visiting here off and on for quite a while. About time I log in. :-D

Looking for help getting my Broadcom onboard wireless going. I have installed a dual boot configeration of WinXP and Centos 5.5 on my HP Pavilion dv5240ca (dv5000). Since it has a 2.0GHz AMD Turion™ 64 Mobile processor I went ahead and installed Centos 5.5 x86_64.

Everything that I care about is working fine except for the wireless! What I have tried so far is mostly from this page:
http://wireless.kernel.org/en/users/Drivers/b43

Here is some system info.

Identifying the chipset and if it is supported.
$ /sbin/lspci -vnn | grep 14e4
06:02.0 0280: 14e4:4318 (rev 02)

PCI-ID: 14e4:4318
Chip: BCM4318 is supported
Modes: b/g
PHY ver: G
driver: b43

$ uname -r
2.6.18-194.3.1.el5

$ cat /etc/issue
CentOS release 5.5 (Final)
Kernel \r on an \m

$ /sbin/lsmod | grep bcm43
bcm43xx 464609 0
ieee80211softmac 65857 1 bcm43xx
ieee80211 66185 2 bcm43xx,ieee80211softmac

aliases from /etc/modprobe.conf
alias eth0 8139too <---wired
alias eth1 bcm43xx <---wireless

$ /sbin/iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11b/g ESSID:"" Nickname:"localhost.localdomain"
Mode:Managed Access Point: Invalid
RTS thr:off Fragment thr:off
Link Quality=0/100 Signal level=-256 dBm Noise level=-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

sit0 no wireless extensions.


What happens at boot?

$ dmesg | grep bcm
bcm43xx driver
bcm43xx: Chip ID 0x4318, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243
bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243
bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 3, Type 2, Revision 7
bcm43xx: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx: Radio initialized
bcm43xx: Radio initialized
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: PHY connected
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0


...and the log when I try to activate the card?

# tail -f /var/log/messages

Jun 11 08:55:56 localhost kernel: SoftMAC: Getting essid from req_essid
Jun 11 08:55:57 localhost kernel: bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
Jun 11 08:55:57 localhost kernel: bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
Jun 11 08:55:57 localhost kernel: SoftMAC: Canceling existing associate request!
Jun 11 08:55:57 localhost kernel: SoftMAC: Unable to find matching network after scan!
Jun 11 08:55:57 localhost firmware_helper[4584]: Loading of /lib/firmware/bcm43xx_microcode5.fw for bcm43xx driver failed: No such file or directory
Jun 11 08:55:57 localhost kernel: bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
Jun 11 08:55:57 localhost kernel: bcm43xx: core_up for active 802.11 core failed (-2)


***
According to the website, dmesg and the log I need to make the Broadcom firmware Microcode "bcm43xx_microcode5.fw" available in /lib/firmware. We have the driver modules...and it seems close to starting up.

Next, I downloaded fwcutter b43-fwcutter-013.tar.bz2 and broadcom-wl-4.150.10.5.tar.bz2


$ tar xjf b43-fwcutter-013.tar.bz2
$ cd b43-fwcutter-013
# make
# make install
cd ..
Looks ok, so I went to the firmware.

$ tar xjf broadcom-wl-4.150.10.5.tar.bz2
$ cd broadcom-wl-4.150.10.5/driver
# b43-fwcutter -w /lib/firmware/ wl_apsta_mimo.o

lots of .fw files were extracted to /lib/firmware.

# ls /lib/firmware/b43/
a0g0bsinitvals5.fw a0g1initvals5.fw lp0bsinitvals13.fw n0initvals11.fw
a0g0bsinitvals9.fw a0g1initvals9.fw lp0bsinitvals14.fw pcm5.fw
a0g0initvals5.fw b0g0bsinitvals13.fw lp0bsinitvals15.fw ucode11.fw
a0g0initvals9.fw b0g0bsinitvals5.fw lp0initvals13.fw ucode13.fw
a0g1bsinitvals13.fw b0g0bsinitvals9.fw lp0initvals14.fw ucode14.fw
a0g1bsinitvals5.fw b0g0initvals13.fw lp0initvals15.fw ucode15.fw
a0g1bsinitvals9.fw b0g0initvals5.fw n0absinitvals11.fw ucode5.fw
a0g1initvals13.fw b0g0initvals9.fw n0bsinitvals11.fw ucode9.fw


However, when I try to start the wireless I still get in /var/log/messages:
Jun 11 08:55:57 localhost kernel: bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.


I think that perhaps I should be using a different version of either b43-fwcutter or the broadcom tarball.

What do you think? I hate to give up!
Thanks!

User avatar
AlanBartlett
Forum Moderator
Posts: 9329
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

[SOLVED] Broadcom bcm43 wireless need help with firmware

Post by AlanBartlett » 2010/06/11 14:45:46

[quote]
Next, I downloaded fwcutter b43-fwcutter-013.tar.bz2 and broadcom-wl-4.150.10.5.tar.bz2
[/quote]
I think your error is in that line. I believe you should apply the firmware cutter to the driver for that [i]Redmond[/i] based company's OS (a.k.a. [i]Windoze[/i]) and not a [i]Broadcom[/i] tarball.

A quick [url=http://www.google.co.uk/search?q=bcm43xx_microcode5.fw&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a]Google search[/url] turns up a good [i]hit-list[/i]. The first two links on that list look to be appropriate. Indeed, I recognise the helper, [b]Lenard[/b], in the second link . . . he used to be active here in the [i]CentOS[/i] fora.

I would advise that you give careful consideration to the second link. Just bear in mind that it is a different OS but that should not matter, as you are only interested in extracting the firmware.

justasec
Posts: 2
Joined: 2010/06/11 13:42:26
Contact:

Re: Broadcom bcm43 wireless need help with firmware

Post by justasec » 2010/06/16 17:41:19

Thanks for the speedy reply Alan.!

Yes, I ended up trying a different version of fwcutter and the firmware.
From same site you can see a chart that shows which to use depending on kernel version.
http://wireless.kernel.org/en/users/Drivers/b43#device_firmware_installation

Use version 006 of bcm43xx-fwcutter
Download, extract the bcm43xx-fwcutter tarball and build it:

wget http://bu3sch.de/b43/fwcutter/bcm43xx-fwcutter-006.tar.bz2
tar xjf bcm43xx-fwcutter-006.tar.bz2
cd bcm43xx-fwcutter-006
make
cd ..

Use version 3.130.20.0 of Broadcom's proprietary driver.
Download and extract the firmware from this driver:

export FIRMWARE_INSTALL_DIR="/lib/firmware"

wget http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o

# ./bcm43xx-fwcutter-006/bcm43xx-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta-3.130.20.0.o

Have NetworkManager start at boot.
Here is my ifcfg-eth1:

# Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller
DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
USERCTL=yes
HWADDR=00:14:a5:a9:ae:18
# Wireless Config
TYPE=Wireless
MODE=Managed
#RATE=auto
#ESSID=Shire


and I am online with wireless. You can pick networks from the NetworkManager applet near the clock.

I did see the post by Lenard who is using a ndiswrapper. I don't think I want to do that just yet. As you mentioned I could extract the newest firmware from windows drivers. I might do that next.

Thanks a bunch. :D

User avatar
AlanBartlett
Forum Moderator
Posts: 9329
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: [SOLVED] Broadcom bcm43 wireless need help with firmware

Post by AlanBartlett » 2010/06/17 00:56:28

That's excellent news. Thank you for reporting back with details of your success. :-)

For posterity, this thread is marked [SOLVED].

Post Reply

Return to “CentOS 5 - Hardware Support”