[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: F40 hibernation issue
From:       Samuel Sieb <samuel () sieb ! net>
Date:       2024-04-30 22:36:55
Message-ID: dec9d646-0465-483d-9072-1ebb734d44a0 () sieb ! net
[Download RAW message or body]

On 4/30/24 5:19 AM, Patrick O'Callaghan wrote:
> I've changed nothing since upgrading to F40 a week ago, yet I now find
> these errors in the journal:
> 
> Apr 30 01:02:39 Bree systemd[1]: Reached target sleep.target - Sleep.
> Apr 30 01:02:39 Bree systemd[1]: Starting hibernate-preparation.service - Enable \
>                 swap file and disable zram before hibernate...
> Apr 30 01:02:42 Bree systemd[1]: dev-zram0.swap: Deactivated successfully.
> Apr 30 01:02:42 Bree systemd[1]: hibernate-preparation.service: Deactivated \
>                 successfully.
> Apr 30 01:02:42 Bree systemd[1]: Finished hibernate-preparation.service - Enable \
>                 swap file and disable zram before hibernate.
> Apr 30 01:02:42 Bree systemd[1]: hibernate-preparation.service: Consumed 2.698s CPU \
>                 time.
> Apr 30 01:02:42 Bree systemd[1]: Starting systemd-hibernate.service - System \
>                 Hibernate...
> Apr 30 01:02:42 Bree systemd[1]: Stopping systemd-zram-setup@zram0.service - Create \
>                 swap on /dev/zram0...
> Apr 30 01:02:42 Bree systemd-sleep[90707]: Failed to find location to hibernate to: \
>                 Operation not permitted <------------------
> Apr 30 01:02:42 Bree systemd[1]: systemd-hibernate.service: Main process exited, \
>                 code=exited, status=1/FAILURE
> Apr 30 01:02:42 Bree systemd[1]: systemd-hibernate.service: Failed with result \
>                 'exit-code'.
> Apr 30 01:02:42 Bree systemd[1]: Failed to start systemd-hibernate.service - System \
>                 Hibernate.
> Apr 30 01:02:42 Bree systemd[1]: Dependency failed for hibernate.target - System \
>                 Hibernation.
> Apr 30 01:02:42 Bree systemd[1]: hibernate.target: Job hibernate.target/start \
>                 failed with result 'dependency'.
> Apr 30 01:02:42 Bree systemd-logind[1061]: Operation 'hibernate' finished.
> ...skipping...
> 
> And the system is not hibernating.
> 
> /dev/zram0 exists and is configured:

Yes, and you can see it being disabled in the logs because you can't 
hibernate to RAM.

> # swapon
> NAME           TYPE      SIZE USED PRIO
> /SWAP/swapfile file       48G   0B   -2
> /dev/zram0     partition   8G 512K  100

Do you have secure boot enabled?
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
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@lists.fedoraproject.org
 Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic