Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 351295

Summary: brcm80211 fails to load firmware (was: brcm80211 missing firmware)
Product: Gentoo Linux Reporter: Matej <matej.gregr>
Component: New packagesAssignee: Greg Kroah-Hartman (RETIRED) <gregkh>
Status: RESOLVED FIXED    
Severity: enhancement CC: kernel, leho
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matej 2011-01-10 11:11:10 UTC
Missing firmware for Broadcom opensource drivers brcm80211 added in kernel 2.6.37.

Reproducible: Always

Steps to Reproduce:
1. Compile broadcom brcm80211 module
2. Load module brcm80211
3. 
Actual Results:  
It fails, because of missing firmware in /lib/firmware/brcm


Expected Results:  
Firmware for brcm is loaded

I was able to get a card working with firmware found in Debian package http://svn.debian.org/wsvn/kernel/dists/trunk/firmware-nonfree/brcm80211/brcm/
There should be probably an ebuild in portage tree with missing brcm80211 firmware.

Dmesg output:

[ 1102.656988] brcm80211: module is from the staging directory, the quality is unknown, you have been warned.
[ 1102.660709] brcm80211 0000:44:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 1102.660721] brcm80211 0000:44:00.0: setting latency timer to 64
[ 1102.662718] brcm80211: fail to load firmware brcm/bcm43xx-0.fw
[ 1102.662725] brcm80211: Failed to find firmware usually in /lib/firmware/brcm
[ 1102.662773] brcm80211 0000:44:00.0: PCI INT A disabled
[ 1102.662794] brcm80211: wl_pci_probe: wl_attach failed!
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-01-10 23:02:29 UTC
The brcm80211 firmware is in the sys-kernel/linux-firmware package. Why do you think that there should be an extra package for it?
Comment 2 Matej 2011-01-11 00:42:19 UTC
(In reply to comment #1)
> The brcm80211 firmware is in the sys-kernel/linux-firmware package. Why do you
> think that there should be an extra package for it?
> 

Ok, sorry, its my mistake, I didn't know it. Hovewer firmware in the package is bcm43xx-0.fw-610.809-0.fw and the module search for bcm43xx-0.fw. So the module fails to load firmware anyway.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2011-01-28 08:19:24 UTC
(In reply to comment #2)
[...]
> Hovewer firmware in the package is
> bcm43xx-0.fw-610.809-0.fw and the module search for bcm43xx-0.fw. So the module
> fails to load firmware anyway.

I hope this will be fixed with the next snapshot:
http://permalink.gmane.org/gmane.linux.kernel/1085814

For now you can set symlinks.
Comment 4 Leho Kraav (:macmaN @lkraav) 2011-04-11 07:39:56 UTC
it's not fixed in linux-firwmare-20110311 yet..
Comment 5 Bassam 2011-05-17 16:37:59 UTC
Fixed in 20110429.