Re: hibernate stops working after upgrade to F29 from F28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 12/1/18 12:37 AM, Ranjan Maitra wrote:
The F28 systemd is fine, and even the F29 is so if you do not use EFI boot. It is the F29 systemd that has problems. Today, I had a different problem: my system slowed down to a crawl for at least an hour. I think that the disk decided to get checked in the background, but that is a guess. I have never experienced something like this before.

F29 is the first upgrade I had problems with in my 15 years with Fedora and in the roughly 10 years that we can do this on the fly from a previous version. I am not sure why this turned out to be so.

Ranjan

On Fri, 30 Nov 2018 12:15:51 -0700 Greg Woods <greg@xxxxxxxxxxxxxx> wrote:

I saw the same thing when upgrading from F27 to F28. "systemctl hibernate"
just prints the "Failed to hibernate system via logind" error, and
"pm-hibernate" (still around from F22 pm-utils) starts the shutdown and
then hangs.

In my case at least, it appears to be a kernel bug. The upgrade also moved
from a 4.18 to a 4.19 kernel, but if I boot the old F27 kernel (4.18), even
with the F28 systemd, then hibernate works again.

--Greg


On Mon, Nov 5, 2018 at 9:34 PM Samuel Sieb <samuel@xxxxxxxx> wrote:

On 11/5/18 8:18 PM, Ranjan Maitra wrote:
On Sun, 4 Nov 2018 22:53:46 -0800 Samuel Sieb <samuel@xxxxxxxx> wrote:
    Try running "sudo setenforce off" and then try "systemctl hibernate".
See if that works.

I suspect that you meant

sudo sentenforce 0

Oops, I should have checked the man page before posting.

But even then:

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

Then I guess it's not an selinux issue.  Hopefully someone responds to
the bug.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx





Same problem here.
Workaround:

Following script goes into normal hibernate, if you enter ./hibernate.sh
and goes into special sort of hibernate according to your first parameter:

#!/bin/bash
if [ -z $1 ]; then
	echo platform > /sys/power/disk
else
	echo $1 > /sys/power/disk
fi
echo disk > /sys/power/state




suomi
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux