You are not logged in.

#1 2023-01-10 21:19:37

LunarTroglodyte
Member
Registered: 2023-01-10
Posts: 9

[SOLVED] Broadcom Wifi stopped working after update

Pretty  much the title.

According to pacman.log:

upgraded linux-firmware (20221109.60310c2-2 -> 20221214.f3c283e-1)`

Card is

lspci -vnn -d 14e4:

gives

05:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries Device [14e4:43c3] (rev 04)
	Subsystem: ASUSTeK Computer Inc. Device [1043:86fb]
	Flags: fast devsel, IRQ 19
	Memory at 56000000 (64-bit, non-prefetchable) [size=32K]
	Memory at 55800000 (64-bit, non-prefetchable) [size=8M]
	Memory at 50400000 (64-bit, prefetchable) [size=4M]
	Capabilities: [48] Power Management version 3
	Capabilities: [58] MSI: Enable- Count=1/32 Maskable- 64bit+
	Capabilities: [68] Vendor Specific Information: Len=44 <?>
	Capabilities: [ac] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Device Serial Number 00-00-00-ff-ff-00-00-00
	Capabilities: [150] Power Budgeting <?>
	Capabilities: [160] Virtual Channel
	Capabilities: [1b0] Latency Tolerance Reporting
	Capabilities: [220] Physical Resizable BAR
	Kernel modules: brcmfmac, wl

Which should be supported by the brcfmac kernel module. Which is loaded

lsmod | grep brcmfmac

gives

brcmfmac              507904  0
brcmutil               24576  1 brcmfmac
cfg80211             1126400  1 brcmfmac
mmc_core              233472  1 brcmfmac

However firmware is not loaded

dmesg -k | grep brcmfmac

shows

[    7.085441] usbcore: registered new interface driver brcmfmac
[    7.085468] brcmfmac 0000:05:00.0: enabling device (0000 -> 0002)
[    7.191564] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4366c-pcie for chip BCM4366/4
[    7.194042] brcmfmac 0000:05:00.0: Direct firmware load for brcm/brcmfmac4366c-pcie.Gigabyte Technology Co., Ltd.-Z390 UD.bin failed with error -2
[    7.228008] brcmfmac 0000:05:00.0: Direct firmware load for brcm/brcmfmac4366c-pcie.txt failed with error -2
[    7.228300] brcmfmac 0000:05:00.0: Direct firmware load for brcm/brcmfmac4366c-pcie.clm_blob failed with error -2
[    8.074677] brcmfmac 0000:05:00.0: brcmf_pcie_init_ringbuffers: invalid max_flowrings(264)

The failed files are not present

ls /lib/firmware/brcm/ | grep 4366c

only shows

brcmfmac4366c-pcie.bin.xz

Of course the actual symptom is that no wireless interface is created.

ip link show

only displays loopback and ethernet.

I also read on the driver homepage that

Some new devices are storing the nvram which is needed in addition to the firmware by the driver in an EFI variable ...

However /sys/firmware/efi/efivars/ does not contain any nvram-... file.

Any advice would be much appreciated.

Last edited by LunarTroglodyte (2023-01-12 08:26:23)

Offline

#2 2023-01-10 21:31:30

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Broadcom Wifi stopped working after update

wl blacklists brcmfmac and no kernel module is in use for the device.

uname -a
pacman -Qs 'linux|broadcom'

Edit: "wl" is maybe not a very narrow match wink
Please use "broadcom" instead (like in the edited command)

Last edited by seth (2023-01-10 21:32:27)

Offline

#3 2023-01-10 21:38:45

LunarTroglodyte
Member
Registered: 2023-01-10
Posts: 9

Re: [SOLVED] Broadcom Wifi stopped working after update

uname -a
Linux reaperII 6.1.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 07 Jan 2023 15:10:07 +0000 x86_64 GNU/Linux

and

pacman -Qs 'linux|broadcom'
local/alsa-lib 1.2.8-1
    An alternative implementation of Linux sound support
local/alsa-utils 1.2.8-1
    Advanced Linux Sound Architecture - Utilities
local/archlinux-keyring 20221220-1 (base-devel)
    Arch Linux PGP keyring
local/avahi 0.8+22+gfd482a7-3
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/bashtop 0.9.25-1
    Linux resource monitor
local/ecryptfs-utils 111-7
    Enterprise-class stacked cryptographic filesystem for Linux
local/efibootmgr 18-1
    Linux user-space application to modify the EFI Boot Manager
local/filesystem 2022.10.18-1
    Base Arch Linux files
local/ibus 1.5.27-1
    Next Generation Input Bus for Linux
local/iptables 1:1.8.8-2
    Linux kernel packet control tool (using legacy interface)
local/joyutils 1.8.1-1
    jscal, jstest, and jsattach utilities for the Linux joystick driver
local/keyutils 1.6.3-1
    Linux Key Management Utilities
local/kmod 30-3
    Linux kernel module management tools and library
local/libaio 0.3.113-1
    The Linux-native asynchronous I/O facility (aio) library
local/libcamera 0.0.3-3
    A complex camera support library for Linux, Android, and ChromeOS
local/libcap-ng 0.8.3-1
    A library for Linux that makes using posix capabilities easy
local/libiec61883 1.2.0-7
    A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libimobiledevice 1.3.0-5
    Library that talks the protocols to support iPhone and iPod Touch devices on Linux
local/libraw1394 2.1.2-3
    Provides an API to the Linux IEEE1394 (FireWire) driver
local/liburing 2.3-1
    Linux-native io_uring I/O access library
local/libva 2.17.0-1
    Video Acceleration (VA) API for Linux
local/libxshmfence 1.3.2-1
    a library that exposes a event API on top of Linux futexes
local/lightdm-webkit-theme-aether 2.2.2-1
    A sleek, customizable Archlinux theme for lightdm.
local/linux 6.1.4.arch1-1
    The Linux kernel and modules
local/linux-api-headers 5.18.15-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20221214.f3c283e-1
    Firmware files for Linux
local/linux-firmware-whence 20221214.f3c283e-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license details
local/linux-headers 6.1.4.arch1-1
    Headers and scripts for building modules for the Linux kernel
local/lsp-plugins 1.2.4-1 (ladspa-plugins lv2-plugins pro-audio vst-plugins)
    Collection of free plugins compatible with LADSPA, LV2 and LinuxVST
local/man-pages 6.02-1
    Linux man pages
local/mdadm 4.2-2
    A tool for managing/monitoring Linux md device arrays, also known as Software RAID
local/ndctl 74-1
    Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
local/net-tools 2.10-1
    Configuration tools for Linux networking
local/nvidia 525.78.01-2
    NVIDIA drivers for linux
local/pacman-mirrorlist 20221204-1
    Arch Linux mirror list for use by pacman
local/signal-desktop 6.1.0-1
    Signal Private Messenger for Linux
local/skypeforlinux-stable-bin 8.92.0.401-1
    Skype for Linux - Stable/Release Version
local/stoken 0.92-4
    RSA SecurID-compatible software token for Linux/UNIX systems
local/teams 1.5.00.23861-1
    Microsoft Teams for Linux is your chat-centered workspace in Office 365
local/torbrowser-launcher 0.3.6-1
    Securely and easily download, verify, install, and launch Tor Browser in Linux
local/ttf-linux-libertine 5.3.0-8
    Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage
local/util-linux 2.38.1-1
    Miscellaneous system utilities for Linux
local/util-linux-libs 2.38.1-1
    util-linux runtime libraries
local/v4l-utils 1.22.1-1
    Userspace tools and conversion library for Video 4 Linux
local/v4l2ucp 2.0.2-6
    A universal control panel for Video for Linux Two (V4L2) devices

Offline

#4 2023-01-10 21:40:54

LunarTroglodyte
Member
Registered: 2023-01-10
Posts: 9

Re: [SOLVED] Broadcom Wifi stopped working after update

Update:

wl module is loaded on startup but I do not know why.

lsmod | grep wl
wl                   6512640  0
cfg80211             1126400  2 wl,brcmfmac

I blacklisted wl by adding /etc/nowl.conf
with content

# Do not load wl module
blacklist wl

Do I need to set any special access rights?

However, no change.

Last edited by LunarTroglodyte (2023-01-10 21:47:02)

Offline

#5 2023-01-10 21:49:56

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Broadcom Wifi stopped working after update

There seems no broadcom-wl package installed, do you possibly have the module in the initramfs, but removed the package afterwards?

Offline

#6 2023-01-10 21:51:49

LunarTroglodyte
Member
Registered: 2023-01-10
Posts: 9

Re: [SOLVED] Broadcom Wifi stopped working after update

Possible, I did install broadcom-wl when trying to fix the problem. But uninstalled after it didn't help.

Offline

#7 2023-01-10 22:03:56

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Broadcom Wifi stopped working after update

You'll have to rebuild the initramfs to get rid of it.
That doesn't explain why the NIC isn't used, though.
Check "rfkill" and in doubt post the system journal.

Offline

#8 2023-01-10 22:12:13

LunarTroglodyte
Member
Registered: 2023-01-10
Posts: 9

Re: [SOLVED] Broadcom Wifi stopped working after update

LOL just tried to rebuild initramfs and bricked the system. (grub not loading up anymore)
No worries. Will investigate tomorrow with a live stick...

Offline

#9 2023-01-11 16:10:21

serpent607
Member
Registered: 2023-01-11
Posts: 6

Re: [SOLVED] Broadcom Wifi stopped working after update

I also encountered this issue this morning after upgrading to linux 6.1.4 — uname -a output:

Linux serpent 6.1.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 07 Jan 2023 15:10:07 +0000 x86_64 GNU/Linux

I tried installing broadcom-wl.  dmesg -k | grep brcmfmac no longer lists firmware load errors, but sill can't see device.  iw dev and rfkill list both produce nothing.

Here is my dump of journalctl -b.

I suspect it's a problem with 6.1.4 — I had been running linux-firmware 20221214.f3c283e-1 with older kernels and didn't have problems with the wireless until after the kernel upgrade.

Offline

#10 2023-01-11 16:52:21

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Broadcom Wifi stopped working after update

Jan 11 10:27:52 serpent kernel: wl driver 6.30.223.271 (r587334) failed with code 1
Jan 11 10:27:52 serpent kernel: ERROR @wl_cfg80211_detach : 
Jan 11 10:27:52 serpent kernel: NULL ndev->ieee80211ptr, unable to deref wl

I'm not sure that broadcom-wl can be ecpected to support the device at all (does it w/ the older kernel?)
Do you have a journal w/p broadcom-wl?

Offline

#11 2023-01-11 17:37:01

serpent607
Member
Registered: 2023-01-11
Posts: 6

Re: [SOLVED] Broadcom Wifi stopped working after update

Here is a journal of an attempt with 6.1.1.  It did not work.  Interestingly, sddm also refused to start.

Here is a journal of 6.1.4 without broadcom-wl.

Offline

#12 2023-01-11 17:47:58

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Broadcom Wifi stopped working after update

6.1.1 doesn't loead either wl nor brcmfmac (liekly still blacklisted by wl and the out-of-tree wl module doesn't match the kernel if you didn't use the dkms version or downgrade it as well)

6.1.4 has

Jan 11 12:12:04 serpent kernel: usbcore: registered new interface driver brcmfmac
Jan 11 12:12:04 serpent kernel: brcmfmac 0000:07:00.0: enabling device (0000 -> 0002)
Jan 11 12:12:04 serpent kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4366c-pcie for chip BCM4366/4
Jan 11 12:12:04 serpent kernel: brcmfmac 0000:07:00.0: Direct firmware load for brcm/brcmfmac4366c-pcie.System manufacturer-System Product Name.bin failed with error -2
Jan 11 12:12:04 serpent kernel: brcmfmac 0000:07:00.0: Direct firmware load for brcm/brcmfmac4366c-pcie.txt failed with error -2
Jan 11 12:12:04 serpent kernel: brcmfmac 0000:07:00.0: Direct firmware load for brcm/brcmfmac4366c-pcie.clm_blob failed with error -2
Jan 11 12:12:05 serpent kernel: brcmfmac 0000:07:00.0: brcmf_pcie_init_ringbuffers: invalid max_flowrings(264)

which matches the OP

https://bugzilla.kernel.org/show_bug.cgi?id=216894

Sidebar: you've NM and dhcpcd enabled; pick one (likely NM), disable the other.

Offline

#13 2023-01-11 18:18:41

loqs
Member
Registered: 2014-03-06
Posts: 18,140

Re: [SOLVED] Broadcom Wifi stopped working after update

Does the patch linked by seth [1] resolve the issue?
https://drive.google.com/file/d/15JPlrK … share_link linux-6.1.4.arch1-1.2-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1pKivmV … share_link linux-headers-6.1.4.arch1-1.2-x86_64.pkg.tar.zst

[1] https://lore.kernel.org/linux-wireless/ … oadcom.com

Offline

#14 2023-01-11 19:05:52

serpent607
Member
Registered: 2023-01-11
Posts: 6

Re: [SOLVED] Broadcom Wifi stopped working after update

The patched kernel that loqs supplied resolved the wireless problem, but systemd refuses to bring my DM up.

Edit: journalctl dump

Last edited by serpent607 (2023-01-11 19:12:33)

Offline

#15 2023-01-11 19:21:28

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Broadcom Wifi stopped working after update

Unrelated

Jan 11 14:05:23 serpent systemd-modules-load[276]: Failed to find module 'nvidia-uvm'
Jan 11 14:05:23 serpent systemd-modules-load[276]: Failed to find module 'vboxdrv'
Jan 11 14:05:23 serpent systemd-modules-load[276]: Failed to find module 'vboxnetadp'
Jan 11 14:05:23 serpent systemd-modules-load[276]: Failed to find module 'vboxnetflt'

looks like a dkms issue?
Or partial upgrade?
Or you've an older nvidia module in the initramfs?

If you can't resolve it yourself, start a new thread to keep this one on topic and post the output of

pacman -Qs 'linux|nvidia'
dkms status

Offline

#16 2023-01-11 21:29:59

LunarTroglodyte
Member
Registered: 2023-01-10
Posts: 9

Re: [SOLVED] Broadcom Wifi stopped working after update

@loqs
The packages you postet resulted in a frozen boot sequence for me.
Still no wifi so far...

Offline

#17 2023-01-11 21:35:51

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Broadcom Wifi stopped working after update

Post a complete system journal (ideally for the "frozen" boot, but otherwise any)
Can you still boot the multi-user.target w/ loqs' kernel? (2nd link below)

Offline

#18 2023-01-11 22:02:41

LunarTroglodyte
Member
Registered: 2023-01-10
Posts: 9

Re: [SOLVED] Broadcom Wifi stopped working after update

Journal Dump of Kernel thats booting:
https://0x0.st/o7L_.txt

Offline

#19 2023-01-11 22:14:26

LunarTroglodyte
Member
Registered: 2023-01-10
Posts: 9

Re: [SOLVED] Broadcom Wifi stopped working after update

Journal Dump of stuck kernel:
https://0x0.st/o7Lt.txt

Offline

#20 2023-01-11 22:18:52

seth
Member
Registered: 2012-09-03
Posts: 60,000

Offline

#21 2023-01-12 08:24:22

LunarTroglodyte
Member
Registered: 2023-01-10
Posts: 9

Re: [SOLVED] Broadcom Wifi stopped working after update

Thanks a lot!

Everything works again.

Offline

Board footer

Powered by FluxBB