LDME B43 WIFI driver issue

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MD11_driver

LDME B43 WIFI driver issue

Post by MD11_driver »

1st my thanks to the developers of the Linux Mint Debbie version. Compared to Mint Ubuntu it's lightning fast on a MacBook Pro 5.5. I am really happy. But with all new developments come small issues... Mine is I can't get the WIFI to work. Somehow the b43 drivers does not seem to be incorporated properly in the latest kernel. Tried to to use the Software manager to install BF43-fwcutter, that works, but than installing Firmware-43-installer fails. (see below). Although i am quite familiar with commandline linux. these failure messages go above my capabilities. Anybody any ideas ?? Thank you very much for your time and plz stay healthy in the C19 times by practising appropriate social distancing.

Sytem:

Code: Select all

$ inxi -Fxz
System:
  Host: ldme Kernel: 4.19.0-8-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
  Desktop: Cinnamon 4.4.8 Distro: LMDE 4 Debbie base: Debian 10.2 buster 
Machine:
  Type: Laptop System: Apple product: MacBookPro5,5 v: 1.0 serial: <filter> 
  Mobo: Apple model: Mac-F2268AC8 serial: <filter> UEFI: Apple 
  v: MBP55.88Z.00AC.B03.0906151708 date: 06/15/09 
Battery:
  ID-1: BAT0 charge: 35.1 Wh condition: 35.1/59.4 Wh (59%) 
  model: SMP bq20z451 status: Full 
CPU:
  Topology: Dual Core model: Intel Core2 Duo P7550 bits: 64 type: MCP 
  arch: Penryn rev: A L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 9021 
  Speed: 796 MHz min/max: 798/2261 MHz Core speeds (MHz): 1: 796 2: 796 
Graphics:
  Device-1: NVIDIA C79 [GeForce 9400M] vendor: Apple driver: nouveau 
  v: kernel bus ID: 02:00.0 
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1280x800~61Hz 
  OpenGL: renderer: NVAC v: 3.3 Mesa 18.3.6 direct render: Yes 
Audio:
  Device-1: NVIDIA MCP79 High Definition Audio driver: snd_hda_intel 
  v: kernel bus ID: 00:08.0 
  Sound Server: ALSA v: k4.19.0-8-amd64 
Network:
  Device-1: NVIDIA MCP79 Ethernet driver: forcedeth v: kernel port: 21e0 
  bus ID: 00:0a.0 
  IF: enp0s10 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN 
  vendor: Apple AirPort Extreme driver: b43-pci-bridge v: N/A port: 1000 
  bus ID: 03:00.0 
Drives:
  Local Storage: total: 232.89 GiB used: 5.84 GiB (2.5%) 
  ID-1: /dev/sda vendor: Crucial model: CT250BX100SSD1 size: 232.89 GiB 
  temp: 29 C 
Partition:
  ID-1: / size: 220.16 GiB used: 5.84 GiB (2.7%) fs: ext4 dev: /dev/sda3 
  ID-2: swap-1 size: 7.92 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 62.0 C mobo: N/A gpu: nouveau temp: 59 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 176 Uptime: 23m Memory: 7.54 GiB used: 1.19 GiB (15.8%) 
  Init: systemd runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 
  inxi: 3.0.32 
  
rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

mbp@ldme:~$ iwconfig
enp0s10 no wireless extensions.

lo no wireless extensions.

mbp@ldme:~$ lspci
00:00.0 Host bridge: NVIDIA Corporation MCP79 Host Bridge (rev b1)
00:00.1 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
00:03.0 ISA bridge: NVIDIA Corporation MCP79 LPC Bridge (rev b3)
00:03.1 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
00:03.2 SMBus: NVIDIA Corporation MCP79 SMBus (rev b1)
00:03.3 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
00:03.4 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
00:03.5 Co-processor: NVIDIA Corporation MCP79 Co-processor (rev b1)
00:04.0 USB controller: NVIDIA Corporation MCP79 OHCI USB 1.1 Controller (rev b1)
00:04.1 USB controller: NVIDIA Corporation MCP79 EHCI USB 2.0 Controller (rev b1)
00:06.0 USB controller: NVIDIA Corporation MCP79 OHCI USB 1.1 Controller (rev b1)
00:06.1 USB controller: NVIDIA Corporation MCP79 EHCI USB 2.0 Controller (rev b1)
00:08.0 Audio device: NVIDIA Corporation MCP79 High Definition Audio (rev b1)
00:09.0 PCI bridge: NVIDIA Corporation MCP79 PCI Bridge (rev b1)
00:0a.0 Ethernet controller: NVIDIA Corporation MCP79 Ethernet (rev b1)
00:0b.0 SATA controller: NVIDIA Corporation MCP79 AHCI Controller (rev b1)
00:10.0 PCI bridge: NVIDIA Corporation MCP79 PCI Express Bridge (rev b1)
00:15.0 PCI bridge: NVIDIA Corporation MCP79 PCI Express Bridge (rev b1)
00:16.0 PCI bridge: NVIDIA Corporation MCP79 PCI Express Bridge (rev b1)
02:00.0 VGA compatible controller: NVIDIA Corporation C79 [GeForce 9400M] (rev b1)
03:00.0 Network controller: Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
04:00.0 FireWire (IEEE 1394): LSI Corporation FW643 [TrueFire] PCIe 1394b Controller (rev 07)

Software Manager failure messages log

Code: Select all

install Archives() failed: Selecting previously unselected package firmware-b43-installer.
(Reading database ... 
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 254572 files and directories currently installed.)
Preparing to unpack .../firmware-b43-installer_1%%3a019-4_all.deb ...
Unpacking firmware-b43-installer (1:019-4) ...
Setting up broadcom-sta-dkms (6.30.223.271-10) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
------------------------------
Deleting module version: 6.30.223.271
completely from the DKMS tree.
------------------------------
Done.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 4.19.0-8-amd64
Building initial module for 4.19.0-8-amd64
Done.

wl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-8-amd64/updates/dkms/

depmod...

Backing up initrd.img-4.19.0-8-amd64 to /boot/initrd.img-4.19.0-8-amd64.old-dkms
Making new initrd.img-4.19.0-8-amd64
(If next boot fails, revert to initrd.img-4.19.0-8-amd64.old-dkms image)
update-initramfs.......(bad exit status: 1)

-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 4.19.0-8-amd64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-8-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod...

update-initramfs.......(bad exit status: 1)
Warning: There was a problem remaking your initrd. You must manually remake it
before booting into this kernel.

DKMS: uninstall completed.
Error! Problems with mkinitrd detected. Automatically uninstalling this module.
DKMS: Install Failed (mkinitrd problems). Module rolled back to built state.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 7
Setting up firmware-b43-installer (1:019-4) ...
No chroot environment found. Starting normal installation
--2020-04-07 11:29:01-- http://www.lwfinger.com/b43-firmware/br ... 38.tar.bz2
Resolving www.lwfinger.com (www.lwfinger.com)... 173.254.30.178
Connecting to www.lwfinger.com (www.lwfinger.com)|173.254.30.178|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13514651 (13M) [application/x-tar]
Saving to: broadcom-wl-5.100.138.tar.bz2


broadcom- 0%%[ ] 0 --.-KB/s
broadcom-w 0%%[ ] 49.91K 165KB/s
broadcom-wl 1%%[ ] 218.66K 361KB/s
broadcom-wl- 6%%[> ] 893.66K 982KB/s
broadcom-wl-5 27%%[====> ] 3.50M 2.89MB/s
broadcom-wl-5. 40%%[=======> ] 5.25M 3.62MB/s
broadcom-wl-5.1 76%%[==============> ] 9.90M 5.33MB/s
broadcom-wl-5.10 100%%[===================>] 12.89M 6.23MB/s
broadcom-wl-5.100.1 100%%[===================>] 12.89M 6.23MB/s in 2.1s

2020-04-07 11:29:05 (6.23 MB/s) - broadcom-wl-5.100.138.tar.bz2 saved [13514651/13514651]

Code: Select all

broadcom-wl-5.100.138.tar.bz2: OK
broadcom-wl-5.100.138/linux/wl_apsta.o
This file is recognised as:
filename   :  wl_apsta.o
version    :  666.2
MD5        :  e1b05e268bcdbfef3560c28fc161f30e
Extracting b43/lp0initvals14.fw
Extracting b43/lcn0bsinitvals25.fw
Extracting b43/n0bsinitvals25.fw
Extracting b43/n0bsinitvals17.fw
Extracting b43/ucode17_mimo.fw
Extracting b43/ucode16_lp.fw
Extracting b43/sslpn1initvals27.fw
Extracting b43/lp2bsinitvals19.fw
Extracting b43/sslpn3bsinitvals21.fw
Extracting b43/ucode16_sslpn.fw
ucode time:     01:15:07
Extracting b43/ucode25_lcn.fw
Extracting b43/ucode21_sslpn.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/ucode20_sslpn.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/lp1initvals20.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/lp2initvals19.fw
Extracting b43/n2bsinitvals19.fw
Extracting b43/sslpn4bsinitvals22.fw
Extracting b43/ucode16_sslpn_nobt.fw
ucode date:     2011-02-23
Extracting b43/n1bsinitvals20.fw
Extracting b43/n1initvals20.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/ucode22_sslpn.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/ht0initvals26.fw
Extracting b43/ucode33_lcn40.fw
Extracting b43/sslpn1bsinitvals20.fw
Extracting b43/lcn400bsinitvals33.fw
Extracting b43/ucode14.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/lp1bsinitvals22.fw
Extracting b43/n16initvals30.fw
Extracting b43/lp0bsinitvals16.fw
Extracting b43/lcn1bsinitvals25.fw
Extracting b43/lcn400initvals33.fw
Extracting b43/n0bsinitvals24.fw
Extracting b43/lcn2bsinitvals26.fw
Extracting b43/lcn1initvals26.fw
Extracting b43/n0bsinitvals22.fw
Extracting b43/n18initvals32.fw
Extracting b43/lcn2initvals26.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/lcn2initvals24.fw
Extracting b43/lcn0initvals26.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/ucode21_sslpn_nobt.fw
ucode time:     01:15:07
Extracting b43/ucode26_mimo.fw
Extracting b43/n2initvals19.fw
Extracting b43/sslpn3initvals21.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/sslpn4initvals22.fw
Extracting b43/pcm5.fw
Extracting b43/ucode22_mimo.fw
Extracting b43/ucode9.fw
Extracting b43/lcn2initvals25.fw
Extracting b43/lp1initvals22.fw
Extracting b43/sslpn1bsinitvals27.fw
Extracting b43/lcn0initvals24.fw
Extracting b43/ucode32_mimo.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/n18bsinitvals32.fw
Extracting b43/n0initvals24.fw
Extracting b43/n0initvals25.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/ucode24_lcn.fw
Extracting b43/n0initvals17.fw
Extracting b43/n0bsinitvals16.fw
Extracting b43/lp0initvals15.fw
Extracting b43/b0g0initvals5.fw
Extracting b43/ucode20_sslpn_nobt.fw
Extracting b43/lcn1initvals24.fw
Extracting b43/sslpn0initvals16.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/lp1bsinitvals20.fw
Extracting b43/sslpn2initvals19.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/lcn1bsinitvals24.fw
Extracting b43/ucode5.fw
Extracting b43/lcn2bsinitvals24.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/n0initvals16.fw
Extracting b43/ucode19_sslpn_nobt.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/ucode11.fw
Extracting b43/lp0initvals16.fw
Extracting b43/ucode16_mimo.fw
Extracting b43/lcn0bsinitvals26.fw
Extracting b43/ht0initvals29.fw
Extracting b43/lcn2bsinitvals25.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/ucode29_mimo.fw
Extracting b43/lcn0bsinitvals24.fw
Extracting b43/ucode19_sslpn.fw
Extracting b43/lcn1initvals25.fw
Extracting b43/ucode30_mimo.fw
Extracting b43/n16bsinitvals30.fw
Extracting b43/ucode25_mimo.fw
Extracting b43/ucode24_mimo.fw
Extracting b43/ucode27_sslpn.fw
Extracting b43/lp0initvals13.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/ht0bsinitvals26.fw
Extracting b43/ucode13.fw
Extracting b43/sslpn2bsinitvals19.fw
Extracting b43/ucode15.fw
Extracting b43/lp0bsinitvals15.fw
Extracting b43/n0initvals11.fw
Extracting b43/lcn0initvals25.fw
Extracting b43/sslpn0bsinitvals16.fw
Extracting b43/sslpn1initvals20.fw
Extracting b43/lcn1bsinitvals26.fw
Extracting b43/n0initvals22.fw
Extracting b43/ht0bsinitvals29.fw
Errors were encountered while processing:
 broadcom-sta-dkms
Setting up broadcom-sta-dkms (6.30.223.271-10) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
------------------------------
Deleting module version: 6.30.223.271
completely from the DKMS tree.
------------------------------
Done.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 4.19.0-8-amd64
Building initial module for 4.19.0-8-amd64
Done.

wl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-8-amd64/updates/dkms/

depmod...

Backing up initrd.img-4.19.0-8-amd64 to /boot/initrd.img-4.19.0-8-amd64.old-dkms
Making new initrd.img-4.19.0-8-amd64
(If next boot fails, revert to initrd.img-4.19.0-8-amd64.old-dkms image)
update-initramfs.......(bad exit status: 1)

-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 4.19.0-8-amd64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-8-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod...

update-initramfs.......(bad exit status: 1)
Warning: There was a problem remaking your initrd. You must manually remake it
before booting into this kernel.

DKMS: uninstall completed.
Error! Problems with mkinitrd detected. Automatically uninstalling this module.
DKMS: Install Failed (mkinitrd problems). Module rolled back to built state.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 7
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sleeper12
Level 21
Level 21
Posts: 14607
Joined: Thu May 25, 2017 3:22 pm

Re: LDME B43 WIFI driver issue

Post by sleeper12 »

I'm not sure about LMDE, but try:

Code: Select all

 sudo apt-get purge bcmwl-kernel-source broadcom-sta-common broadcom-sta-source && sudo apt-get install --reinstall b43-fwcutter firmware-b43-installer 
Reboot
MD11_driver

Re: LDME B43 WIFI driver issue

Post by MD11_driver »

Thx Sleeper 12 4 the advise:

mbp@ldme:~$ sudo apt-get install bcmwl-kernel-source broadcom-sta-common broadcom-sta-source
[sudo] password for mbp:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bcmwl-kernel-source

Did not provide relief. Reinstalling b43 fwcutter & firmware b43 installer somehow seems to fail on including them in the initrd module

DKMS: uninstall completed.
Error! Problems with mkinitrd detected. Automatically uninstalling this module.
DKMS: Install Failed (mkinitrd problems). Module rolled back to built state.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 7

I have given up on it for now. Hopefully this gets fixed in future versions.

Plugged in a Wifi dongle which was recognized immediately. However I still had to apply the networkmanager fix in thread viewtopic.php?f=249&t=314977 before I could log in to my wifi network.

Ya'll stay healthy..
sleeper12
Level 21
Level 21
Posts: 14607
Joined: Thu May 25, 2017 3:22 pm

Re: LDME B43 WIFI driver issue

Post by sleeper12 »

I checked my Debian machine that has the same wifi driver as you. All it has installed is broadcom-sta-dkms & b43-fwcutter. Maybe if you remove those & install them again, it will succeed.
Skink

Re: LDME B43 WIFI driver issue

Post by Skink »

There is a lot of literature on this, because Debian is very anti-proprietary drivers, but what worked for me turned out to be very simple.

I have Broadcom wireless card BCM4352 (PCI ID 14e4:43b1). So, in Software Manager, I installed broadcom-sta-dkms and re-booted.

You can determine your card either by:
1) consulting “System Reports > System Information > Network” info via:
a) the icon in the right side of the taskbar (a book with an exclamation mark), or
b) Menu > Administration > System Reports …; or
2) with this command:

Code: Select all

lspci -vnn | grep Network
For a longer explanation about the various Broadcom cards and drivers, see: https://wiki.debian.org/bcm43xx#supported-b43

In the “Drivers” section, you’ll want to follow the link for the driver that supports your device. That’s how I determined that the Debian 9 driver (which supports my card) is “wl”, a/k/a “broadcom-sta” a/k/a “broadcom-sta-dkms”, which was already in the cached repositories.

You will probably want to undo those other changes you made before implementing the solution recommended on the Debian wiki.

Hope this helps.
Locked

Return to “Networking”