0blarson
Posts: 4
Joined: Tue Dec 10, 2019 5:17 am

Wifi stops working until reboot rpi 4b

Fri Dec 13, 2019 6:51 am

I recently purchased a Raspberry Pi 4b with 4 gigs memory and am using it as my desktop computer. It works nicely for a while (so not a connection issue) but eventually the wifi stops working and the only way I have found to get it back is to reboot. After this happens "sudo iwlist scan" fails, the wifi menu shows no options. I'm wondering if it is an overheating problem with the wifi chip, the more I use wifi the faster it happens and if I reboot without letting things cool down it reoccurs sooner.

Display set to 2160p, using a pimoroni case with power & hdmi connectors up, official power supply.

0blarson
Posts: 4
Joined: Tue Dec 10, 2019 5:17 am

Re: Wifi stops working until reboot rpi 4b brcmfmac: firmware halted

Thu Dec 19, 2019 5:57 am

This didn't happen for a few days, but happened twice today.
Looking in syslog, I find errors with the tag brcmfmac. Some occur every hour or so, but when the "firmware halted" happens I need to reboot to get wifi working:

Dec 18 20:01:18 raspberrypi kernel: [32602.760237] brcmfmac: brcmf_sdio_hostmail: mailbox indicates firmware halted
Dec 18 20:01:20 raspberrypi kernel: [32605.220455] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
Dec 18 20:01:20 raspberrypi kernel: [32605.220945] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
Dec 18 20:01:20 raspberrypi kernel: [32605.220963] brcmfmac: brcmf_run_escan: error (-110)
Dec 18 20:01:20 raspberrypi kernel: [32605.220976] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Dec 18 20:02:20 raspberrypi kernel: [32665.221558] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
Dec 18 20:02:20 raspberrypi kernel: [32665.222032] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
Dec 18 20:02:20 raspberrypi kernel: [32665.222051] brcmfmac: brcmf_run_escan: error (-110)
Dec 18 20:02:20 raspberrypi kernel: [32665.222064] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Dec 18 20:03:20 raspberrypi kernel: [32725.222666] brcmfmac: brcmf_run_escan: error (-110)

0blarson
Posts: 4
Joined: Tue Dec 10, 2019 5:17 am

Re: Wifi stops working until reboot rpi 4b

Fri Dec 20, 2019 6:09 am

The same problem occurs on a different Raspberry Pi 4B (4 gig) with a different case. (3rd party clear molded.) Same SD card, peripherals. If anything, it happened faster, which if it is heat is unsurprising since the case is not as well ventilated. Now trying in a different orientation.

melopsitaco
Posts: 2
Joined: Mon Dec 30, 2019 7:25 pm

Re: Wifi stops working until reboot rpi 4b

Mon Dec 30, 2019 7:49 pm

I have the same problem. This is the package which could be generating the error:

Code: Select all

# apt-cache policy firmware-brcm80211
firmware-brcm80211:
  Installed: 1:20190114-1+rpt4
  Candidate: 1:20190114-1+rpt4
  Version table:
 *** 1:20190114-1+rpt4 500
        500 http://archive.raspberrypi.org/debian buster/main armhf Packages
        100 /var/lib/dpkg/status
     20190114-2 500
        500 http://raspbian.raspberrypi.org/raspbian buster/non-free armhf Packages

0blarson
Posts: 4
Joined: Tue Dec 10, 2019 5:17 am

Re: Wifi stops working until reboot rpi 4b

Wed Jan 01, 2020 5:16 am

Hmmm... I'll try "downgrading" to the version in raspbian rather than the version from the debain archives.
Worth a try anyway.

Return to “Troubleshooting”