You are not logged in.

#1 2015-07-14 11:03:49

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

An experimental approach to get hibernation working

I experienced the quite common hibernation problem that on resume there was a black screen only and the system stopped. This is on linux 4.0.7-2 currently in a i5, 8 GByte system using a 8 GByte swap partition for the hibernation image and systemd built-in hibernation.

Experimentally I did now force the hibernation image to be as small as possible by setting the image size to 0

# echo "0" > /sys/power/image_size

This appears to work here, at least for a dozen hibernation attempts under different system loads.
No idea if this is specific to my system only. Can anybody confirm this?

Last edited by bernarcher (2015-07-14 19:56:01)


To know or not to know ...
... the questions remain forever.

Offline

#2 2015-07-14 13:29:16

jagan605
Member
Registered: 2011-12-04
Posts: 26

Re: An experimental approach to get hibernation working

It works for me even without that option. And I tried this out and it works.

Offline

#3 2015-07-14 15:01:44

progandy
Member
Registered: 2012-05-17
Posts: 5,199

Re: An experimental approach to get hibernation working

I have 4GB of ram, so I just added a gig to my swap (5GB), that works well so far, since I have at most 200MB in swap.

Last edited by progandy (2015-07-14 15:02:06)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2015-07-22 18:13:08

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: An experimental approach to get hibernation working

Update: No real joy! This used to work for some time. But since two days one out of three hibernation attempts fails again.

Not sure if this was caused by the recent upgrades to linux-4.1.2-2 and/or systemd-222-1. Yet these were on 2015-07-16 and 2015-07-18 respectively, a bit too far back to explain the time of this failure experience. No system relevant changes occured since then according to pacman.log.

More update:
Somehow this has been some kind of a temporary glitch, actually. Since then hibernation did fail very few times only.

Last edited by bernarcher (2015-08-01 15:37:58)


To know or not to know ...
... the questions remain forever.

Offline

#5 2015-08-02 17:11:05

blum
Member
From: Plovdiv, Bulgaria
Registered: 2004-04-05
Posts: 77
Website

Re: An experimental approach to get hibernation working

I can confirm that, hibernation is just unreliable. Trying some tweaks to make it work stable, like different values of /sys/power/image_size but none really worked. Also tried "0", no success. Once it worked, the other time - not.
The conditions are the same -  i5, 8 GiB RAM, 8 GiB swap partition.


..,

Offline

Board footer

Powered by FluxBB