On Mon, Dec 7, 2020 at 1:58 PM Samuel Sieb <samuel@xxxxxxxx> wrote:
On 12/7/20 12:13 AM, Sreyan Chakravarty wrote:
> Hibernation is not successful.
>
> This is what I get from 'dmesg':
>
> [ 269.976652] PM: Cannot find swap device, try swapon -a
This is the important line.
What could be causing this ? I am not even getting error messages.
Do you have the swap file in the fstab?
Yes.
This is my /etc/fstab:
UUID=0e9cf655-eaef-44d6-8b5d-3f84e7449c0e /boot ext4 defaults 1 2
UUID=CACC-9508 /boot/efi vfat umask=0077,shortname=winnt 0 2
/fedora.swap none swap defaults 0 2
Is there any more info in the journal? The dmesg shows very little of
what is going on.
I get the same thing that I have already shared, along with a few extra lines from 'journalctl' :
systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Hibernate.
systemd[1]: Dependency failed for Hibernate.
systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'.
systemd-logind[1248]: Operation 'sleep' finished.
systemd[1]: Stopped target Sleep.
systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Hibernate.
systemd[1]: Dependency failed for Hibernate.
systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'.
systemd-logind[1248]: Operation 'sleep' finished.
systemd[1]: Stopped target Sleep.
I remember another very long thread helping you get a hibernation swap
file working quite a while back. Can you go over that again and see if
there's something you've missed here?
That was for configuring hibernate on ext4 with LVM.
I did go through that. The only thing I missed was putting the correct offset in the kernel cmd line. Which I have done now.
This problem is more serious as the hibernate job fails.
Regards,
Sreyan Chakravarty
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx