Broadcom BCM4356 wifi chipset firmware is not working

Bug #1772624 reported by Jean-Pierre Thomasset
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hello,

After upgrading to Ubuntu 18.04 I got an issue with the wifi chipset (Broadcom BCM4356) not initializing properly.

Here is the error I got when loading the driver brcmfmac:

```
[ 8189.092819] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac4356-pcie.bin for chip 0x004356(17238) rev 0x000002
[ 8189.093100] brcmfmac 0000:04:00.0: Direct firmware load for brcm/brcmfmac4356-pcie.txt failed with error -2
[ 8191.568544] brcmfmac: brcmf_msgbuf_query_dcmd: Timeout on response for query command
[ 8191.568562] brcmfmac: brcmf_c_preinit_dcmds: Retreiving cur_etheraddr failed, -5
[ 8191.568570] brcmfmac: brcmf_bus_started: failed: -5
[ 8191.568588] brcmfmac: brcmf_pcie_attach_bus: dongle is not responding
```

As seen here https://answers.launchpad.net/ubuntu/+question/668329, I reverted to the previous linux-firmware version and then the wifi chipset is working:

Previous firmware package: https://packages.ubuntu.com/artful-updates/linux-firmware

```
[10087.698214] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac4356-pcie.bin for chip 0x004356(17238) rev 0x000002
[10087.698634] brcmfmac 0000:04:00.0: Direct firmware load for brcm/brcmfmac4356-pcie.txt failed with error -2
[10088.104176] brcmfmac 0000:04:00.0: Direct firmware load for brcm/brcmfmac4356-pcie.clm_blob failed with error -2
[10088.104186] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available(err=-2), device may have limited channels available
[10088.105170] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 22 2015 06:16:41 version 7.35.180.119 (r594535) FWID 01-1a5c4016
[10088.179872] brcmfmac 0000:04:00.0 wlp4s0: renamed from wlan0
```

The problem seems to have been reported to the linux-wireless mailing list but no fix has been committed apparently : https://www.spinics.net/lists/linux-wireless/msg168687.html

System information:
Description: Ubuntu 18.04 LTS
Release: 18.04

linux-image-4.15.0-20-generic:
  Installé : 4.15.0-20.21
  Candidat : 4.15.0-20.21
 Table de version :
 *** 4.15.0-20.21 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

linux-firmware:
  Installé : 1.173
  Candidat : 1.173
 Table de version :
 *** 1.173 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status

Regards,
Jean Pierre.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-firmware (Ubuntu):
status: New → Confirmed
Revision history for this message
Jean-Pierre Thomasset (jpthomasset) wrote :

I still have the issue with the latest version of the linux-firmware package (1.173.1). However the firmware (brcm/brcmfmac4356-pcie.bin) in the official linux-firmware repository solves my issue.

The fix was introduced in the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=fe4a9d49d44c40a7bc32cdd9529e6a5c8ac92519

Regards,
Jean-Pierre.

Revision history for this message
Uli Tillich (utillich) wrote :

@jean-Pierre: Thank you very much, manually overwriting the .bin file with the one form the commit you mentioned fixed it. Lets hope the fixed is packaged for 18.04 soon.

Revision history for this message
Orestis Ioannou (orestis-8) wrote :

Fix not working for me, i still get
[ 145.578369] brcmfmac 0000:04:00.0: firmware: failed to load brcm/brcmfmac4356-pcie.clm_blob (-2)
[ 145.578379] brcmfmac 0000:04:00.0: Direct firmware load for brcm/brcmfmac4356-pcie.clm_blob failed with error -2

Anyone knows something more about this?

Revision history for this message
Jean-Pierre Thomasset (jpthomasset) wrote :

@orestis-8 Did you try the previous ubuntu package or the newest files from the official linux-firmware git repo ?

Revision history for this message
Orestis Ioannou (orestis-8) wrote :

I tried the latest bin from the linux-firmware with no luck.

Revision history for this message
Alex Hung (alexhung) wrote :

I recalled trying the firmware in 16.04 (.5?) and it worked. You can boot from USB and copy brcmfmac4356-pcie.bin.

Revision history for this message
Hiroki Matsuura (nico-soin) wrote :
Download full text (3.9 KiB)

Does anyone know this problem was resolved or not?
My system is Kubuntu 21.10.

lshw
 *-network
       description: Wireless interface
       product: BCM4356 802.11ac Wireless Network Adapter
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlan1
       version: 02

Ksystemlog says
2022/01/22 2:49 NetworkManager <info> [1642787376.6460] device (wlan1): Activation: starting connection 'elecom-b3306f' (81bdc1ee-e44b-4121-aab5-62f3395e399d)
2022/01/22 2:49 NetworkManager <info> [1642787376.6482] audit: op="connection-activate" uuid="81bdc1ee-e44b-4121-aab5-62f3395e399d" name="elecom-b3306f" pid=1168 uid=1000 result="success"
2022/01/22 2:49 NetworkManager <info> [1642787376.6486] device (wlan1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
2022/01/22 2:49 NetworkManager <info> [1642787376.6503] manager: NetworkManager state is now CONNECTING
2022/01/22 2:49 NetworkManager <info> [1642787376.6512] device (wlan1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
2022/01/22 2:49 NetworkManager <info> [1642787376.6535] device (wlan1): Activation: (wifi) access point 'elecom-b3306f' has security, but secrets are required.
2022/01/22 2:49 NetworkManager <info> [1642787376.6536] device (wlan1): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
2022/01/22 2:49 NetworkManager <info> [1642787376.6547] sup-iface[039a263b9d4622b5,1,wlan1]: wps: type pbc start...
2022/01/22 2:49 wpa_supplicant wlan1: WPS-PBC-ACTIVE
2022/01/22 2:49 NetworkManager <info> [1642787376.7249] device (wlan1): supplicant interface state: disconnected -> scanning
2022/01/22 2:49 NetworkManager <info> [1642787376.7251] device (p2p-dev-wlan1): supplicant management interface state: disconnected -> scanning
2022/01/22 2:49 NetworkManager <info> [1642787376.7502] device (wlan1): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
2022/01/22 2:49 NetworkManager <info> [1642787376.7523] device (wlan1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
2022/01/22 2:49 NetworkManager <info> [1642787376.7549] device (wlan1): Activation: (wifi) connection 'elecom-b3306f' has security, and secrets exist. No new secrets needed.
2022/01/22 2:49 NetworkManager <info> [1642787376.7564] Config: added 'ssid' value 'elecom-b3306f'
2022/01/22 2:49 NetworkManager <info> [1642787376.7565] Config: added 'scan_ssid' value '1'
2022/01/22 2:49 NetworkManager <info> [1642787376.7565] Config: added 'bgscan' value 'simple:30:-70:86400'
2022/01/22 2:49 NetworkManager <info> [1642787376.7566] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
2022/01/22 2:49 NetworkManager <info> [1642787376.7566] Config: added 'psk' value '<hidden>'
2022/01/22 2:49 NetworkManager <info> [1642787376.7853] device (wlan1): supplicant interface state: scanning -> inactive
2022/01/22 2:49 NetworkManager <info> [1642787376.7870] device (p2p-dev-wlan1): supplicant management interface state: scanning -> inactive
2022/01/22 2:49 wpa_supplicant wlan1: Trying to associate with SSID 'elecom-...

Read more...

Revision history for this message
Juerg Haefliger (juergh) wrote :

PLease open a new ticket.

Changed in linux-firmware (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Hiroki Matsuura (nico-soin) wrote :

I opened new bug (Bug #1958911).

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-firmware (Ubuntu) because there has been no activity for 60 days.]

Changed in linux-firmware (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.