Wifi module resets when PM is enabled
With the sparklan module, I get frequent (every 2-6 minutes) resets when PM is enabled. This is with the 6.1.1 kernel. The issue happens when connected to either 2.4GHz or 5GHz networks.
If I disable PM (e.g. iw dev wlan0 set power_save off
), I no longer get these frequent resets.
[ +49.359485] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.029718] ieee80211 phy20: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000016] ieee80211 phy20: send_key_to_dongle: wsec_key error (-5)
[ +0.000011] ieee80211 phy20: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000006] ieee80211 phy20: send_key_to_dongle: wsec_key error (-5)
[Jan 6 12:24] brcmfmac: brcmf_sdio_bus_stop: Failed to force clock for F2: err -123
[ +0.052957] mmc1: card 0001 removed
[ +2.458463] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ +0.003961] brcmfmac: F1 signature read @0x18000000=0x1042aae8
[ +0.004576] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43752-sdio for chip BCM43752/2
[ +0.000229] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.purism,librem5r4.bin failed with error -2
[ +0.234183] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43752/2 wl0: Jul 13 2020 18:32:45 version 18.35.387.23.7 (b328500@shgit) (wlan=r880297) FWID 01-f50fdff0
[ +2.374327] ieee80211 phy21: brcmf_p2p_create_p2pdev: timeout occurred
[ +0.000031] ieee80211 phy21: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5
[ +7.118719] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ +17.185786] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.021768] ieee80211 phy21: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000013] ieee80211 phy21: send_key_to_dongle: wsec_key error (-5)
[ +0.000011] ieee80211 phy21: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000007] ieee80211 phy21: send_key_to_dongle: wsec_key error (-5)
[ +0.168299] ieee80211 phy21: brcmf_netdev_start_xmit: xmit rejected state=0
[ +0.403226] brcmfmac: brcmf_sdio_bus_stop: Failed to force clock for F2: err -123
[ +0.048022] mmc1: card 0001 removed
[ +2.298682] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ +0.004179] brcmfmac: F1 signature read @0x18000000=0x1042aae8
[ +0.004638] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43752-sdio for chip BCM43752/2
[ +0.000732] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.purism,librem5r4.bin failed with error -2
[ +0.335556] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43752/2 wl0: Jul 13 2020 18:32:45 version 18.35.387.23.7 (b328500@shgit) (wlan=r880297) FWID 01-f50fdff0
[ +2.392482] ieee80211 phy22: brcmf_p2p_create_p2pdev: timeout occurred
[ +0.000032] ieee80211 phy22: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5
[ +7.195544] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[Jan 6 12:25] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.013218] ieee80211 phy22: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000016] ieee80211 phy22: send_key_to_dongle: wsec_key error (-5)
[ +0.000011] ieee80211 phy22: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000010] ieee80211 phy22: send_key_to_dongle: wsec_key error (-5)
[ +0.361144] ieee80211 phy22: brcmf_netdev_start_xmit: xmit rejected state=0
[ +0.194378] brcmfmac: brcmf_sdio_bus_stop: Failed to force clock for F2: err -123
[ +0.049139] mmc1: card 0001 removed
[ +2.222913] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ +0.002053] brcmfmac: F1 signature read @0x18000000=0x1042aae8
[ +0.005828] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43752-sdio for chip BCM43752/2
[ +0.000206] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.purism,librem5r4.bin failed with error -2
[ +0.271703] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43752/2 wl0: Jul 13 2020 18:32:45 version 18.35.387.23.7 (b328500@shgit) (wlan=r880297) FWID 01-f50fdff0
[ +2.356339] ieee80211 phy23: brcmf_p2p_create_p2pdev: timeout occurred
[ +0.000029] ieee80211 phy23: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5
[Jan 6 12:26] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ +48.433234] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.014468] ieee80211 phy23: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000019] ieee80211 phy23: send_key_to_dongle: wsec_key error (-5)
[ +0.000011] ieee80211 phy23: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000007] ieee80211 phy23: send_key_to_dongle: wsec_key error (-5)
[ +0.578963] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -123
[ +0.000047] brcmfmac: brcmf_sdio_bus_stop: Failed to force clock for F2: err -123
[ +0.057423] mmc1: card 0001 removed
[ +2.297027] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ +0.003746] brcmfmac: F1 signature read @0x18000000=0x1042aae8
[ +0.004612] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43752-sdio for chip BCM43752/2
[ +0.000235] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.purism,librem5r4.bin failed with error -2
[ +0.307202] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43752/2 wl0: Jul 13 2020 18:32:45 version 18.35.387.23.7 (b328500@shgit) (wlan=r880297) FWID 01-f50fdff0
[ +2.398387] ieee80211 phy24: brcmf_p2p_create_p2pdev: timeout occurred
[ +0.000030] ieee80211 phy24: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5
[Jan 6 12:27] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ +49.246178] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.013994] ieee80211 phy24: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000015] ieee80211 phy24: send_key_to_dongle: wsec_key error (-5)
[ +0.000010] ieee80211 phy24: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ +0.000007] ieee80211 phy24: send_key_to_dongle: wsec_key error (-5)
[ +0.538826] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -123
[ +0.000042] brcmfmac: brcmf_sdio_bus_stop: Failed to force clock for F2: err -123
[ +0.057625] mmc1: card 0001 removed
[ +2.396485] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ +0.001919] brcmfmac: F1 signature read @0x18000000=0x1042aae8
[ +0.005075] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43752-sdio for chip BCM43752/2
[ +0.000208] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.purism,librem5r4.bin failed with error -2
[ +0.272911] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43752/2 wl0: Jul 13 2020 18:32:45 version 18.35.387.23.7 (b328500@shgit) (wlan=r880297) FWID 01-f50fdff0
[Jan 6 12:28] ieee80211 phy25: brcmf_p2p_create_p2pdev: timeout occurred
[ +0.000032] ieee80211 phy25: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5
[ +7.064686] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ +23.363051] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.164560] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.161089] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +3.863145] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +5.568294] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.042155] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +11.888154] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.081088] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ +0.080184] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110