Loss BCM43142 wifi card after update

loss BCM43142 wifi card after update:

i have two wifi cards, one is internal BCM43142 wifi card, the other is usb realtek wifi card.

after updated, i found that under the wifi drop-down list or with ifconfig command, it cannot find the BCM43142

with command lspci : 03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)

and i 've also re-install the driver with sudo pacman -S broadcom-wl-dkms with no error but some warnnings:

❯ sudo pacman -S broadcom-wl-dkms
[sudo] password for creatxr: 
warning: broadcom-wl-dkms-6.30.223.271-38.2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

warning: insufficient columns available for table display
Packages (1) broadcom-wl-dkms-6.30.223.271-38.2

Total Download Size:   1.65 MiB
Total Installed Size:  7.62 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 broadcom-wl-dkms...  1692.2 KiB  2.30 MiB/s 00:01 [----------------------] 100%
(1/1) checking keys in keyring                     [----------------------] 100%
(1/1) checking package integrity                   [----------------------] 100%
(1/1) loading package files                        [----------------------] 100%
(1/1) checking for file conflicts                  [----------------------] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove broadcom-wl/6.30.223.271
:: Processing package changes...
(1/1) reinstalling broadcom-wl-dkms                [----------------------] 100%

Unload and load kernel modules (wl is provided by broadcom-wl-dkms):

  rmmod b43 b43legacy bcm43xx bcma brcm80211 brcmfmac brcmsmac ssb tg3 wl
  modprobe wl

:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Install DKMS modules
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.13.0-2-cachyos

Error! Bad return status for module build on kernel: 6.13.0-2-cachyos (x86_64)
Consult /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log for more information.
==> WARNING: `dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.13.0-2-cachyos' exited 10
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos.img
==> Using drop-in configuration file: '10-chwd.conf'
==> Starting build: '6.13.0-2-cachyos'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [kms]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-cachyos.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos-fallback.img -S autodetect
==> Using drop-in configuration file: '10-chwd.conf'
==> Starting build: '6.13.0-2-cachyos'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'xhci_pci_renesas'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-cachyos-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(4/4) Checking which packages need to be rebuilt

Use the LTS kernel in the meantime. broadcom-wl must yet again be patched for 6.13. Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.13-rc1 · GitHub There is an available fix but Arch hasn’t adopted it yet.

I ran into the same problem with the 6.13 kernel update, losing the b43 driver. What’s the best way to prevent updates from installing the new kernel until it’s fixed for this issue?

Do a system update, the fix has landed in repos.

Thank you!

It happened again. Lost BCM43142 wifi after update to kernel 6.12.30-1-cachyos-lts. I’m running Thinkpad X131e (I’m using an external Panda wifi card to connect, works fine, so it’s a problem with the new BCM43142 driver, as the old one worked).

I’m ok waiting for a fix, just wanted to let you know. Thanks!

Can you post the dkms build log? Another user reported this too with the latest LTS kernel.

Here it is.

Install DKMS modules
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.14.8-1.1-cachyos

Error! Bad return status for module build on kernel: 6.14.8-1.1-cachyos (x86_64)
Consult /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log for more information.
==> WARNING: `dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.14.8-1.1-cachyos’ exited 10
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.12.30-1-cachyos-lts

Error! Bad return status for module build on kernel: 6.12.30-1-cachyos-lts (x86_64)
Consult /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log for more information.
==> WARNING: `dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.12.30-1-cachyos-lts’ exited 10
(3/4) Updating linux initcpios…
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos-lts.preset: ‘default’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos-lts -g /boot/initramfs-linux-cachyos-lts.img
==> Starting build: ‘6.12.30-1-cachyos-lts’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [microcode]
→ Running build hook: [kms]
→ Running build hook: [modconf]
→ Running build hook: [block]
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos-lts.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos-lts.preset: ‘fallback’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos-lts -g /boot/initramfs-linux-cachyos-lts-fallback.img -S autodetect
==> Starting build: ‘6.12.30-1-cachyos-lts’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [microcode]
→ Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ‘ast’
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘aic94xx’
==> WARNING: Possibly missing firmware for module: ‘bfa’
==> WARNING: Possibly missing firmware for module: ‘qed’
==> WARNING: Possibly missing firmware for module: ‘qla1280’
==> WARNING: Possibly missing firmware for module: ‘qla2xxx’
==> WARNING: Possibly missing firmware for module: ‘wd719x’
==> WARNING: Possibly missing firmware for module: ‘xhci_pci_renesas’
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos-lts-fallback.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: ‘default’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos.img
==> Starting build: ‘6.14.8-1.1-cachyos’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [microcode]
→ Running build hook: [kms]
→ Running build hook: [modconf]
→ Running build hook: [block]
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: ‘fallback’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos-fallback.img -S autodetect
==> Starting build: ‘6.14.8-1.1-cachyos’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [microcode]
→ Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ‘ast’
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘aic94xx’
==> WARNING: Possibly missing firmware for module: ‘bfa’
==> WARNING: Possibly missing firmware for module: ‘qed’
==> WARNING: Possibly missing firmware for module: ‘qla1280’
==> WARNING: Possibly missing firmware for module: ‘qla2xxx’
==> WARNING: Possibly missing firmware for module: ‘wd719x’
==> WARNING: Possibly missing firmware for module: ‘xhci_pci_renesas’
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos-fallback.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘default’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: ‘6.14.9-arch1-1’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [microcode]
→ Running build hook: [kms]
→ Running build hook: [modconf]
→ Running build hook: [block]
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘fallback’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: ‘6.14.9-arch1-1’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [microcode]
→ Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ‘ast’
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘aic94xx’
==> WARNING: Possibly missing firmware for module: ‘bfa’
==> WARNING: Possibly missing firmware for module: ‘qed’
==> WARNING: Possibly missing firmware for module: ‘qla1280’
==> WARNING: Possibly missing firmware for module: ‘qla2xxx’
==> WARNING: Possibly missing firmware for module: ‘wd719x’
==> WARNING: Possibly missing firmware for module: ‘xhci_pci_renesas’
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-fallback.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(4/4) Checking which packages need to be rebuilt
foreign python-future

~ 3m 37s
❯ sudo dkms autoinstall
Sign command: /usr/lib/modules/6.12.30-1-cachyos-lts/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Autoinstall of module broadcom-wl/6.30.223.271 for kernel 6.12.30-1-cachyos-lts (x86_64)
Building module(s)…(bad exit status: 2)
Failed command:
make -j4 KERNELRELEASE=6.12.30-1-cachyos-lts -C /usr/lib/modules/6.12.30-1-cachyos-lts/build M=/var/lib/dkms/broadcom-wl/6.30.223.271/build

Error! Bad return status for module build on kernel: 6.12.30-1-cachyos-lts (x86_64)
Consult /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log for more information.

Autoinstall on 6.12.30-1-cachyos-lts failed for module(s) broadcom-wl(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

Here is the make log (from “Consult /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log for more information.”)

DKMS (dkms-3.2.1) make.log for broadcom-wl/6.30.223.271 for kernel 6.12.30-1-cachyos-lts (x86_64)
Tue Jun 3 12:09:59 PM EDT 2025

Building module(s)

command: make -j4 KERNELRELEASE=6.12.30-1-cachyos-lts -C /usr/lib/modules/6.12.30-1-cachyos-lts/build M=/var/lib/dkms/broadcom-wl/6.30.223.271/build

make: Entering directory ‘/usr/lib/modules/6.12.30-1-cachyos-lts/build’
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.o
CC [M] /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_iw.o
CC [M] /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.o
In file included from /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:85:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_iw.h:73:9: warning: ‘isprint’ redefined
73 | #define isprint(c) bcm_isprint(c)
| ^~~~~~~
In file included from ./include/linux/string_helpers.h:6,
from ./include/linux/seq_file.h:7,
from ./include/linux/seq_file_net.h:5,
from ./include/net/net_namespace.h:194,
from ./include/linux/netdevice.h:38,
from /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/include/linuxver.h:69,
from /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:27:
./include/linux/ctype.h:30:9: note: this is the location of the previous definition
30 | #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0)
| ^~~~~~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:792:9: warning: this ‘if’ clause does not guard… [-Wmisleading-indentation]
792 | if ((val & 0x0000ff00) != 0)
| ^~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:794:17: note: …this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
794 | bar1_size = pci_resource_len(pdev, 2);
| ^~~~~~~~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_open’:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:1108:38: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
1108 | OLD_MOD_INC_USE_COUNT;
| ^
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_set_mac_address’:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:1864:40: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
1864 | wl->pub->unit));
| ^
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_start’:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:2254:58: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
2254 | wl->pub->unit));
| ^
In file included from /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:40:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_set_auth_type’:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.h:52:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
52 | if (wl_dbg_level & WL_DBG_DBG) {
| ^
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:808:17: note: in expansion of macro ‘WL_DBG’
808 | WL_DBG((“network eap\n”));
| ^~~~~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:809:9: note: here
809 | default:
| ^~~~~~~
In file included from ./include/linux/srcu.h:21,
from ./include/linux/notifier.h:16,
from ./arch/x86/include/asm/uprobes.h:13,
from ./include/linux/uprobes.h:52,
from ./include/linux/mm_types.h:16,
from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:7,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:17,
from /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/include/linuxver.h:40:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_down’:
./include/linux/workqueue.h:765:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
765 | __warn_flushing_systemwide_wq();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:1498:25: note: in expansion of macro ‘flush_scheduled_work’
1498 | flush_scheduled_work();
| ^~~~~~~~~~~~~~~~~~~~
LD [M] /var/lib/dkms/broadcom-wl/6.30.223.271/build/wl.o
ld: cannot find /var/lib/dkms/broadcom-wl/6.30.223.271/build/lib/wlc_hybrid.o_shipped: No such file or directory
make[2]: *** [scripts/Makefile.build:425: /var/lib/dkms/broadcom-wl/6.30.223.271/build/wl.o] Error 1
make[1]: *** [/usr/lib/modules/6.12.30-1-cachyos-lts/build/Makefile:1957: /var/lib/dkms/broadcom-wl/6.30.223.271/build] Error 2
make: *** [Makefile:224: __sub-make] Error 2
make: Leaving directory ‘/usr/lib/modules/6.12.30-1-cachyos-lts/build’

exit code: 2

elapsed time: 00:00:09


I think this should fix it.

Thanks! I’ll test it once the patch goes through as part of updates.

Just got the update, installed and rebooted. I’m back online with the BCM43142. Thanks!!