You are not logged in.

#1 2018-11-07 12:12:05

Cú Chulainn
Member
Registered: 2018-11-07
Posts: 2

Cannot hibernate after upgrade my arch linux.

After upgrade ("yay -Syu") and reboot my OS, I have found that it cannot hibernate.
The output of "systemctl hibernate" is "Failed to hibernate system via logind: Resume not configured, can't hibernate".
The related outputs of "journalctl --system" are as follows:

Nov 07 20:02:33 IfChan systemd-logind[369]: Failed to open "/boot/loader/loader.conf": No such file or directory
Nov 07 20:02:33 IfChan systemd-logind[369]: Failed to read boot config from "/boot/loader/loader.conf": No such file or directory
Nov 07 20:02:33 IfChan systemd-logind[369]: Failed to load bootspec config from "/boot/loader": No such file or directory

I have referred to the arch wiki, and I found that "/boot/loader/loader.conf" is a file generated by "systemd-boot". However, my boot loader is "grub", so this file is not exist. What should I do?

Last edited by Cú Chulainn (2018-11-07 12:20:04)

Offline

#2 2018-11-07 14:10:14

archdom
Member
Registered: 2018-09-12
Posts: 96

Re: Cannot hibernate after upgrade my arch linux.

I have same problem

Offline

#3 2018-11-07 15:24:36

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

Re: Cannot hibernate after upgrade my arch linux.

I configured my system to use a swap file in my root directory but when I try "systemctl hibernate" I get:

Failed to hibernate system via logind: Resume not configured, can't hibernate

My swapfile is 16G in the root directory.
It's fstab entry looks like this:

/swapfile none swap sw 0 0

"swapon -s" gives this:

Filename                                Type            Size    Used    Priority
/swapfile                               file            16777212        0       -2

My initramfs hooks are as follows:

HOOKS=(base keyboard udev autodetect modconf block filesystems resume)

My kernel parameters are as follows:

GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 resume=/swapfile resume_offset=32755712"

"filefrag -v /swapfile" gives this:

Filesystem type is: ef53
File size of /swapfile is 17179869184 (4194304 blocks of 4096 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..       0:   32755712..  32755712:      1:

Is there anything I've missed?

Offline

#4 2018-11-07 15:58:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,743

Re: Cannot hibernate after upgrade my arch linux.

Seems a thing, please search ebfore posting:
https://bbs.archlinux.org/viewtopic.php?id=241778

Offline

#5 2018-11-07 16:07:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,433

Re: Cannot hibernate after upgrade my arch linux.

Merging with existing topic.

Offline

#6 2018-11-07 16:11:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Cannot hibernate after upgrade my arch linux.

Offline

#7 2018-11-07 19:59:28

sykinia
Member
Registered: 2018-11-07
Posts: 2

Re: Cannot hibernate after upgrade my arch linux.

I'm having a similar issue after upgrading, except that with "systemctl hibernate" I get "Failed to hibernate system via logind: Not enough swap space for hibernation", although...

/etc/fstab

UUID=[...]	none      	swap      	defaults,pri=-2	0 0

swapon -s

Filename				Type		Size	Used	Priority
/dev/nvme0n1p4                         	partition	8188	0	-2

Do you think it is related to the same bug?

Last edited by sykinia (2018-11-07 20:02:27)

Offline

#8 2018-11-08 09:43:00

Magnesium
Member
Registered: 2016-11-08
Posts: 21

Re: Cannot hibernate after upgrade my arch linux.

after moving my installation from btrfs to a ext4 partition, this problem appeared here
before that, hibernation was normal.

error message:

Failed to hibernate system via logind: Resume not configured, can't hibernate

Offline

#9 2018-11-08 10:20:15

Cú Chulainn
Member
Registered: 2018-11-07
Posts: 2

Re: Cannot hibernate after upgrade my arch linux.

It seems to be a existing bug, so I downgrade my systemd and wait for a patch.

Offline

#10 2018-11-08 10:52:16

archdom
Member
Registered: 2018-09-12
Posts: 96

Re: Cannot hibernate after upgrade my arch linux.

Cú Chulainn wrote:

It seems to be a existing bug, so I downgrade my systemd and wait for a patch.

idem wink

Offline

#11 2018-11-08 12:28:52

SDR
Member
Registered: 2016-03-03
Posts: 5

Re: Cannot hibernate after upgrade my arch linux.

Same here since yesterday's update.
Same error messages from systemctl hibernate and journal -system and the 'Hibernate' option disappeared from KDE Plasma 5.

Offline

#12 2018-11-08 13:01:07

kts
Member
From: Burma
Registered: 2016-12-20
Posts: 23

Re: Cannot hibernate after upgrade my arch linux.

Yes. It disappeared from KDE.


What you know about computing other people will learn.  Don't feel as if the key to successful
computing is only in your hands. What's in your hands, I think and hope, is intelligence:
the ability to see the machine as more than when you were first led up to it, that you can make it more.
—Alan J. Perlis (April 1, 1922 – February 7, 1990)

Offline

#13 2018-11-08 18:50:28

simona1970
Banned
Registered: 2017-10-23
Posts: 10

Re: Cannot hibernate after upgrade my arch linux.

Same as for me. It also disappeared from KDE. And "systemctl hibernate" say "Failed to hibernate system via logind: Resume not configured, can't hibernate"

Offline

#14 2018-11-08 19:44:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Cannot hibernate after upgrade my arch linux.

Stop with all the empty posting: https://wiki.archlinux.org/index.php/Co … mpty_posts

Bug had been reported.


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB