[solved] bcm4311 does not work on mageia7/64bits

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[solved] bcm4311 does not work on mageia7/64bits

Postby xdzialos » Feb 26th, '20, 09:26

Hi,

I had recently installed on my dell inspiron 6400 with a new 64bit processor the mageia 7/64 OS.
My wifi card does not work despite many try.
Here are some information given, and one is still strange too me.

I tried to install for example mint distribution 19, but the problem is exactly the same.
One thing strange is that my card was properly working before on my mageia 5/32bits. Even with the new processor.
Thank you for your help if you have the solution to it.

Code: Select all
0b:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN (rev 01)
   Subsystem: Dell Wireless 1390 WLAN Mini-Card
   Kernel driver in use: b43-pci-bridge
   Kernel modules: ssb

this kernel driver. I dont know how to delete it, i would like to use maybe b43 or b43 legacy
Code: Select all
# lsmod | grep b43
b43                   479232  0
cordic                 16384  1 b43
bcma                   69632  1 b43
mac80211              856064  1 b43
cfg80211              823296  2 b43,mac80211
ssb                    94208  3 b43,ssb_hcd,b44
mmc_core              180224  6 b43,sdhci,ssb,cqhci,mmc_block,sdhci_pci


Code: Select all
# modinfo b43
filename:       /lib/modules/5.4.17-desktop-1.mga7/kernel/drivers/net/wireless/broadcom/b43/b43.ko.xz
firmware:       b43/ucode9.fw
firmware:       b43/ucode42.fw
firmware:       b43/ucode40.fw
firmware:       b43/ucode5.fw
firmware:       b43/ucode30_mimo.fw
firmware:       b43/ucode33_lcn40.fw
firmware:       b43/ucode29_mimo.fw
firmware:       b43/ucode26_mimo.fw
firmware:       b43/ucode25_mimo.fw
firmware:       b43/ucode25_lcn.fw
firmware:       b43/ucode24_lcn.fw
firmware:       b43/ucode16_mimo.fw
firmware:       b43/ucode16_lp.fw
firmware:       b43/ucode15.fw
firmware:       b43/ucode14.fw
firmware:       b43/ucode13.fw
firmware:       b43/ucode11.fw
license:        GPL
author:         Rafał Miłecki
author:         Gábor Stefanik
author:         Michael Buesch
author:         Stefano Brivio
author:         Martin Langer
description:    Broadcom B43 wireless driver
alias:          ssb:v4243id0812rev10*
alias:          ssb:v4243id0812rev0F*
alias:          ssb:v4243id0812rev0D*
alias:          ssb:v4243id0812rev0C*
alias:          ssb:v4243id0812rev0B*
alias:          ssb:v4243id0812rev0A*
alias:          ssb:v4243id0812rev09*
alias:          ssb:v4243id0812rev07*
alias:          ssb:v4243id0812rev06*
alias:          ssb:v4243id0812rev05*
alias:          bcma:m04BFid0812rev2Acl*
alias:          bcma:m04BFid0812rev28cl*
alias:          bcma:m04BFid0812rev1Ecl*
alias:          bcma:m04BFid0812rev1Dcl*
alias:          bcma:m04BFid0812rev1Ccl*
alias:          bcma:m04BFid0812rev18cl*
alias:          bcma:m04BFid0812rev17cl*
alias:          bcma:m04BFid0812rev15cl*
alias:          bcma:m04BFid0812rev11cl*
depends:        mac80211,ssb,bcma,mmc_core,cfg80211,cordic
retpoline:      Y
intree:         Y
name:           b43
vermagic:       5.4.17-desktop-1.mga7 SMP mod_unload
parm:           bad_frames_preempt:enable(1) / disable(0) Bad Frames Preemption (int)
parm:           fwpostfix:Postfix for the .fw files to load. (string)
parm:           hwpctl:Enable hardware-side power control (default off) (int)
parm:           nohwcrypt:Disable hardware encryption. (int)
parm:           hwtkip:Enable hardware tkip. (int)
parm:           qos:Enable QOS support (default on) (int)
parm:           btcoex:Enable Bluetooth coexistence (default on) (int)
parm:           verbose:Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug (int)
parm:           pio:Use PIO accesses by default: 0=DMA, 1=PIO (int)
parm:           allhwsupport:Enable support for all hardware (even it if overlaps with the brcmsmac driver) (int)


Code: Select all
# modinfo b43legacy
filename:       /lib/modules/5.4.17-desktop-1.mga7/kernel/drivers/net/wireless/broadcom/b43legacy/b43legacy.ko.xz
firmware:       b43legacy/ucode4.fw
firmware:       b43legacy/ucode2.fw
license:        GPL
author:         Michael Buesch
author:         Stefano Brivio
author:         Martin Langer
description:    Broadcom B43legacy wireless driver
alias:          ssb:v4243id0812rev04*
alias:          ssb:v4243id0812rev02*
depends:        mac80211,ssb,cfg80211
retpoline:      Y
intree:         Y
name:           b43legacy
vermagic:       5.4.17-desktop-1.mga7 SMP mod_unload
parm:           pio:enable(1) / disable(0) PIO mode (int)
parm:           bad_frames_preempt:enable(1) / disable(0) Bad Frames Preemption (int)
parm:           fwpostfix:Postfix for the firmware files to load. (string)
Last edited by xdzialos on Mar 3rd, '20, 10:56, edited 1 time in total.
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby doktor5000 » Feb 26th, '20, 19:26

Please post the output of lspcidrake -v or lspci -nn as your output is missing the actual PCI vendor/product ID.

For how to blacklist the b43-pci-bridge and/or ssb driver, have a look at some older threads, e.g. viewtopic.php?f=25&t=12309 or viewtopic.php?f=25&t=10270
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Feb 26th, '20, 23:45

Hello Doktor5000

I followed the last installation use case given in this link
http://archive.openmandriva.org/wiki/en ... b43_driver
It gave me a full b43 and no more error during starting time ( see dmesg in attached file)

I add ssb to the blacklist but it still continue to be loaded
Code: Select all
# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.3 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 4 [8086:27d6] (rev 01)
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] [8086:27c4] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 01)
03:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
03:01.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832]
03:01.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 19)
03:01.2 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 0a)
03:01.3 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 05)
0b:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)


Code: Select all
#lspci -k
0b:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
   Subsystem: Dell Wireless 1390 WLAN Mini-Card [1028:0007]
   Kernel driver in use: b43-pci-bridge
   Kernel modules: ssb


i did not found in the rich documentation you give me, how to blacklist b43-pci-bridge.

i found something strange to me, for example, knowing that wl drivers are not installed, if i execute this command :
Code: Select all
# modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/5.4.17-desktop-1.mga7

which show me that extra info are searched there, i dont understand why.
Attachments
dmesg.txt
(65.12 KiB) Downloaded 110 times
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Feb 27th, '20, 09:04

hi Doktor5000

i tried to blacklist ssb to stop loading b43-pci-bridge with an echo "blacklist ssb"
Code: Select all
$ cat /etc/modprobe.d/blacklist-mga.conf
# blacklisted modules for PCI coldplug
# see also /etc/modprobe.d/blacklist-compat

blacklist rivatv

# For some bridges both intel-agp and i82875p_edac are loaded. If i82875p_edac
# is loaded first it will grab the device. Then intel-agp doesn't work.
# Therefore we disable automatic loading of 82875p_edac. (Bug 213840)
# https://bugzilla.novell.com/show_bug.cgi?id=213840
blacklist i82875p_edac

# do not use "Boot Protocol" drivers, we prefer usbhid
# and they cause problems when loaded together with usbhid (#37726, #40861)
blacklist usbkbd
blacklist usbmouse

# disable PC speaker by default
# pcspkr is the standard driver, while snd-pcsp is the ALSA driver
blacklist pcspkr
blacklist snd-pcsp

blacklist ssb

but it is still loading
Code: Select all
# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.3 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 4 [8086:27d6] (rev 01)
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] [8086:27c4] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 01)
03:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
03:01.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832]
03:01.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 19)
03:01.2 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 0a)
03:01.3 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 05)
0b:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)


i am wondering why b43 has reference with that place :
/lib/modules/5.4.17-desktop-1.mga7/kernel/drivers/net/wireless/broadcom/b43/b43.ko.xz

i updated the b43 /lib/firmware/b43 directory using the topics given in your link, that solves, the error message i had while booting, visible with dmesg
now i have
Code: Select all
# dmesg | grep b43
[   14.351445] b43-pci-bridge 0000:0b:00.0: Sonics Silicon Backplane found on PCI device 0000:0b:00.0
[   15.749568] b43-phy0: Broadcom 4311 WLAN found (core revision 10)
[   15.768259] b43-phy0: Found PHY: Analog 4, Type 2 (G), Revision 8
[   15.768280] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2050, Revision 2, Version 0
[   25.144028] Modules linked in: dm_mirror dm_region_hash dm_log dm_mod b43 cordic bcma mac80211 cfg80211 libarc4 snd_hda_codec_hdmi b44 ssb_hcd coretemp kvm_intel snd_hda_codec_idt iTCO_wdt ssb joydev snd_hda_codec_generic dell_laptop ledtrig_audio snd_hda_intel iTCO_vendor_support mii kvm snd_intel_nhlt snd_hda_codec rfkill gpio_ich libphy r852 dell_smbios r592 sm_common memstick irqbypass nand snd_hda_core dell_wmi_descriptor pcmcia nand_ecc wmi snd_hwdep nandcore dcdbas pcmcia_core snd_pcm dell_smm_hwmon bch psmouse snd_timer i2c_i801 mtd input_leds snd lpc_ich soundcore thermal ide_pci_generic button ac ide_core acpi_cpufreq evdev nvram sch_fq_codel ip_tables x_tables ipv6 crc_ccitt nf_defrag_ipv6 autofs4 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid sr_mod ata_generic pata_acpi sdhci_pci cqhci mmc_block sdhci uhci_hcd mmc_core firewire_ohci ehci_pci serio_raw ata_piix firewire_core ehci_hcd crc_itu_t usbcore usb_common i915 i2c_algo_bit drm_kms_helper battery video drm
[   27.217259] b43-phy0: Loading firmware version 508.1084 (2009-01-14 01:32:01)
[   27.259291] b43-phy0 debug: Chip initialized
[   27.259597] b43-phy0 debug: 32-bit DMA initialized
[   27.259608] b43-phy0 debug: QoS disabled
[   27.269737] b43-phy0 debug: Wireless interface started
[   27.284315] b43-phy0 debug: Adding Interface type 2
[   27.607397] b43-phy0 debug: Removing Interface type 2
[   27.607513] b43-phy0 debug: Wireless interface stopped
[   27.607519] b43-phy0 debug: DMA-32 rx_ring: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   27.607697] b43-phy0 debug: DMA-32 tx_ring_AC_BK: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   27.610240] b43-phy0 debug: DMA-32 tx_ring_AC_BE: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   27.613248] b43-phy0 debug: DMA-32 tx_ring_AC_VI: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   27.616247] b43-phy0 debug: DMA-32 tx_ring_AC_VO: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   27.619237] b43-phy0 debug: DMA-32 tx_ring_mcast: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   28.854353] b43-phy0: Loading firmware version 508.1084 (2009-01-14 01:32:01)
[   28.899299] b43-phy0 debug: Chip initialized
[   28.899587] b43-phy0 debug: 32-bit DMA initialized
[   28.899598] b43-phy0 debug: QoS disabled
[   28.909722] b43-phy0 debug: Wireless interface started
[   28.924316] b43-phy0 debug: Adding Interface type 2
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby doktor5000 » Feb 27th, '20, 18:05

xdzialos wrote:i did not found in the rich documentation you give me, how to blacklist b43-pci-bridge.

The same way you blacklisted ssb driver, add
Code: Select all
blacklist b43-pci-bridge

e.g. at the end of /etc/modprobe.d/blacklist-mga.conf
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: bcm4311 does not work on mageia7/64bits

Postby benmc » Feb 27th, '20, 20:10

Hi

I have the same wifi device and it requires the proprietary drivers to work.
you will need to install:

broadcom-wl-common
dkms-broadcom-wl
kernel-*desktop*-devel-latest (I have the *desktop* kernel, you may have a different one. : server, i586, linus, tmb etc)

you can install from MCC- add software, or from a root terminal (urpmi )
any extra packages / dependencies should be installed automatically

you will need to reboot

regards
benmc
 
Posts: 1175
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Feb 27th, '20, 23:12

I tried to blacklist the b43-pci-bridge module or driver, maybe it is the same.
Despite this blacklist, my wifi card is still mounted with this faulty driver.
Here is an extract from
Code: Select all
# dmesg
...
[   16.046818] b43-pci-bridge 0000:0b:00.0: Sonics Silicon Backplane found on PCI device 0000:0b:00.0
...

Code: Select all
$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.3 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 4 [8086:27d6] (rev 01)
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] [8086:27c4] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 01)
03:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
03:01.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832]
03:01.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 19)
03:01.2 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 0a)
03:01.3 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 05)
0b:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)

We have the correspondingly number 0b:00.0
But this time it is loaded with wl kernel module.

Code: Select all
0b:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
   Subsystem: Dell Wireless 1390 WLAN Mini-Card [1028:0007]
   Kernel driver in use: b43-pci-bridge
   Kernel modules: wl

In the network manager, when i decollapse the wifi section i get an error : no network interface for the selected network (using wl driver)

I have installed like you advise me,
broadcom-wl-common
dkms-broadcom-wl
kernel-*desktop*-devel-latest (I have the *desktop* kernel, you may have a different one. : server, i586, linus, tmb etc)


i have uninstalled b43-firmware-install, b43-fwcutter, b43-openfwwf
I see that kernel-firmware and kernel-firmware-nonfree packages are installed by default. Is there any faulty driver there?
Where can this b43-pci-bridge driver be asked to start?
Is your wifi card drived by b43 and wl module?

Thank you for your help
Regards
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Feb 28th, '20, 00:02

I found something interresting in that Makefile
Code: Select all
vi /lib/modules/5.4.17-desktop-1.mga7/source/drivers/ssb/Makefile

# SPDX-License-Identifier: GPL-2.0
# core
ssb-y                                   += main.o scan.o
ssb-$(CONFIG_SSB_EMBEDDED)              += embedded.o
ssb-$(CONFIG_SSB_SPROM)                 += sprom.o

# host support
ssb-$(CONFIG_SSB_PCIHOST)               += pci.o pcihost_wrapper.o
ssb-$(CONFIG_SSB_PCMCIAHOST)            += pcmcia.o bridge_pcmcia_80211.o
ssb-$(CONFIG_SSB_SDIOHOST)              += sdio.o
ssb-$(CONFIG_SSB_HOST_SOC)              += host_soc.o

# built-in drivers
ssb-y                                   += driver_chipcommon.o
ssb-y                                   += driver_chipcommon_pmu.o
ssb-$(CONFIG_SSB_SFLASH)                += driver_chipcommon_sflash.o
ssb-$(CONFIG_SSB_DRIVER_MIPS)           += driver_mipscore.o
ssb-$(CONFIG_SSB_DRIVER_EXTIF)          += driver_extif.o
ssb-$(CONFIG_SSB_DRIVER_PCICORE)        += driver_pcicore.o
ssb-$(CONFIG_SSB_DRIVER_GIGE)           += driver_gige.o
ssb-$(CONFIG_SSB_DRIVER_GPIO)           += driver_gpio.o

# b43 pci-ssb-bridge driver
# Not strictly a part of SSB, but kept here for convenience
ssb-$(CONFIG_SSB_B43_PCI_BRIDGE)        += b43_pci_bridge.o

obj-$(CONFIG_SSB)                       += ssb.o


i noticed in the last lines the association ssb with b43_pci_bridge.o
As a makefile, i suppose there is a build, and i am wondering when it is done (one time or every boot) and what is done with that build. A lot of question there :)

Regards
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Feb 28th, '20, 00:23

It seems also that theses source files come with the kernel sources.
I am not sure to understand but.
Maybe in that kernel bundle, the ssb is configured to load b43-pci-bridge

One way could be to recompile this module, and before to change its configuration?
Another could be to delete or change the dependance i see on b43, but how to make this reload with the modification
Code: Select all
#modinfo b43
...
depends:        mac80211,ssb,bcma,mmc_core,cfg80211,cordic
...

I would be curious to verify if in older kernel sources, this ssb implementation was the same.
What is sure is that on the last ubuntoo desktop, and the last mint desktop, bound with the last kernel, i have exactly the same detection problem

Regards
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby benmc » Feb 28th, '20, 10:17

right,.

I have dug out the machine with the bcm4311:
Code: Select all
# lspci -vnn -d 14e4:
01:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 02)
   Subsystem: Hewlett-Packard Company BCM4311 802.11b/g Wireless LAN Controller [103c:1375]
   Flags: bus master, fast devsel, latency 0, IRQ 16
   Memory at 71300000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [40] Power Management version 3
   Capabilities: [58] Vendor Specific Information: Len=78 <?>
   Capabilities: [e8] 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 7a-43-73-ff-ff-98-00-1a
   Capabilities: [16c] Power Budgeting <?>
   Kernel driver in use: wl
   Kernel modules: wl


I was unable to set up the wifi network out of the box during a Live session, nor using the Classical installer .isos.
i was never able to get the b43 driver to work, I was given pointers via Mailing List to get the BCM4311 working.
I removed the ssb package when I installed the wifi packages.
a reboot was required

screen grab from MCC installed packages i needed to get this working
Screenshot from 2020-02-28 08-07-52.png
Screenshot from 2020-02-28 08-07-52.png (140.52 KiB) Viewed 3646 times
benmc
 
Posts: 1175
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: bcm4311 does not work on mageia7/64bits

Postby doktor5000 » Feb 28th, '20, 17:32

xdzialos wrote:
Code: Select all
$ lspci -nn
0b:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)

We have the correspondingly number 0b:00.0


No, the vendor/product ID is near the end in square brackets: 14e4:4311 - the number in front is the PCI bus/port.
From what I can tell, it should be supported by b43 driver according to https://wireless.wiki.kernel.org/en/use ... f_hardware

Although the primary alias is mapped to the ssb driver (that is, if you wouldn't have installed the wl driver):
Code: Select all
[doktor5000@Mageia7]─[16:15:39]─[~] sudo modprobe -c | grep -i "14e4.*4311"
alias pci:v000014E4d00004311sv*sd*bc*sc*i* wl
alias pci:v000014E4d00004311sv*sd*bc*sc*i* ssb
[doktor5000@Mageia7]─[16:20:32]─[~]


Apart from that, the ssb implementation is meant for devices that are connected via SSB (Sonics Silicon Backplane) - this is also explained at https://wireless.wiki.kernel.org/en/use ... f_hardware
In your case it's not necessary, from what I can tell.

But this time it is loaded with wl kernel module.

0b:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
   Subsystem: Dell Wireless 1390 WLAN Mini-Card [1028:0007]
   Kernel driver in use: b43-pci-bridge
   Kernel modules: wl

Not, it's loaded with b43-pci-bridge, wl is only an alternatively available module for this device.

Did you blacklist b43-pci-bridge as mentioned before ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Feb 28th, '20, 21:40

I removed the ssb package when I installed the wifi packages.


How do you remove ssb package?
- Are you using rpm? If so, what is the name of this ssb package? I dont find any ssb package in MMC except broadcam-ssb-config, but it is only a blacklist config file.
- Are you looking in the dkms-broadcom-wl files installed after this package is selected. I dont find in that files anything about ssb, i could desactivate.

Regards
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Feb 29th, '20, 00:54

Did you blacklist b43-pci-bridge as mentioned before ?

Yes this driver is still blacklisted in
Code: Select all
cat /etc/modprobe.d/blacklist-mga.conf
# blacklisted modules for PCI coldplug
# see also /etc/modprobe.d/blacklist-compat

blacklist rivatv

# For some bridges both intel-agp and i82875p_edac are loaded. If i82875p_edac
# is loaded first it will grab the device. Then intel-agp doesn't work.
# Therefore we disable automatic loading of 82875p_edac. (Bug 213840)
# https://bugzilla.novell.com/show_bug.cgi?id=213840
blacklist i82875p_edac

# do not use "Boot Protocol" drivers, we prefer usbhid
# and they cause problems when loaded together with usbhid (#37726, #40861)
blacklist usbkbd
blacklist usbmouse

# disable PC speaker by default
# pcspkr is the standard driver, while snd-pcsp is the ALSA driver
blacklist pcspkr
blacklist snd-pcsp

blacklist ssb
blacklist b43-pci-bridge

But in the same time,
Code: Select all
# lsmod | grep b43
b43                   479232  0
cordic                 16384  1 b43
bcma                   69632  1 b43
mac80211              856064  1 b43
cfg80211              823296  2 b43,mac80211
ssb                    94208  3 b43,ssb_hcd,b44
mmc_core              180224  6 b43,sdhci,ssb,cqhci,mmc_block,sdhci_pci


ssb is loaded and used despite the blacklist directive. Does it mean that this directive is not executed?
the b44 use ssb, so if i remove this module, i wont have ethernet anymore?
Code: Select all
modinfo b44
filename:       /lib/modules/5.4.17-desktop-1.mga7/kernel/drivers/net/ethernet/broadcom/b44.ko.xz
version:        2.0
license:        GPL
description:    Broadcom 44xx/47xx 10/100 PCI ethernet driver
author:         Felix Fietkau, Florian Schirmer, Pekka Pietikainen, David S. Miller
srcversion:     8DA5A44EB55ECC69FAACB0A
alias:          pci:v000014E4d0000170Csv*sd*bc*sc*i*
alias:          pci:v000014E4d00004402sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004401sv*sd*bc*sc*i*
alias:          ssb:v4243id0806rev*
depends:        ssb,libphy,mii
retpoline:      Y
intree:         Y
name:           b44
vermagic:       5.4.17-desktop-1.mga7 SMP mod_unload
parm:           b44_debug:B44 bitmapped debugging message enable value (int)
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby benmc » Feb 29th, '20, 08:05

urpmi recommended that package
Code: Select all
broadcom-ssb-config
be removed to install
Code: Select all
broadcom-wl-common
.

having a deeper look, I do have a
Code: Select all
b43-openfwwf
package installed
benmc
 
Posts: 1175
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Mar 2nd, '20, 23:18

Hi benmc,

Using this configuration :
- broadcom-ssb-config uninstalled
- broadcom-wl-common installed
- b43-openfwwf installed
i get on startup this error
Code: Select all
Activation de l'interface wlan0 :  ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] b43 device wlan0 does not seem to be present, delaying initialization.
mars 02 21:48:52 localhost.localdomain /etc/sysconfig/network-scripts/ifup-eth[20498]: b43 device wlan0 does not seem to be present, delaying initialization.

When i open the network manager popup, the error message is something like "Impossible to find network interface (driver wl)"
Regards
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby benmc » Mar 3rd, '20, 00:28

Hi,

do you have spare capacity of your HDD to make a small (20GB) partition, or a 32GB usb stick?
I would suggest a trial install to that partition and use that to see if, by just installing the broadcom-wl-common and dkms-broadcom-wl, kernel-****-devel you can get it to work. these packages are included on the Live install media and likely the Classical Install media. you will need to reboot.
you can either install via root terminal or via MCC in the Live Desktop before install as the Live installer includes any system changes.
both ways will prompt the removal of broadcom-ssb-config

this way, the drivers you have attempted to install will not be present.
If successful, we can then work to get your existing system to work.
If not successful, it is not something you have done attempting what you have done so far, and the test partition can be deleted.
Last edited by benmc on Mar 3rd, '20, 09:43, edited 1 time in total.
benmc
 
Posts: 1175
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Mar 3rd, '20, 09:11

Hi,

I have another HDD on which i could try this installation.
One last thing i tried that was interresting was switching the encryption from WPA/WPA2 PSK to WEP, that works in this situation.
Code: Select all
b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   35.657060] b43-phy0 debug: Chip initialized
[   35.657346] b43-phy0 debug: 32-bit DMA initialized
[   35.657405] b43-phy0 debug: QoS enabled
[   35.667475] b43-phy0 debug: Wireless interface started
[   35.682071] b43-phy0 debug: Adding Interface type 2
[   36.644085] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[   36.664205] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[   36.666441] wlan0: authenticated
[   36.666473] b43 ssb0:0 wlan0: disabling HT/VHT/HE due to WEP/TKIP use
[   36.667992] wlan0: associate with xx:xx:xx:xx:xx:xx (try 1/3)
[   36.670495] wlan0: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0x431 status=0 aid=1)
[   36.670988] wlan0: associated
[   36.671038] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   36.674042] b43-phy0 debug: Using hardware based encryption for keyidx: 0, mac: ff:ff:ff:ff:ff:ff
[   37.198767] wlan0: deauthenticating from 84:16:f9:e3:85:7a by local choice (Reason: 3=DEAUTH_LEAVING)
[   37.213144] b43-phy0 debug: Disabling hardware based encryption for keyidx: 0, mac: ff:ff:ff:ff:ff:ff
[   37.318331] NET: Registered protocol family 17
[   38.589026] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[   38.599145] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[   38.605382] wlan0: authenticated
[   38.605412] b43 ssb0:0 wlan0: disabling HT/VHT/HE due to WEP/TKIP use
[   38.606022] wlan0: associate with xx:xx:xx:xx:xx:xx (try 1/3)
[   38.608527] wlan0: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0x431 status=0 aid=1)
[   38.609009] wlan0: associated
[   38.614000] b43-phy0 debug: Using hardware based encryption for keyidx: 0, mac: ff:ff:ff:ff:ff:ff
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14

Re: bcm4311 does not work on mageia7/64bits

Postby benmc » Mar 3rd, '20, 09:40

great news.

if everything is working as expected, edit the first post by prefixing it with [solved]
this way, anyone else with the BCM4311 problems will be able to find some things to try.

(thanks to Doktor5000)

you can try that other install when you have spare time.
benmc
 
Posts: 1175
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: bcm4311 does not work on mageia7/64bits

Postby xdzialos » Mar 3rd, '20, 10:56

Hi,

Ok i close this issue, this solution is enough
Thank you a lot to Doktor5000 for his help, and thank you benmc too

Regards
xdzialos
 
Posts: 11
Joined: Feb 26th, '20, 09:14


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron