redroid-doc
redroid-doc copied to clipboard
Running ReDroid container causing suspend issue.
Describe the bug
- OS: Linux Mint 21
- Kernel: tried Ubuntu's default kernel, Xanmod and Liquorix When redroid container is running (tried 8.1.0, 11 and 12), my laptop wakes up from suspend after a few minutes.
make sure the required kernel modules present
-
grep binder /proc/filesystems
: binder exists. -
grep ashmem /proc/misc
: I use memfd so no ashmem.
collect debug logs
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | bash -s -- [CONTAINER]
omit CONTAINER if not exist any more.
tmp.TIJDALq0tL.tar.gz
Screenshots If applicable, add screenshots to help explain your problem.
from dmesg.txt
[Tue Sep 27 09:30:23 2022] PM: suspend exit
[Tue Sep 27 09:35:34 2022] init: Parsing file /system/etc/init/[email protected]...
[Tue Sep 27 09:35:34 2022] init: starting service 'system_suspend'...
[Tue Sep 27 12:59:06 2022] PM: suspend entry (deep)
[Tue Sep 27 12:59:06 2022] printk: Suspending console(s) (use no_console_suspend to debug)
[Tue Sep 27 12:59:10 2022] PM: suspend exit
[Tue Sep 27 15:51:51 2022] PM: suspend entry (deep)
[Tue Sep 27 15:51:51 2022] printk: Suspending console(s) (use no_console_suspend to debug)
[Tue Sep 27 15:51:53 2022] PM: suspend exit
[Tue Sep 27 19:09:42 2022] PM: suspend entry (deep)
[Tue Sep 27 19:09:42 2022] printk: Suspending console(s) (use no_console_suspend to debug)
[Tue Sep 27 19:09:44 2022] PM: suspend exit
[Tue Sep 27 22:24:04 2022] PM: suspend entry (deep)
[Tue Sep 27 22:24:04 2022] printk: Suspending console(s) (use no_console_suspend to debug)
[Tue Sep 27 22:24:06 2022] PM: suspend exit
seems your system triggered to suspend?
Here is some output from sudo journalctl | grep systemd-sleep
:
Sep 27 08:48:22 zhaozuohong systemd-sleep[63633]: System returned from sleep state.
Sep 27 11:41:05 zhaozuohong systemd-sleep[37931]: Entering sleep state 'suspend'...
Sep 27 14:30:30 zhaozuohong systemd-sleep[37931]: System returned from sleep state.
Sep 27 17:48:19 zhaozuohong systemd-sleep[41101]: Entering sleep state 'suspend'...
Sep 27 19:08:45 zhaozuohong systemd-sleep[41101]: System returned from sleep state.
Sep 27 22:23:08 zhaozuohong systemd-sleep[2487]: Entering sleep state 'suspend'...
Sep 27 22:24:05 zhaozuohong systemd-sleep[2487]: System returned from sleep state.
At 11:41 and 17:48 I closed the lid manually, and opened the lid to wake up my computer a few hours later. Yesterday evening, at 22:23, I closed the lid and gone but it woken up automatically one minute later and the ReDroid container was running at that time.
I'm not sure whether redroid related.