Librem5: Infinite reboot with sparklan module.
Describe your issue
What's the expected behaviour?
When I reboot the librem5, the phone should turn off, and on again
What's the current behaviour?
When I reboot the phone, the phone turn off, then hangs with a green LED. I have to kill the phone by holding in the power button.
How to reproduce your issue?
Reboot the phone from the top right menu in phosh. Have sparklan module installed and enabled (no HW killswitch)
What device are you using?
librem5
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v24.06
-
v23.12
(supported until 2024-07-16) -
I confirm that the issue still is present after running
sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
- GNOME Shell on Mobile
- Phosh
- Plasma Mobile
-
Sxmo (Wayland/Sway) Please post the output of
sxmo_version.sh
- Other: Please fill out
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2024-05-XX
Additional information
The phone reboots fine when HW killswitch for wifi/bt module is enabled. It also works to do power off, and manually power the phone on.
The problem does not occur with the repine module.
sudo dmesg
[ 744.006466] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-123
[ 744.006490] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
...
[ 744.608284] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -123
[ 744.608327] brcmfmac: brcmf_sdio_bus_stop: Failed to force clock for F2: err -123
[ 744.665597] mmc1: card 0001 removed
[ 750.667835] mmc1: new ultra high speed SDR104 SDIO card at address 0001
...
[ 753.240218] ieee80211 phy1: brcmf_p2p_create_p2pdev: timeout occurred
[ 753.240244] ieee80211 phy1: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5