[elrepo] [elrepo-devel] Broken kmod-compat-wireless package

ni at centergate.net ni at centergate.net
Sun Aug 12 17:52:48 EDT 2012


> I can confirm from your Vendor:Device ID [14e4:4727] that the bcma
> driver is the correct driver for your device:
> 
> [phil at rhel6b64 ~]$ grep -i 14e4 /lib/modules/*/modules.alias | grep -i 4727
> /lib/modules/2.6.32-279.2.1.el6.x86_64/modules.alias:alias
> pci:v000014E4d00004727sv*sd*bc*sc*i* bcma
> 
> Looking back at your previous thread, you mentioned this link:
> 
> http://grokbase.com/t/centos/centos/125s7snzw1/support-for-broadcom-bcm4313
> 
> which also mentions the brcmsmac driver and also some firmware that
> needs to be downloaded and installed. I think you will may need to
> manually load (modprobe) the brcmsmac driver too, at which point I see
> (keep in mind I don't have the hardware):
> 
> # lsmod | grep brc
> brcmsmac              544554  0
> mac80211              286661  1 brcmsmac
> brcmutil                5237  1 brcmsmac
> cfg80211              193492  2 brcmsmac,mac80211
> compat_firmware_class     7614  1 brcmsmac
> bcma                   29837  1 brcmsmac
> compat                 26336  5
> brcmsmac,mac80211,cfg80211,compat_firmware_class,bcma
> 
> Then check /var/log/messages and/or dmesg for hints on any firmware
> required, but it looks like you will need to grab the firmware as
> described above.

Apologies for the delay ins responding. Just spent some time with this
(thanks for the reminder above Phil).

Snagged the files mentioned in the link above (also referenced here:
http://linuxwireless.org/en/users/Drivers/brcm80211).


/var/log/messages:

Aug 12 14:55:28 0wned kernel: cfg80211: Calling CRDA to update world
regulatory domain
Aug 12 14:55:28 0wned kernel: cfg80211: World regulatory domain updated:
Aug 12 14:55:28 0wned kernel: cfg80211:   (start_freq - end_freq @
bandwidth), (max_antenna_gain, max_eirp)
Aug 12 14:55:28 0wned kernel: cfg80211:   (2402000 KHz - 2472000 KHz @
40000 KHz), (300 mBi, 2000 mBm)
Aug 12 14:55:28 0wned kernel: cfg80211:   (2457000 KHz - 2482000 KHz @
20000 KHz), (300 mBi, 2000 mBm)
Aug 12 14:55:28 0wned kernel: cfg80211:   (2474000 KHz - 2494000 KHz @
20000 KHz), (300 mBi, 2000 mBm)
Aug 12 14:55:28 0wned kernel: cfg80211:   (5170000 KHz - 5250000 KHz @
40000 KHz), (300 mBi, 2000 mBm)
Aug 12 14:55:28 0wned kernel: cfg80211:   (5735000 KHz - 5835000 KHz @
40000 KHz), (300 mBi, 2000 mBm)
Aug 12 14:55:28 0wned kernel: brcmsmac bcma0:0: mfg 4bf core 812 rev 24
class 0 irq 17
Aug 12 14:56:29 0wned kernel: ieee80211 phy0: brcmsmac: fail to load
firmware brcm/bcm43xx-0.fw
Aug 12 14:56:29 0wned kernel: ieee80211 phy0: brcmsmac: Failed to find
firmware usually in /lib/firmware/brcm
Aug 12 14:56:29 0wned kernel: brcmsmac: brcms_bcma_probe: brcms_attach
failed!
Aug 12 14:58:43 0wned NetworkManager[2010]: <info> kernel firmware
directory '/lib/firmware' changed

Aug 12 15:01:56 0wned kernel: Compat-wireless backport release:
compat-wireless-v3.5-3
Aug 12 15:01:56 0wned kernel: Backport based on linux-stable.git v3.5
Aug 12 15:01:56 0wned kernel: compat.git: linux-stable.git
Aug 12 15:01:56 0wned kernel: bcma-pci-bridge 0000:03:00.0: PCI INT A ->
GSI 17 (level, low) -> IRQ 17
Aug 12 15:01:56 0wned kernel: bcma: Found chip with id 0x4313, rev 0x01
and package 0x08
Aug 12 15:01:56 0wned kernel: bcma: Core 0 found: ChipCommon (manuf
0x4BF, id 0x800, rev 0x24, class 0x0)
Aug 12 15:01:56 0wned kernel: bcma: Core 1 found: IEEE 802.11 (manuf
0x4BF, id 0x812, rev 0x18, class 0x0)
Aug 12 15:01:56 0wned kernel: bcma: Core 2 found: PCIe (manuf 0x4BF, id
0x820, rev 0x11, class 0x0)
Aug 12 15:01:56 0wned kernel: bcma: Bus registered


Aug 12 15:05:20 0wned kernel: cfg80211: Calling CRDA to update world
regulatory domain
Aug 12 15:05:21 0wned kernel: cfg80211: World regulatory domain updated:
Aug 12 15:05:21 0wned kernel: cfg80211:   (start_freq - end_freq @
bandwidth), (max_antenna_gain, max_eirp)
Aug 12 15:05:21 0wned kernel: cfg80211:   (2402000 KHz - 2472000 KHz @
40000 KHz), (300 mBi, 2000 mBm)
Aug 12 15:05:21 0wned kernel: cfg80211:   (2457000 KHz - 2482000 KHz @
20000 KHz), (300 mBi, 2000 mBm)
Aug 12 15:05:21 0wned kernel: cfg80211:   (2474000 KHz - 2494000 KHz @
20000 KHz), (300 mBi, 2000 mBm)
Aug 12 15:05:21 0wned kernel: cfg80211:   (5170000 KHz - 5250000 KHz @
40000 KHz), (300 mBi, 2000 mBm)
Aug 12 15:05:21 0wned kernel: cfg80211:   (5735000 KHz - 5835000 KHz @
40000 KHz), (300 mBi, 2000 mBm)
Aug 12 15:05:21 0wned kernel: brcmsmac bcma0:0: mfg 4bf core 812 rev 24
class 0 irq 17
Aug 12 15:06:21 0wned kernel: ieee80211 phy0: brcmsmac: fail to load
firmware brcm/bcm43xx-0.fw
Aug 12 15:06:21 0wned kernel: ieee80211 phy0: brcmsmac: Failed to find
firmware usually in /lib/firmware/brcm
Aug 12 15:06:21 0wned kernel: brcmsmac: brcms_bcma_probe: brcms_attach
failed!



Created /lib/firmware/brcm and moved the two firware files there. Then did:

depmod -a
modprobe -r brcmsmac
modprobe brcmsmac

Note: http://linuxwireless.org/en/users/Drivers/brcm80211

/var/log/messages

Aug 12 17:16:58 0wned NetworkManager[2007]: <info> kernel firmware
directory '/lib/firmware' changed
Aug 12 17:18:26 0wned kernel: bcma-pci-bridge 0000:03:00.0: PCI INT A
disabled
Aug 12 17:18:35 0wned kernel: Compat-wireless backport release:
compat-wireless-v3.5-3
Aug 12 17:18:35 0wned kernel: Backport based on linux-stable.git v3.5
Aug 12 17:18:35 0wned kernel: compat.git: linux-stable.git
Aug 12 17:18:35 0wned kernel: cfg80211: Calling CRDA to update world
regulatory domain
Aug 12 17:18:35 0wned kernel: cfg80211: World regulatory domain updated:
Aug 12 17:18:35 0wned kernel: cfg80211:   (start_freq - end_freq @
bandwidth), (max_antenna_gain, max_eirp)
Aug 12 17:18:35 0wned kernel: cfg80211:   (2402000 KHz - 2472000 KHz @
40000 KHz), (300 mBi, 2000 mBm)
Aug 12 17:18:35 0wned kernel: cfg80211:   (2457000 KHz - 2482000 KHz @
20000 KHz), (300 mBi, 2000 mBm)
Aug 12 17:18:35 0wned kernel: cfg80211:   (2474000 KHz - 2494000 KHz @
20000 KHz), (300 mBi, 2000 mBm)
Aug 12 17:18:35 0wned kernel: cfg80211:   (5170000 KHz - 5250000 KHz @
40000 KHz), (300 mBi, 2000 mBm)
Aug 12 17:18:35 0wned kernel: cfg80211:   (5735000 KHz - 5835000 KHz @
40000 KHz), (300 mBi, 2000 mBm)
Aug 12 17:18:35 0wned kernel: bcma-pci-bridge 0000:03:00.0: PCI INT A ->
GSI 17 (level, low) -> IRQ 17
Aug 12 17:18:35 0wned kernel: bcma: Found chip with id 0x4313, rev 0x01
and package 0x08
Aug 12 17:18:35 0wned kernel: bcma: Core 0 found: ChipCommon (manuf
0x4BF, id 0x800, rev 0x24, class 0x0)
Aug 12 17:18:35 0wned kernel: bcma: Core 1 found: IEEE 802.11 (manuf
0x4BF, id 0x812, rev 0x18, class 0x0)
Aug 12 17:18:35 0wned kernel: bcma: Core 2 found: PCIe (manuf 0x4BF, id
0x820, rev 0x11, class 0x0)
Aug 12 17:18:35 0wned kernel: bcma: Bus registered
Aug 12 17:18:35 0wned kernel: brcmsmac bcma0:0: mfg 4bf core 812 rev 24
class 0 irq 17

lsmod | grep "mac80211\|brcmutil\|cfg80211\|compat\|bcma"

mac80211              286661  1 brcmsmac
bcma                   29837  1 brcmsmac
brcmutil                5237  1 brcmsmac
cfg80211              193492  2 brcmsmac,mac80211
compat_firmware_class     7614  1 brcmsmac
compat                 26336  5
brcmsmac,mac80211,bcma,cfg80211,compat_firmware_class
rfkill                 19735  2 cfg80211,dell_laptop

iwconfig

lo        no wireless extensions.
em1       no wireless extensions.
vmnet1    no wireless extensions.
vmnet8    no wireless extensions.


03:00.0 0280: 14e4:4727 (rev 01)
	Subsystem: 1028:0010
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at e4b00000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information <?>
	Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel <?>
	Capabilities: [160] Device Serial Number 00-00-c4-ff-ff-f4-68-a3
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: bcma-pci-bridge
	Kernel modules: bcma



/var/log/dmesg

Compat-wireless backport release: compat-wireless-v3.5-3
Backport based on linux-stable.git v3.5
compat.git: linux-stable.git
bcma-pci-bridge 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
bcma-pci-bridge 0000:03:00.0: setting latency timer to 64
bcma: Found chip with id 0x4313, rev 0x01 and package 0x08
bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x24, class 0x0)
bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x18, class 0x0)
bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x11, class 0x0)
bcma: Bus registered


Rebooted:

lsmod | grep "mac80211\|brcmutil\|cfg80211\|compat\|bcma"
bcma                   29837  0
compat                 26336  1 bcma


modprobe brcmsmac

mac80211              286661  1 brcmsmac
brcmutil                5237  1 brcmsmac
cfg80211              193492  2 brcmsmac,mac80211
compat_firmware_class     7614  2 brcmsmac
bcma                   29837  1 brcmsmac
compat                 26336  5
brcmsmac,mac80211,cfg80211,compat_firmware_class,bcma
v4l2_compat_ioctl32     7110  1 videodev
rfkill                 19735  2 cfg80211,dell_lapto


Read some places that bcma may be needed by brcmsmac (kernel 3.x), tried
blackllisting just to see if it made any difference. It did not.

Ideas or troubleshooting steps?


I can't find the link now, but there were some instructions about
building with the src.rpm and the proprietary Broadcom drivers. I will
try that next.

Ah, here it is (http://elrepo.org/tiki/wl-kmod), based on wl-kmod, but
appears to still be relevant in regards to process. Thoughts?


Cheers,
Nick


More information about the elrepo mailing list