Closed IntinteDAO closed 2 years ago
This is a Linux kernel bug (assuming your microSD card is working properly), not a Crust bug. Probably the best place to file this issue is against your distro's kernel package. When you do this, please include the full dmesg
log.
From the first line of your log, Linux was told to enter s2idle
. s2idle
is a shallow sleep state that does not use Crust at all. Linux is using s2idle
either because your distro told it to (through e.g. systemd configuration) or because Crust is not installed/running. You can verify Crust is available by checking for the word deep
in the file /sys/power/mem_sleep
.
From the other lines in your log, there was some issue communicating with your microSD card, and Linux gave up entering the sleep state -- in other words: Linux did not wake up early; it never went to sleep in the first place.
mobian@mobian:~$ cat /sys/power/mem_sleep s2idle [deep]
In general should I report to the kernel provider or here? Or is it a s2idle problem?
In general, if you see any errors in dmesg
, you should report the issue to your kernel provider. The usual symptom of a bug in Crust would be that the device hangs or reboots when attempting to wake it up.
In this specific case, the error occurs when powering down the MMC controller. That action happens as part of both s2idle and deep sleep, so the error is not specific to s2idle.
I'm closing this issue because it does not appear to be related to Crust.
In case you haven't seen it, this is the kernel patch that fixes the bug: https://lore.kernel.org/linux-mmc/20220115121447.641524-1-andrej.skvortzov@gmail.com/T/. This patch may already be applied by downstream maintainers.
Bug Reports
Hello, I will try to report the bug as best as I can, if you have questions, please let me know.
I have noticed a regression in the 5.14 kernel version (and 5.15) in that Crust is not working properly [As far as I know, more people have this problem.]. Pinephone wakes up sometimes without much reason (of course in 5.13 it works fine).
The only thing I noticed was the dmesg logs:
System: Mobian Bookworm (newest). I think I had the same thing on PostmarketOS (SXMO) after updating the kernel to 5.14, but there Crust didn't work at all.
MicroSD card is fine, but maybe can't sleep