View Issue Details

IDProjectCategoryView StatusLast Update
0006283Kali LinuxGeneral Bugpublic2020-12-01 10:41
Reporterjamesmacwhite Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionopen 
Product Version2020.1 
Summary0006283: brcmfmac driver sometimes fails after suspend/resume
Description

I don't think this is strictly a Kali issue but wanted to flag that the brcmfmac driver seems to exhibit interesting errors when coming out of suspend sometimes, however it's not entirely consistent to reproduce on demand. The main issue is after resuming, the driver seems to fail and throw errors like the dmseg output below.

[33979.798876] ieee80211 phy0: brcmf_msgbuf_query_dcmd: Timeout on response for query command
[33985.942830] ieee80211 phy0: brcmf_cfg80211_set_power_mgmt: error (-5)
[33987.990757] ieee80211 phy0: brcmf_msgbuf_query_dcmd: Timeout on response for query command
[33987.990773] ieee80211 phy0: _brcmf_set_multicast_list: Setting mcast_list failed, -5
[33990.038762] ieee80211 phy0: brcmf_msgbuf_query_dcmd: Timeout on response for query command
[33990.038768] ieee80211 phy0: _brcmf_set_multicast_list: Setting allmulti failed, -5
[33992.087776] ieee80211 phy0: brcmf_msgbuf_query_dcmd: Timeout on response for query command
[33992.087788] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-5)
[33994.134764] ieee80211 phy0: brcmf_msgbuf_query_dcmd: Timeout on response for query command
[33994.134778] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-5)

This from a Dell XPS 9550 which has the following Broadcom WiFI card inside:

02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43602 802.11ac Wireless LAN SoC [14e4:43ba] (rev 01)

It has been tracked across multiple Linux distro's so it suggests it's either a kernel bug or a problem with the brcmfmac driver itself, which is coming from the firmware-brcm80211 package.

It seems to have been happening for sometime if the bugzilla reference is anything to go by, an interesting comment from someone more recently suggests that the 5.5 kernel may resolve it, but I think Kali is under 5.4 currently, so I cannot confirm.

A couple of workarounds are potentially available:

  1. Disable power saving by running iw dev wlan0 set power_save off
  2. Unload and load the brcmfmac driver again with modprobe if the driver craps out.
Additional Information

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

Activities

g0tmi1k

g0tmi1k

2020-12-01 10:41

administrator   ~0013752

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.
Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/downloads/)?
If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2020-04-13 15:08 jamesmacwhite New Issue
2020-12-01 10:41 g0tmi1k Note Added: 0013752
2020-12-01 10:41 g0tmi1k Status new => closed