Sudhir,
What exactly did you try? Here are my notes (that work for me on all but one laptops):
## To get hibernate going (since F20):
sudo vi /etc/defaults/grub
## add --> resume=UUID="****" <-- to the line GRUB_CMDLINE_LINUX=
(anywhere, i do it before the rhgb which I also take out since I like to see what is
happening
## where the uuid is obtained using
sudo blkid.
## then
sudo bash -x grub2-mkconfig
sudo bash -x grub2-mkconfig -o /boot/grub2/grub.cfg
Reboot and things work for me on about half a dozen machines, all Dells of varied vintage
(including one XPS13) and one Thinkpad T510.
I am not aware of the resume_offset flag: where did you get this?
Ranjan
PS: The one laptop where it did not work is a Dell Precision M3800 where it is not
reliable. There was a long-standing bug in kernel which was fixed in 4.8 but with this
machine, hibernate reliably worked on 4.8.4 but the unreliability (not always coming back,
especially if a number of windows were left open) returned post-4.8.5,
Many thanks again$
Ranjan
On Mon, 02 Jan 2017 15:33:38 +0530 Sudhir Khanger <sudhir(a)sudhirkhanger.com> wrote:
Hi back,
After a lot of Google search it seems to hibernate using swap file I need both the resume
flag and resume_offset flag. After setting these my system seems to go into hibernation
but doesn't recover. It just boots into a new session. Also systemctl hybrid-sleep is
working as far as I can tell.
---- On Mon, 02 Jan 2017 11:52:16 +0530 Sudhir Khanger
&lt;sudhir(a)sudhirkhanger.com&gt; wrote ----
Hi,
I am setting up a new Dell Precision 5510. It has 16gb of RAM. I chose to create a
swapfile of 24gb (1.5 times is recommended by RHEL 7 docs).
The swap is on, resume flag has been set in /etc/default/grub, and secure boot if off.
That's my understanding of the common bug entry.
When I hibernate my system it simply locks the system. No hibernation is done. I gave
Kubuntu a try to see if there is a problem with hibernation and it works fine on Kubuntu.
If you guys have any ideas I would really appreciate it.
Regards,
Sudhir Khanger,
sudhirkhanger.com.
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
Regards,
Sudhir Khanger,
sudhirkhanger.com.
--
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt.
Please respond to the mailing list if appropriate. For those needing to send personal or
professional e-mail, please use appropriate addresses.