crash on brcmfmac

Bug #1897942 reported by lesar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Invalid
Undecided
Unassigned
linux-raspi (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Invalid
Undecided
Unassigned

Bug Description

I have Ubuntu 20.04 64bit, ubuntu desktop, network-manager on RPI4 8GB
wifi work well for some time but then all gone very slow and system is unusable.

to me it seems a brcmfmac module problem.

My power configuration do not go well if switch off
"wi-fi can be turn off to power save": all wifi crash.

Rest of my power conf:
automatic suspend = no
action on turn off supply button = nothing
black screen = never

Tags: desktop rpi4 wifi
Revision history for this message
lesar (leonardo-saracini) wrote :
description: updated
description: updated
Revision history for this message
lesar (leonardo-saracini) wrote :

this brcmfmac is in linux-firmware and not in linux-raspi

affects: linux-raspi (Ubuntu) → linux-firmware (Ubuntu)
Revision history for this message
Juerg Haefliger (juergh) wrote :

Might be a kernel problem so adding linux-raspi back.

Revision history for this message
lesar (leonardo-saracini) wrote :

from some day no more crash... I update system every day: it is possible some update have fix the problem

Revision history for this message
lesar (leonardo-saracini) wrote :

The crash is random and not too often but if I turn off "wi-fi can be turn off to power save": all wi-fi crash all time

Revision history for this message
lesar (leonardo-saracini) wrote :
Download full text (6.3 KiB)

add some syslog.log:
```log
Nov 2 10:03:57 leon-dev-pi dbus-daemon[4141]: [session uid=1000 pid=4141] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.38' (uid=1000 pid=4361 comm="/usr/bin/gnome-shell " label="unconfined")
Nov 2 10:03:57 leon-dev-pi gnome-shell[4361]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Nov 2 10:03:57 leon-dev-pi gnome-shell[4361]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Nov 2 10:03:57 leon-dev-pi dbus-daemon[4141]: [session uid=1000 pid=4141] Successfully activated service 'org.gnome.Shell.CalendarServer'
Nov 2 10:03:57 leon-dev-pi wpa_supplicant[1839]: RRM: Ignoring radio measurement request: Not RRM network
Nov 2 10:03:57 leon-dev-pi org.gnome.Shell.CalendarServer[138537]: free(): double free detected in tcache 2
Nov 2 10:03:58 leon-dev-pi wpa_supplicant[1839]: wlan0: Associated with b6:be:76:0d:4b:75
Nov 2 10:03:58 leon-dev-pi systemd-networkd[1771]: wlan0: Lost carrier
Nov 2 10:03:58 leon-dev-pi systemd-timesyncd[1715]: No network connectivity, watching for changes.
Nov 2 10:03:58 leon-dev-pi wpa_supplicant[1839]: wlan0: CTRL-EVENT-CONNECTED - Connection to b6:be:76:0d:4b:75 completed [id=0 id_str=]
Nov 2 10:03:58 leon-dev-pi systemd-networkd[1771]: wlan0: Gained carrier
Nov 2 10:03:58 leon-dev-pi wpa_supplicant[1839]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Nov 2 10:03:58 leon-dev-pi systemd-networkd[1771]: wlan0: Connected WiFi access point: LEOCASA (b6:be:76:0d:4b:75)
Nov 2 10:03:58 leon-dev-pi systemd-timesyncd[1715]: Network configuration changed, trying to establish connection.
Nov 2 10:03:58 leon-dev-pi systemd-timesyncd[1715]: Initial synchronization to time server 91.189.91.157:123 (ntp.ubuntu.com).
Nov 2 10:03:58 leon-dev-pi systemd-resolved[1773]: Using degraded feature set (UDP) for DNS server 192.168.88.1.
Nov 2 10:03:59 leon-dev-pi dbus-daemon[4141]: [session uid=1000 pid=4141] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.38' (uid=1000 pid=4361 comm="/usr/bin/gnome-shell " label="unconfined")
Nov 2 10:03:59 leon-dev-pi dbus-daemon[4141]: [session uid=1000 pid=4141] Successfully activated service 'org.gnome.Shell.CalendarServer'
Nov 2 10:03:59 leon-dev-pi org.gnome.Shell.CalendarServer[138612]: free(): double free detected in tcache 2
Nov 2 10:04:00 leon-dev-pi dbus-daemon[4141]: [session uid=1000 pid=4141] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.38' (uid=1000 pid=4361 comm="/usr/bin/gnome-shell " label="unconfined")
Nov 2 10:04:00 leon-dev-pi gnome-shell[4361]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Nov 2 10:04:00 leon-dev-pi gnome-shell[4361]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Nov 2 10:04:0...

Read more...

Revision history for this message
lesar (leonardo-saracini) wrote :

Other log:
```log
Nov 6 16:31:11 leon-dev-pi kernel: [ 2217.732283] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
Nov 6 16:31:11 leon-dev-pi kernel: [ 2217.738536] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
Nov 6 16:31:11 leon-dev-pi kernel: [ 2217.745435] brcmfmac: dongle trap info: type 0x4 @ epc 0x0007a094
Nov 6 16:31:11 leon-dev-pi kernel: [ 2217.745435] cpsr 0x6000019f spsr 0x600001bf sp 0x0025f888
Nov 6 16:31:11 leon-dev-pi kernel: [ 2217.745435] lr 0x0007a093 pc 0x0007a094 offset 0x25f830
Nov 6 16:31:11 leon-dev-pi kernel: [ 2217.745435] r0 0x00000036 r1 0x00000005 r2 0x00000000 r3 0x00000001
Nov 6 16:31:11 leon-dev-pi kernel: [ 2217.745435] r4 0x002494d0 r5 0x00000000 r6 0x00249460 r7 0x00000004
Nov 6 16:31:14 leon-dev-pi kernel: [ 2220.288341] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
Nov 6 16:31:14 leon-dev-pi kernel: [ 2220.294749] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
Nov 6 16:31:14 leon-dev-pi kernel: [ 2220.301905] brcmfmac: dongle trap info: type 0x4 @ epc 0x0007a094
Nov 6 16:31:14 leon-dev-pi kernel: [ 2220.301905] cpsr 0x6000019f spsr 0x600001bf sp 0x0025f888
Nov 6 16:31:14 leon-dev-pi kernel: [ 2220.301905] lr 0x0007a093 pc 0x0007a094 offset 0x25f830
Nov 6 16:31:14 leon-dev-pi kernel: [ 2220.301905] r0 0x00000036 r1 0x00000005 r2 0x00000000 r3 0x00000001
Nov 6 16:31:14 leon-dev-pi kernel: [ 2220.301905] r4 0x002494d0 r5 0x00000000 r6 0x00249460 r7 0x00000004
Nov 6 16:31:14 leon-dev-pi kernel: [ 2220.301919] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110

```

Revision history for this message
lesar (leonardo-saracini) wrote :

my pi seams like windows 95: sometime crash two time at day.
after crash wifi cannot discover network.
I cannot understand what service restart so I do a machine reboot.
:-(

Revision history for this message
lesar (leonardo-saracini) wrote :

I have removed NetworkManager
configure netplan and use renderer: networkd
My wifi connection is go from 0,5 Gb to 5GB
and seams more stable.
next day I check better.

best regards,
Leonardo

Revision history for this message
lesar (leonardo-saracini) wrote :

The last workaround is useful.
so the problem is in netowork-manager.

best regards,
Leonardo

Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu Focal):
status: New → Invalid
Changed in linux-raspi (Ubuntu):
status: New → Invalid
Changed in linux-firmware (Ubuntu Focal):
status: New → Invalid
Changed in linux-firmware (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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