You are not logged in.

#1 2025-06-08 13:26:23

Elmario
Member
Registered: 2023-08-21
Posts: 72

Solved: Hibernation still not working.

Hello!

I am now continuing my journey in trying to get hibernation to work on that painful Asus ROG Zephyrus G14 ( My recommendation: Don't get one!)

I have setup the kernel command line like this:

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-zen root=UUID=b0be043f-a4d2-4942-a774-92e16ecf5193 rw zswap.enabled=0 rootfstype=ext4 loglevel=3 amdgpu.audio=0 amd.ppfeaturemask=0xfff7ffff usbcore.autosuspend=-1 btusb.enable_autosuspend=0 amd_pstate=passive resume=UUID=992be7b9-d215-4446-aecf-90e3c441b73b

This indeed is the UUID of the swap partition:

$sudo blkid /dev/nvme0n1p8
/dev/nvme0n1p8: LABEL="swap" UUID="992be7b9-d215-4446-aecf-90e3c441b73b" TYPE="swap" PARTLABEL="swap" PARTUUID="1d1df815-ed7b-417d-9000-a8520e6de1c3"

The only error I could find when grepping dmesg was:

9.317162] systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).

I vaguely remember having recreated and/or moved the swap partition about a year, ago (probably while migrating to a bigger SSD), I can't remember if hibernation ever worked, though.
Is it possible (because of the different UUID) that somewhere in the system still the old UUID is manifested?
An EFI-Variable named "HibernationLocation->UUID>" does not exist at all btw.
Due to steadily updating the system, 'mkinitcpi -P' and 'update-grub' have been executed a lot of times since.

Thank you! smile

Last edited by Elmario (2025-06-09 12:12:24)

Offline

#2 2025-06-08 15:14:51

seth
Member
Registered: 2012-09-03
Posts: 65,047

Re: Solved: Hibernation still not working.

Did you forget to add the resume hook to mkinitcpio.conf?
Otherwise:

The only error I could find when grepping dmesg was:

Don't grep, look - and look at the system journal since the hibernation efforts might fail in userspace.

Offline

#3 2025-06-09 00:28:57

Elmario
Member
Registered: 2023-08-21
Posts: 72

Re: Solved: Hibernation still not working.

Thanks! The missing resume hook was it! And after I read your post I remembered that I had removed it, because my system once was in a state where it could not boot with this hook enabled.
Well, now for the other hundreds issues with this notebook smile

Offline

#4 2025-06-09 06:08:33

seth
Member
Registered: 2012-09-03
Posts: 65,047

Re: Solved: Hibernation still not working.

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2025-06-09 12:12:36

Elmario
Member
Registered: 2023-08-21
Posts: 72

Re: Solved: Hibernation still not working.

Oh, I forgot. Usually I do smile

Offline

Board footer

Powered by FluxBB