My laptop, a Framework Laptop 13 AMD Ryzen 7040 Series, with Manjaro & encrypted disk got this weird behavior : when I boot it (or reboot after working with it for some time), I enter my disk password, then the loading screen appears, get stuck. If I esc, I see the text dialog stating the services stopped & it ended up in a reboot state. So I reboot it, enter the disk password again, then it works normally, aka up to the login screen.
It’s not blocking or so much of a hassle, I reboot it only like twice a week. But I’d be curious to understand why. I’ve tried to read the logs from the journalctl -b-1, can’t really get it. Anyone can help me decipher it ?
Since the logs are over the limit of a forum post, here they are PrivateBin
I do remember that the Manjaro system (have a PIneBook pro) applies existing updates at boot and if it does, automatically reboots after applying these.
This also happens on ubuntu BTW.
Interesting lead indeed. Not sure about reboot every single time, but since I don’t reboot it often that could be it, and most lilely I only remember the stuck times. I see some stuff like
in the logs, but it ain’t clear if there was indeed an update to apply & subsequent reboot. Gonna reboot just now, as I had the case less than one hour ago, shouldn’t have anything waiting.
Looking at the dmesg log, There are two things wrong:
Entropy - it helps random numbers, and if there is not enough of it, the encryption stops working/blocks. The entropy gathering part is expecting a linux kernel <= 5.6 and you are booting with linux kernel 6.6.10. After a warm reboot, there is enough entropy so it can continue. So, look into fixing the entropy problem or don’t encrypt your disk.
Fix by updating something called plymouth to a more up to date version that matches your kernel.
There is a problem with the Wifi driver or firmware:
févr. 28 10:49:15 berget kernel: mt7921e 0000:01:00.0: not ready 1023ms after FLR; waiting
“mt7921e” is a chip on the wifi card.
févr. 28 10:49:16 berget kernel: mt7921e 0000:01:00.0: not ready 2047ms after FLR; waiting
So, upgrading to the latest firmware for the wifi card might help.
So I solved 1. commenting out the kernel version requirement. I’m running latest haveged & up to date kernel so should be fine, entropy’s at 256, fine as far as I can tell.
I’d try to first unload the kernel module rmmod mt7921e, and reload it (If it is not in use, it should work).
See if modinfo mt7921e provides some configuration options for that specific module. Can’t tell here as I don’t have any.