Skip to content

wlan freezes in raspberry pi 3B+ #2453

Open

Description

(see also #1342 )

I've also got that problem with wifi dying.

Mar 17 18:25:28 hassass kernel: [10279.186321] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
Mar 17 18:25:30 hassass kernel: [10281.665090] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
Mar 17 18:25:30 hassass kernel: [10281.665622] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
Mar 17 18:25:30 hassass kernel: [10281.665638] brcmfmac: brcmf_run_escan: error (-110)
Mar 17 18:25:30 hassass kernel: [10281.665647] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Mar 17 18:26:30 hassass kernel: [10341.665866] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout

This is with 4.14.27-v7+ and with
/sbin/iw dev wlan0 set power_save off
/sbin/ifconfig wlan0 promisc
in /etc/rc.local.

[    4.112717] brcmfmac: F1 signature read @0x18000000=0x15264345
[    4.119827] brcmfmac: brcmf_fw_map_chip_to_name: using
brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[    4.120314] usbcore: registered new interface driver brcmfmac
[    4.440371] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb
27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[    4.440958] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2
Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09
18:56:28
[   10.911757] brcmfmac: power management disabled
[   12.016088] brcmfmac: power management disabled
[ 2074.090674] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg
failed w/status -5
[ 2074.090687] brcmfmac: brcmf_cfg80211_get_tx_power: error (-5)
[ 2074.090745] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 2074.090753] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-5)
[ 2074.610583] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 2074.611992] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 2074.613945] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 2074.613971] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5)
[ 2074.729716] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 2074.729733] brcmfmac: brcmf_cfg80211_reg_notifier: Country code iovar
returned err = -5
[ 2074.871693] usbcore: deregistering interface driver brcmfmac
[ 2074.929084] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 2074.936897] brcmfmac: brcmf_fw_map_chip_to_name: using
brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 2074.937139] usbcore: registered new interface driver brcmfmac
[ 2075.118180] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb
27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 2075.118706] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2
Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09
18:56:28
[ 2075.215365] brcmfmac: power management disabled
[ 2075.263751] brcmfmac: power management disabled
[ 2085.475001] brcmfmac: power management disabled
[ 2124.380808] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 2124.381146] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 2124.381156] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5)
[ 2124.622345] usbcore: deregistering interface driver brcmfmac
[ 2124.705432] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 2124.714194] brcmfmac: brcmf_fw_map_chip_to_name: using
brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 2124.716213] usbcore: registered new interface driver brcmfmac
[ 2124.929556] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb
27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 2124.929993] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2
Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09
18:56:28
[ 2125.105218] brcmfmac: power management disabled
[ 2125.150290] brcmfmac: power management disabled
[ 8237.434034] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content:
0x40012
[ 8239.890302] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 8239.890822] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[ 8239.890835] brcmfmac: brcmf_run_escan: error (-110)
[ 8239.890845] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
[ 8254.280425] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg
failed w/status -5
[ 8254.280438] brcmfmac: brcmf_cfg80211_get_tx_power: error (-5)
[ 8254.280491] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8254.280498] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-5)
[ 8254.800394] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8254.803873] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8254.808353] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8254.808370] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5)
[ 8254.881402] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8254.881420] brcmfmac: brcmf_cfg80211_reg_notifier: Country code iovar
returned err = -5
[ 8255.001550] usbcore: deregistering interface driver brcmfmac
[ 8255.071184] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 8255.077098] brcmfmac: brcmf_fw_map_chip_to_name: using
brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 8255.077348] usbcore: registered new interface driver brcmfmac
[ 8257.730418] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 8257.751038] brcmfmac: brcmf_c_get_clm_name: retrieving revision info
failed (-110)
[ 8257.751049] brcmfmac: brcmf_c_process_clm_blob: get CLM blob file name
failed (-110)
[ 8257.751068] brcmfmac: brcmf_c_preinit_dcmds: download CLM blob file
failed, -110
[ 8257.751076] brcmfmac: brcmf_bus_started: failed: -110
[ 8257.751114] brcmfmac: brcmf_sdio_firmware_callback: dongle is not
responding
[ 8304.417684] usbcore: deregistering interface driver brcmfmac
[ 8304.486099] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 8304.493613] brcmfmac: brcmf_fw_map_chip_to_name: using
brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 8304.494078] usbcore: registered new interface driver brcmfmac
[ 8304.686761] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb
27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 8304.687203] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2
Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09
18:56:28
[ 8304.829994] brcmfmac: power management disabled
[ 8304.907662] brcmfmac: power management disabled
[ 8357.441791] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content:
0x40012
[ 8359.891146] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 8359.891655] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[ 8359.891668] brcmfmac: brcmf_run_escan: error (-110)
[ 8359.891677] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
[ 8371.731226] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 8371.731731] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[ 8371.731746] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)
[ 8373.941267] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg
failed w/status -5
[ 8373.941280] brcmfmac: brcmf_cfg80211_get_tx_power: error (-5)
[ 8373.941330] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8373.941338] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-5)
[ 8374.461245] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8374.461942] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8374.463553] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8374.463573] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5)
[ 8374.564729] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
to do.
[ 8374.564750] brcmfmac: brcmf_cfg80211_reg_notifier: Country code iovar
returned err = -5
[ 8374.702401] usbcore: deregistering interface driver brcmfmac
[ 8374.759839] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 8374.767561] brcmfmac: brcmf_fw_map_chip_to_name: using
brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 8374.771137] usbcore: registered new interface driver brcmfmac
[ 8377.411255] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 8377.431924] brcmfmac: brcmf_c_get_clm_name: retrieving revision info
failed (-110)
[ 8377.431934] brcmfmac: brcmf_c_process_clm_blob: get CLM blob file name
failed (-110)
[ 8377.431941] brcmfmac: brcmf_c_preinit_dcmds: download CLM blob file
failed, -110
[ 8377.431949] brcmfmac: brcmf_bus_started: failed: -110
[ 8377.432003] brcmfmac: brcmf_sdio_firmware_callback: dongle is not
responding
[ 8424.133114] usbcore: deregistering interface driver brcmfmac
[ 8424.229631] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 8424.237210] brcmfmac: brcmf_fw_map_chip_to_name: using
brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 8424.239352] usbcore: registered new interface driver brcmfmac
[ 8424.460736] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb
27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 8424.461174] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2
Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09
18:56:28
[ 8424.646993] brcmfmac: power management disabled
[ 8424.708633] brcmfmac: power management disabled

Activity

  1. ghost changed the title [-]wlan freezes in raspberry pi 3+[/-] [+]wlan freezes in raspberry pi 3B+[/+] on Mar 19, 2018
  2. digisaster commented on Mar 21, 2018

    @digisaster

    Same problem here.

    If i do a:
    sudo BRANCH=next rpi-update
    Then i have a working situation.
    After this i got:
    uname -a
    Linux raspberrypi 4.14.17-v7+ #1090 SMP Mon Feb 5 21:02:18 GMT 2018 armv7l GNU/Linux

    So i guess its kernel related.

  3. JamesH65 commented on Mar 21, 2018

    @JamesH65
    Contributor

    Interesting. So not in the current rpi-update, but in the next branch? Should make the particular change a bit easier to find.

  4. JamesH65 commented on Apr 23, 2018

    @JamesH65
    Contributor

    Not had a chance to look yet. How do you provoke the problem? We've not had many reports on B+ Wifi failing in this way, so apparently it's unusual. Have you updated to the very latest 4.14.xx kernel? Does that make any difference?

  5. JamesH65 commented on Apr 23, 2018

    @JamesH65
    Contributor

    Once I have more details on how to replicate the issues, I can send the data to Cypress for investigation. The mailbox error, IIRC, is a firmware crash, so its not something we can really deal with here, since we do not have access to the firmware.

  6. added
    Waiting for external input
    on Apr 23, 2018
  7. self-assigned this
    on Apr 23, 2018
  8. llamasoft commented on May 25, 2018

    @llamasoft

    It may be slightly off topic because it's a different distribution, but it's pretty easy to trigger this error when using Kali Pi.
    Putting the device into monitor mode (using mon0up in Kali-Pi) and running aireplay-ng --test causes it to emit the Unknown mailbox data content: 0x40012 error almost immediately. From then on, the wifi is worthless until you reboot.

    For reference, mon0up is a short shell script that runs iw phy phy0 interface add mon0 type monitor and ifconfig mon0 up and displays some brief info.

  9. cdouglas97 commented on Jun 5, 2018

    @cdouglas97

    On a project I am working on, I am getting this constantly with Kali Pi when in monitor mode. Unloading and reloading the driver works sometimes and sometimes not. Sometimes it happens after 5 seconds, sometimes after 5 minutes, very random. Verified its not a hardware problem since I have 2 Pi's and both do it. I also loaded Raspbian latest and installed latest Nextmon drivers and I get the exact same thing, Kernel is 4.14.30-Re4son-v7+ on Kali. Don't have other offhand.

  10. JamesH65 commented on Jun 6, 2018

    @JamesH65
    Contributor

    Do you get any errors listed in dmesg?

  11. cdouglas97 commented on Jun 6, 2018

    @cdouglas97
  12. Nemesis7 commented on Jun 9, 2018

    @Nemesis7

    Any news about this? I'm having this same issue. From dmesg:

    [ 4.584121] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
    [ 4.868470] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
    [ 4.869048] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28

    I wish I never executed the rpi-update; I finally got the Raspberry Pi 3 B+ working as an AP + Managed Wifi at 5GHz, but now the AP doesn't work anymore after the update. How can I downgrade the brcmfmac to a stable/working version?

  13. gdb-power commented on Jun 10, 2018

    @gdb-power

    After "Unknown mailbox data content: 0x40012" is received,
    sometimes the communication can be recovered with the following commands:

    modprobe -r brcmfmac
    modprobe brcmfmac
    

    Sometimes it doesn't recover even after modprobe -r (device is stuck).
    In that case, the following heavy-handed commands will fix the communication with the wifi device:

    echo -n "3f300000.mmc" > /sys/devices/platform/soc/3f300000.mmc/driver/unbind
    sleep 1
    echo -n "3f300000.mmc" > /sys/bus/platform/drivers/mmc-bcm2835/bind
    

    technical comment:
    rebinding the mmc driver will call probe(),
    which will call mmc:bcm2835_reset_internal(),
    which will power-cycle the SDIO device (SDVDD_POWER_OFF),
    which will properly reset & re-detect the wedged WIFI SDIO device. Phew!

  14. cdouglas97 commented on Jun 10, 2018

    @cdouglas97
  15. 182 remaining items

  16. smeierger commented on Oct 29, 2020

    @smeierger

    I have the same problem with my pi 3b+. With the firmware in raspian (Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY)), the wifi freeze when traffic occurs.
    With the firmware from https://community.cypress.com/docs/DOC-20044 or the newest from https://community.cypress.com/docs/DOC-21490 the wifi works but my raspi stuck on 2.4Ghz.
    at the moment i try the firmware from https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_20161130-3+rpt3_all.deb and it seems to work

    my wifi network used the same ssid for 2.4 and 5Ghz and i use a mesh. with the firmware from cypress the pi stuck on the mesh-master. with the firmware integrated in raspian or the older firmware from the .deb the pi switch directly to the better placed repeater

    pi runs on buster lite 5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l GNU/Linux

    greetings from germany

  17. KnuckleBob commented on Jan 6, 2021

    @KnuckleBob

    Will these patches make it into a firmware build for the RPi 3 B models?

  18. DaStivi commented on Mar 23, 2021

    @DaStivi

    is this still an issue? as iam running octoprint having following firmware:

    [   10.763771] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
    

    at 08:09 i powered on my printer and started the print.. and at 8:38 it lost the network connection!
    its pretty much repating the error messsages until i rebooted the pi now...
    and have random wifi freezes with following errors in kern.log:

    Mar 23 08:09:08 octopi kernel: [81927.415465] usb 1-1.1.3: new full-speed USB device number 8 using dwc_otg
    Mar 23 08:09:08 octopi kernel: [81927.549116] usb 1-1.1.3: New USB device found, idVendor=1d50, idProduct=6029, bcdDevice= 1.00
    Mar 23 08:09:08 octopi kernel: [81927.549146] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Mar 23 08:09:08 octopi kernel: [81927.549163] usb 1-1.1.3: Product: Marlin USB Device
    Mar 23 08:09:08 octopi kernel: [81927.549178] usb 1-1.1.3: Manufacturer: marlinfw.org
    Mar 23 08:09:08 octopi kernel: [81927.549194] usb 1-1.1.3: SerialNumber: 0C01201BAF4A09025D5E8F45F50020C7
    Mar 23 08:09:08 octopi kernel: [81927.550836] cdc_acm 1-1.1.3:1.0: ttyACM0: USB ACM device
    Mar 23 08:09:08 octopi kernel: [81927.552141] usb-storage 1-1.1.3:1.2: USB Mass Storage device detected
    Mar 23 08:09:08 octopi kernel: [81927.553244] scsi host0: usb-storage 1-1.1.3:1.2
    Mar 23 08:09:09 octopi kernel: [81928.617624] scsi 0:0:0:0: Direct-Access Marlin SDCard 01 1.0 PQ: 0 ANSI: 0 CCS
    Mar 23 08:09:09 octopi kernel: [81928.619896] sd 0:0:0:0: Attached scsi generic sg0 type 0
    Mar 23 08:09:09 octopi kernel: [81928.657142] sd 0:0:0:0: [sda] Attached SCSI removable disk
    Mar 23 08:38:54 octopi kernel: [83713.096431] mmc1: Timeout waiting for hardware interrupt.
    Mar 23 08:38:54 octopi kernel: [83713.096528] brcmfmac: mmc_submit_one: CMD53 sg block write failed -110
    Mar 23 08:38:54 octopi kernel: [83713.096562] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:38:54 octopi kernel: [83713.096774] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
    Mar 23 08:39:04 octopi kernel: [83723.336425] mmc1: Timeout waiting for hardware interrupt.
    Mar 23 08:39:04 octopi kernel: [83723.336518] brcmfmac: mmc_submit_one: CMD53 sg block write failed -110
    Mar 23 08:39:04 octopi kernel: [83723.336536] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:04 octopi kernel: [83723.336736] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
    Mar 23 08:39:04 octopi kernel: [83723.336758] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
    Mar 23 08:39:14 octopi kernel: [83733.576413] mmc1: Timeout waiting for hardware interrupt.
    Mar 23 08:39:14 octopi kernel: [83733.576507] brcmfmac: mmc_submit_one: CMD53 sg block write failed -110
    Mar 23 08:39:14 octopi kernel: [83733.576518] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:14 octopi kernel: [83733.576874] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:14 octopi kernel: [83733.576996] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:14 octopi kernel: [83733.577114] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:14 octopi kernel: [83733.577181] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
    Mar 23 08:39:14 octopi kernel: [83733.577224] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
    Mar 23 08:39:24 octopi kernel: [83743.816433] mmc1: Timeout waiting for hardware interrupt.
    Mar 23 08:39:24 octopi kernel: [83743.816516] brcmfmac: mmc_submit_one: CMD53 sg block write failed -110
    Mar 23 08:39:24 octopi kernel: [83743.816534] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:24 octopi kernel: [83743.816902] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
    Mar 23 08:39:34 octopi kernel: [83754.056437] mmc1: Timeout waiting for hardware interrupt.
    Mar 23 08:39:34 octopi kernel: [83754.056593] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:34 octopi kernel: [83754.056942] brcmfmac: mmc_submit_one: CMD53 sg block write failed -84
    Mar 23 08:39:34 octopi kernel: [83754.056959] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:34 octopi kernel: [83754.057157] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -19
    Mar 23 08:39:34 octopi kernel: [83754.057178] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -19
    Mar 23 08:39:41 octopi kernel: [83760.994773] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:41 octopi kernel: [83760.996946] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:45 octopi kernel: [83764.132319] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
    Mar 23 08:39:45 octopi kernel: [83764.132350] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
    Mar 23 08:39:45 octopi kernel: [83764.132396] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
    Mar 23 08:39:45 octopi kernel: [83764.132567] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:45 octopi kernel: [83764.132842] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:45 octopi kernel: [83764.133140] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 08:39:45 octopi kernel: [83764.133313] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
    Mar 23 19:20:41 octopi kernel: [122220.767301] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
    Mar 23 19:20:41 octopi kernel: [122220.767314] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
    Mar 23 19:20:41 octopi kernel: [122220.767329] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
    Mar 23 19:20:41 octopi kernel: [122220.767338] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -84
    Mar 23 19:20:48 octopi kernel: [122227.981278] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 19:20:51 octopi kernel: [122230.769413] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 19:20:51 octopi kernel: [122230.769538] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    Mar 23 19:20:51 octopi kernel: [122230.769657] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
    
  19. dwery commented on Mar 28, 2021

    @dwery

    Same issue with a raspberry pi 4 and
    Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
    and kernel 5.10.25-v8+

  20. morchaos commented on Apr 3, 2021

    @morchaos

    both Rpi4 and Rpi3 are seeing this issue now, and all software are up-to-date with "sudo apt upgrade"

    [ 13.011868] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
    [ 13.249616] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
    [ 13.260818] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
    [ 13.286194] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 22 2019 01:59:28 version 7.45.98.94 (r723000 CY) FWID 01-3b33decd
    [ 16.603610] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled

    my kernel is

    Linux RPi3-3 5.4.0-1032-raspi #35-Ubuntu SMP PREEMPT Fri Mar 19 20:56:57 UTC 2021 armv7l armv7l armv7l GNU/Linux

    Best,
    Jones

  21. wwebers commented on Apr 29, 2021

    @wwebers

    Very same issue here. Happened exactly after upgrading OctoPrint to version 1.6.0. Before everything worked fine.

    kernel version 5.10.17-v7+

    Another instance running OctoPrint 1.5.3 and kernel version 4.19.118-v7+ works fine without these errors.

  22. wwebers commented on Apr 30, 2021

    @wwebers

    Update: It's NOT a raspbian issue but a bug inside the latest OctoPrint plugin controlling the PSU via GPIO pins. This plugin itself contains an own GPIO plugin for compatibility reasons. But a bug inside that plugin breaks Wifi connections and produces all those error messages. Removing the GPIO plugin solves the problem.

  23. DaStivi commented on Apr 30, 2021

    @DaStivi

    Removing the GPIO plugin solves the problem.

    what todo? because i switched to klipper recently but still same octopi installation, just disabled all octoprint services (i think) and still getthe wifi outages after ah longer time of running...

    and the pi also keeps reachable on wifi when using the firmware from "2016"

  24. dwery commented on May 1, 2021

    @dwery

    Update: It's NOT a raspbian issue but a bug inside the latest OctoPrint plugin controlling the PSU via GPIO pins. This plugin itself contains an own GPIO plugin for compatibility reasons. But a bug inside that plugin breaks Wifi connections and produces all those error messages. Removing the GPIO plugin solves the problem.

    I don’t have that plug-in, the issue here is kernel related.

  25. foorschtbar commented on Jun 12, 2021

    @foorschtbar

    Same problem here. After some time with enabled webcam ( = a lot of traffic) the wifi connection is lost. Not every time, but most time. After reboot of the Pi its works without problem. I have two RPi 3B+ who works as OctoPrint printserver. One had no issues, but the other had. The working one had an older OctoPi Image. If i switch the Hardware + SD card, the problems keeps the same on one device, whats shows thats a software related problem. Update to latest versions and disable power management doesn't help

  26. ddacunha commented on Jun 13, 2021

    @ddacunha

    I am unable to connect to the Pi 4 after reboot. It happens also intermittently after a successful connection. Cannot ping, connect via ssh or http to the Pi. The Pi is able to ping out and connect to outside services. Connection is restored when I restart sshd

    # dmesg | grep "brcmfmac.*Firmware"
    [    5.577091] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
    # uname -a
    Linux flsunq5 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux
    
  27. yutayu commented on Jun 13, 2021

    @yutayu

    @ddacunha
    pi@raspberrypi:~ $ dmesg | grep "brcmfmac.*Firmware"
    [ 21.527059] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
    pi@raspberrypi:~ $ uname -a
    Linux raspberrypi 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux

    I can use wifi , now. and here is no problem.

    Edit
    pi@raspberrypi:~ $ dmesg | grep brcmfmac
    [ 20.927452] brcmfmac: F1 signature read @0x18000000=0x15264345
    [ 20.938426] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [ 20.939249] usbcore: registered new interface driver brcmfmac
    [ 21.228414] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
    [ 21.488163] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [ 21.527059] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e

    Edit
    In my case , closing port by iptables causes hostapd problem ( disassociated wifi ).
    please see systemctl status hostapd when you feel wifi strange.

  28. ddacunha commented on Jun 14, 2021

    @ddacunha

    You are correct, once I turned off power management in rc.local I have not encountered this issue

  29. foorschtbar commented on Jun 14, 2021

    @foorschtbar

    Same problem here. After some time with enabled webcam ( = a lot of traffic) the wifi connection is lost. Not every time, but most time. After reboot of the Pi its works without problem. I have two RPi 3B+ who works as OctoPrint printserver. One had no issues, but the other had. The working one had an older OctoPi Image. If i switch the Hardware + SD card, the problems keeps the same on one device, whats shows thats a software related problem. Update to latest versions and disable power management doesn't help

    I downgraded the firmware to 7.45.154 (/lib/firmware/brcm - my older Pi had these files) and disabled power management. Now, after two days of 8h printing each and enabled webcam no problems. With 7.45.229 and also disabled power management it freezes. The firmware files were the only thing I changed. Also interesting is that the older Pi had no entry in rc.local, but dmesg says power management is disabled and the newer image says it is enabled.

  30. pinkforest commented on Nov 13, 2021

    @pinkforest

    Fyi for 43455-sdio fw there is 7.45.234 from Cypress I found from their v5.10.9-2021_1020 FMAC package
    Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
    RPi-Distro/firmware-nonfree#19

    I'm running on some stability tests atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Waiting for external inputWifi Issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions