You are not logged in.

#1 2017-09-28 20:35:34

basie
Member
Registered: 2017-09-28
Posts: 5

XPS 13 brcmfmac BRCMF_C_GET_ASSOCLIST unsupported

Happy Arch user on a Dell XPS 13 (9350). Hoping someone can help me with a nagging wireless issue.

On a fairly regular basis (around once or twice a day, though at different times and not always after an obvious event e.g. lid closure or suspend) I will lose connection. That is, i3bar will tell me I'm still connected, and that I still have an IP, but no ping response from any server.

In this state, when I attempt to change wireless connection using netctl-auto switch-to, I get

WPA association/authentication failed for interface 'wlp58s0'

(Obviously all the keys are correct as the connections work at other times.) The only thing that seems to cure this state is a reboot, and it always fixes the problem.

During the reboot I often see this message (see below for journalctl output):

brcmfmac: brcmf_msgbuf_tx_ioctl: Failed to reserve space in commonring

Some details:

~$ lspci -vnn | grep -i net
3a:00.0 Network controller [0280]: Broadcom Limited BCM4350 802.11ac Wireless Network Adapter [14e4:43a3] (rev 08)
	Subsystem: Dell BCM4350 802.11ac Wireless Network Adapter [1028:0021]

~$ lsmod | grep brcmfmac
brcmfmac              233472  0
brcmutil               16384  1 brcmfmac
cfg80211              516096  1 brcmfmac
mmc_core              122880  2 rtsx_pci_sdmmc,brcmfmac
usbcore               208896  7 uvcvideo,usbhid,cdc_acm,xhci_pci,brcmfmac,btusb,xhci_hcd

~$ pacman -Q linux
linux 4.13.3-1

Fortunately, as I was typing this up it happened again. Here's the output of journalctl | grep brcmfmac since I turned the laptop on (cold start) this morning:

Sep 29 08:04:09 thelonious kernel: usbcore: registered new interface driver brcmfmac
Sep 29 08:04:09 thelonious kernel: brcmfmac 0000:3a:00.0: enabling device (0000 -> 0002)
Sep 29 08:04:11 thelonious kernel: brcmfmac 0000:3a:00.0: Direct firmware load for brcm/brcmfmac4350-pcie.txt failed with error -2
Sep 29 08:04:11 thelonious kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 22 2015 06:16:26 version 7.35.180.119 (r594535) FWID 01-e791c176
Sep 29 08:04:11 thelonious kernel: brcmfmac 0000:3a:00.0 wlp58s0: renamed from wlan0
Sep 29 08:55:42 thelonious kernel: brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
Sep 29 08:55:42 thelonious kernel: brcmfmac: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST unsupported, err=-5
Sep 29 08:55:44 thelonious kernel: brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
... snip multiple identical errors ...
Sep 29 08:57:57 thelonious kernel: brcmfmac: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST unsupported, err=-5
Sep 29 08:57:57 thelonious kernel: brcmfmac: brcmf_msgbuf_tx_ioctl: Failed to reserve space in commonring
Sep 29 08:57:57 thelonious kernel: brcmfmac: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST unsupported, err=-12
Sep 29 08:58:00 thelonious kernel: brcmfmac: brcmf_msgbuf_tx_ioctl: Failed to reserve space in commonring
... snip multiple identical errors ...
Sep 29 08:58:20 thelonious kernel: brcmfmac: brcmf_msgbuf_tx_ioctl: Failed to reserve space in commonring
Sep 29 08:58:20 thelonious kernel: brcmfmac: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST unsupported, err=-12

So, two questions:

1. What further steps can I take to diagnose this? Obviously the module is receiving a command it doesn't support (I note this patch from 2015 https://patchwork.kernel.org/patch/7354871/) but I'm not sure where to go from here.

2.  What is it about rebooting that solves the issue that I could try from a terminal to narrow my search? I've been using Linux as a daily driver for over 20 years now... every time I'm forced to reboot, I die a little inside!

Offline

#2 2017-09-29 13:11:54

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: XPS 13 brcmfmac BRCMF_C_GET_ASSOCLIST unsupported

Have you tried just restarting the network interface/services instead of rebooting to see if that fixes the issue?


Matt

"It is very difficult to educate the educated."

Offline

#3 2017-09-29 23:19:12

basie
Member
Registered: 2017-09-28
Posts: 5

Re: XPS 13 brcmfmac BRCMF_C_GET_ASSOCLIST unsupported

Thanks for the response. So, I don't know much about kernel-level stuff but I sort of assumed that if the module itself was affected, restarting the service wouldn't change that. However, I've tried it a few times with this result:

~$ sudo systemctl restart netctl-auto@wlp57s0.service
A dependency job for netctl-auto@wlp57s0.service failed. See 'journalctl -xe' for details.

~$ sudo journalctl -xe 
Sep 30 10:51:58 thelonious sudo[3626]:    basie : TTY=pts/2 ; PWD=/home/basie ; USER=root ; COMMAND=/usr/bin/systemctl restart netctl-auto@wlp5
Sep 30 10:51:58 thelonious sudo[3626]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 30 10:51:58 thelonious systemd[1]: Unnecessary job for sys-subsystem-net-devices-wlp57s0.device was removed.
-- Subject: Unit sys-subsystem-net-devices-wlp57s0.device has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit sys-subsystem-net-devices-wlp57s0.device has failed.
-- 
-- The result is collected.
Sep 30 10:51:58 thelonious systemd[1]: netctl-auto@wlp57s0.service: Bound to unit sys-subsystem-net-devices-wlp57s0.device, but unit isn't acti
Sep 30 10:51:58 thelonious systemd[1]: Dependency failed for Automatic wireless network connection using netctl profiles.
-- Subject: Unit netctl-auto@wlp57s0.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl-auto@wlp57s0.service has failed.
-- 
-- The result is dependency.
Sep 30 10:51:58 thelonious systemd[1]: netctl-auto@wlp57s0.service: Job netctl-auto@wlp57s0.service/start failed with result 'dependency'.
Sep 30 10:51:58 thelonious sudo[3626]: pam_unix(sudo:session): session closed for user root
Sep 30 10:52:00 thelonious kernel: brcmfmac: brcmf_msgbuf_tx_ioctl: Failed to reserve space in commonring
Sep 30 10:52:00 thelonious kernel: brcmfmac: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST unsupported, err=-12
...snip identical messages...
Sep 30 10:52:05 thelonious kernel: brcmfmac: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST unsupported, err=-12
Sep 30 10:52:10 thelonious kernel: net_ratelimit: 2 callbacks suppressed
Sep 30 10:52:10 thelonious kernel: brcmfmac: brcmf_msgbuf_tx_ioctl: Failed to reserve space in commonring
...etc...

Offline

#4 2017-10-18 04:08:00

Barbapapa
Member
Registered: 2017-10-18
Posts: 2

Re: XPS 13 brcmfmac BRCMF_C_GET_ASSOCLIST unsupported

Hello dears,

(First, yes, I am quite a bit outside of the forum rules as my laptop runs an up-to-date Fedora 26).
I post here as I have the same exact symptoms that Basie.

Laptop is XPS13 (9350) purchased on 05/2016.
The symptom appeared first on 29/08/2017 (my current journal starts on july, so I'm quite sure of the date).
The "systemctl restart NetworkManager"  does not fix the issue. Only a reboot does.

Boot log is :

<file>
Oct 18 05:16:16 xps13.trychlos.lan kernel: usbcore: registered new interface driver brcmfmac
Oct 18 05:16:16 xps13.trychlos.lan kernel: brcmfmac 0000:3a:00.0: enabling device (0000 -> 0002)
Oct 18 05:16:16 xps13.trychlos.lan kernel: brcmfmac 0000:3a:00.0: Direct firmware load for brcm/brcmfmac4350-pcie.txt failed with error -2
Oct 18 05:16:16 xps13.trychlos.lan kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 22 2015 06:16:26 version 7.35.180.119 (r594535) FWID 01-e791c176
Oct 18 05:16:16 xps13.trychlos.lan kernel: brcmfmac 0000:3a:00.0 wlp58s0: renamed from wlan0
Oct 18 05:16:18 xps13.trychlos.lan NetworkManager[973]: <info>  [1508296578.8731] rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.4/0000:3a:00.0/ieee80211/phy0/rfkill1) (driver brcmfmac)
Oct 18 05:16:19 xps13.trychlos.lan kernel: brcmfmac: brcmf_p2p_create_p2pdev: set p2p_disc error
Oct 18 05:16:19 xps13.trychlos.lan kernel: brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlp58s0 type 10 failed: err=-16
</file>

An example of log when an error occurs is :

<code>
Oct 17 05:40:20 xps13.trychlos.lan kernel: brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
Oct 17 05:40:20 xps13.trychlos.lan kernel: brcmfmac: brcmf_run_escan: error (-5)
Oct 17 05:40:20 xps13.trychlos.lan kernel: brcmfmac: brcmf_cfg80211_scan: scan error (-5)
Oct 17 05:40:25 xps13.trychlos.lan kernel: brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
Oct 17 05:40:27 xps13.trychlos.lan kernel: brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
Oct 17 05:40:27 xps13.trychlos.lan kernel: brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -5
</code>

Last three lines being repeated for about 45mn - 1hour, then :

<code>
Oct 17 05:42:32 xps13.trychlos.lan kernel: brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
Oct 17 05:42:32 xps13.trychlos.lan kernel: brcmfmac: brcmf_msgbuf_tx_ioctl: Failed to reserve space in commonring
Oct 17 05:42:32 xps13.trychlos.lan kernel: brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -12
Oct 17 05:42:32 xps13.trychlos.lan kernel: brcmfmac: brcmf_msgbuf_tx_ioctl: Failed to reserve space in commonring
Oct 17 05:42:32 xps13.trychlos.lan kernel: brcmfmac: brcmf_msgbuf_tx_ioctl: Failed to reserve space in commonring
Oct 17 05:42:32 xps13.trychlos.lan kernel: brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -12
</code>

Last three lines being repeated until next boot sad

On my side, the issue rather appears when I do not use the laptop, either the lid is closed, or opened and in standby state, and with the same frequency (one or two times per day).
It does not depend of the wi-fi network, as I often connect to at least three distinct nets.

Any hint to help diagnose (or better to fix) would be more than welcome.
Best regards

Offline

#5 2017-10-18 20:01:27

basie
Member
Registered: 2017-09-28
Posts: 5

Re: XPS 13 brcmfmac BRCMF_C_GET_ASSOCLIST unsupported

I understand the interest from non-Arch circles, it's a bit of a niche bug and tough to research smile I'm starting to wonder if maybe I should cast a wider net.

Offline

#6 2017-10-18 20:46:57

Barbapapa
Member
Registered: 2017-10-18
Posts: 2

Re: XPS 13 brcmfmac BRCMF_C_GET_ASSOCLIST unsupported

Indeed.
We may suspect either the XPS13 firmware, or the brcmfmac driver itself. But I don't know how widely this driver is used in the laptops. And Google search does not exhibit many tracks on this issue.

Another fact I noticed is that Dell released a firmware update some months ago : this update has been advertised in my Fedora, but the update itself has failed, without any apparent dommage.. Unfortunately I cannot remember when this update occured (more or less this last summer)  sad Do you have encountered this same sort of thing ?

Offline

#7 2017-10-18 20:54:08

basie
Member
Registered: 2017-09-28
Posts: 5

Re: XPS 13 brcmfmac BRCMF_C_GET_ASSOCLIST unsupported

I did a BIOS/firmware upgrade prior to starting this thread... it was successful, but didn't fix the problem.

Offline

#8 2017-11-15 06:59:40

basie
Member
Registered: 2017-09-28
Posts: 5

Re: XPS 13 brcmfmac BRCMF_C_GET_ASSOCLIST unsupported

I've added a Super User question in case anyone else has seen this: https://superuser.com/questions/1268499 … nsupported.

Offline

Board footer

Powered by FluxBB