On 10/1/20 2:18 PM, Andrei Borzenkov wrote:
01.10.2020 10:21, Dario Faggioli пишет:
Hey,
So, a TW user reported in an user group (before anyone ask, yes, I'm trying to get him to open a bug! :-) ) that he's not able to hibernate on Tumbleweed.
Apparently, this is known: https://www.reddit.com/r/openSUSE/comments/hjec9g/resume_from_hibernation_is...
There's a bug open about hibernating, but I am not really sure it is the same think: https://bugzilla.opensuse.org/show_bug.cgi?id=1127763
Anyhow, the user also said that adding the `resume` module to initrd, as described here, things work: https://www.reddit.com/r/openSUSE/comments/hjec9g/resume_from_hibernation_is_not_working/fx4u2xj/?utm_source=share&utm_medium=web2x&context=3
I've checked, and we do put that module inside initrd on Leap. Is there a particular reason not to have it in TW as well?
What is the content of /sys/power/resume? What is kernel command line?
This is sort of chicken and egg problem. Module "resume" is automatically included if /sys/power/resume contains non-null device and /sys/power/resume contains valid device if resume was attempted; to attempt resume you normally need to have resume module already.
Comparing my Leap 15.2 and TW, Leap has resume= kernel parameter and TW does not.
In any case it is very unlikely to be a kernel issue.
My TW system does not have module resume loaded; however it both sleeps and hibernates. File /sys/power/resume contains "8:2". My swap file is on /dev/sda2. Larry -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org