Broadcom BCM4356 wifi chipset firmware is not working

Bug #1772624 reported by Jean-Pierre Thomasset on 2018-05-22
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
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.

Launchpad Janitor (janitor) wrote :

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

Changed in linux-firmware (Ubuntu):
status: New → Confirmed

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.

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.

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?

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

Orestis Ioannou (orestis-8) wrote :

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

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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions