View previous topic :: View next topic |
Author |
Message |
jody l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/696899603471f187c97dcc.png)
Joined: 16 Oct 2007 Posts: 682 Location: Switzerland
|
Posted: Sun Sep 27, 2009 11:26 am Post subject: pm-hibernate does not hibernate |
|
|
Hi
I have an Acer Aspire 7520, and have installed pm-utils successfully, as far as i can see:
the commands pm-suspend and pm-hibernate are found, and the gnome shut-down panel
contains the buttons "Suspend" and "Hibernate"
However, when i enter pm-hibernate in a terminal (as root), the laptop turns itself of after
some disk activity, but when i power up again, it does a normal start, as if freshly booted.
The same behaviour occurs when i press "Hibernate" in the gnome panel.
All suspend-related entries (i know of) in my config: Code: | CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_X86_GX_SUSPMOD=m
# CONFIG_USB_SUSPEND is not set
|
Does anybody have an idea how to make pm-hibernate do a real hibernation?
Thank You
Jody |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Sun Sep 27, 2009 3:31 pm Post subject: |
|
|
When the system starts, does it warn that it was shutdown improperly? That will tell us the difference between hibernate being converted into a shutdown versus a successful hibernate followed by the system not resuming.
How do you ask the system to resume instead of booting normally? Are you using the in-kernel software suspend or the TuxOnIce patches? What kernel version are you using? Where is the suspend image written, and are you sure that the image is available during resume? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jody l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/696899603471f187c97dcc.png)
Joined: 16 Oct 2007 Posts: 682 Location: Switzerland
|
Posted: Sun Sep 27, 2009 8:23 pm Post subject: |
|
|
Hi
Thank you for your reply. Because i have only small knowledge
about the suspension functions, i may not answer all your questions satisfactorily...
Quote: | When the system starts, does it warn that it was shutdown improperly? | At restart, there is no message indicating a failure of hibernation.
Quote: | How do you ask the system to resume instead of booting normally? | I'm not sure i understand this question. When i do pm-hibernate, the computer turns it self off
after some disk activity. After that i press the power button to start it again.
With my other computer at work, that's how i hibernate it and wake it up again.
Quote: | Are you using the in-kernel software suspend or the TuxOnIce patches? | I don't really know for sure, but guess it is in-kernel, because i didn't specify anything about TuxOnIce
Quote: | What kernel version are you using? |
Code: | Linux localhost 2.6.30-gentoo-r4 #1 SMP Sun Sep 27 13:05:16 CEST 2009 i686 AMD Turion(tm) 64 X2 Mobile Technology TL-60 AuthenticAMD GNU/Linux
|
Quote: | Where is the suspend image written, and are you sure that the image is available during resume? | I have no idea - how can i find this out?
By the way: The 'Suspend' command works correctly.
Thank You
Jody |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Sun Sep 27, 2009 9:52 pm Post subject: |
|
|
If you have not specified otherwise, the kernel will not attempt to read the hibernation image, and will instead behave as though the system is being restarted after a power failure. Therefore, it will boot normally, and may show messages indicating that filesystems were not cleanly unmounted. It is possible, and often desirable, to request a resume operation as your default boot option, and rely on the resume code to ignore that and perform a normal boot at those rare times that the system truly was shutdown.
To find the location of the hibernation image, check the configuration file for your hibernation tool. I use the hibernate script from TuxOnIce, which has a separate configuration file, so I cannot say where to look. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kani n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Sep 2009 Posts: 2
|
Posted: Mon Sep 28, 2009 7:46 pm Post subject: |
|
|
Hey jody,
you gotta adjust your grub/menu.lst with the resume-parameter:
Code: |
# vim /boot/grub/menu.lst
|
Add accordingly your SWAP-partition ("resume=/dev/..." ).
Code: |
...
kernel /[kernel] root=/dev/[sdaX] resume=/dev/[sdaX]
...
|
kind regards |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jody l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/696899603471f187c97dcc.png)
Joined: 16 Oct 2007 Posts: 682 Location: Switzerland
|
Posted: Fri Oct 02, 2009 2:29 pm Post subject: |
|
|
Hi Kani
Thank you for your suggestion - it brought me halfway there.
This Code: | kernel /boot/kernel-genkernel-x86-2.6.30-gentoo-r4-ok2 root=/dev/sda2 resume=/dev/sda2 |
(swap is sda2) did not work - it couldn't properly boot.
Now my entry in grub.conf (i.e. menu.lst) is Code: | title Gentoo Linux 2.6.30-r4 (resume)
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.30-gentoo-r4-ok2 root=/dev/sda2 real_root=/dev/sda3 real_resume=/dev/sda2
initrd /boot/initramfs-genkernel-x86-2.6.30-gentoo-r4-ok2
|
With this configuration it sometimes hibernates, and sometimes it doesn't.
I haven't yet been able to determine, what the causes foor non-hibernation are....
I suspect that when i have many applications open (terminals, firefox & gimp, forinstance)
then it doesn't hibernate. In this case, ometimes it starts again as if had asked it to reboot,
sometimes it goes to sleep, but boots normally when started again.
Is it possible that my swap is too small? Code: | localhost jody # /sbin/fdisk -l /dev/sda
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x760ad23d
Device Boot Start End Blocks Id System
/dev/sda1 1 5 40131 83 Linux
/dev/sda2 6 68 506047+ 82 Linux swap / Solaris
/dev/sda3 69 30401 243649822+ 83 Linux
|
Code: | localhost jody # cat /proc/meminfo | grep Total
MemTotal: 1813716 kB
HighTotal: 925000 kB
LowTotal: 888716 kB
SwapTotal: 506036 kB
VmallocTotal: 122880 kB
|
If my swap is too small - is there a possibility to increase its size, without having
to reinstall everything again?
Thank You
Jody |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Sat Oct 03, 2009 2:46 am Post subject: |
|
|
The system should refuse to hibernate, and instead remain running, if you have insufficient swap to store the hibernation image. The exact behavior varies depending on the code used, but the s2disk approach does this, and I think the TuxOnIce code does so as well. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jody l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/696899603471f187c97dcc.png)
Joined: 16 Oct 2007 Posts: 682 Location: Switzerland
|
Posted: Fri Oct 09, 2009 9:30 am Post subject: |
|
|
Hi
Available space certainly was a problem:
Yes, i checked the log file '/var/log/pm-suspend.log', and there seems to be a space issue: Quote: |
[... many lines ...]
pata_sis 9760 1 sata_sis
libata 150060 17 pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sis
total used free shared buffers cached
Mem: 1813716 901940 911776 0 226744 300628
-/+ buffers/cache: 374568 1439148
Swap: 506036 0 506036
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: disabled.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate: disabled.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: disabled.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Wed Oct 7 19:15:13 CEST 2009: performing hibernate
/usr/lib/pm-utils/pm-functions: line 275: echo: write error: No space left on device
Wed Oct 7 19:15:23 CEST 2009: Awake.
Wed Oct 7 19:15:23 CEST 2009: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/95led thaw hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/90clock thaw hibernate: disabled.
/usr/lib/pm-utils/sleep.d/75modules thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate: disabled.
/usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/01grub thaw hibernate: disabled.
/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk thaw hibernate: success.
Wed Oct 7 19:15:24 CEST 2009: Finished. |
Clearly the system wanted to hibernate, found that there is not enough space (if iremember correctly,
my swap-partition is only 512M, whereas i have 2G RAM), and restarted again.
So i decided to go for tuxonice, which apparently offers the possibility to use a file to save the state.
But following the instructions at http://en.gentoo-wiki.com/wiki/TuxOnIce i got stuck
after emerging tuxonice-sources. In my menuconfig, there was no entry Code: | Power management options (ACPI, APM) ---> |
so i don't know how to proceed. It probably is the newest version of tuxonice, i did an 'emerge --sync' just this morning.
(my kernel is '2.6.30-gentoo-r4')
Can you give me some diections how i could properly install tuxonice?
Thank You
Jody |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Sat Oct 10, 2009 2:26 am Post subject: |
|
|
Unfortunately, no. I use the in-kernel suspend support. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jody l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/696899603471f187c97dcc.png)
Joined: 16 Oct 2007 Posts: 682 Location: Switzerland
|
Posted: Sat Oct 10, 2009 11:22 am Post subject: |
|
|
Is in-kernel suspend the pm-utils way?
if yes, is it possible to use a file instead of the swap partition?
if yes, how would i have to go on about it?
Thank YOu
Jody |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Sat Oct 10, 2009 4:49 pm Post subject: |
|
|
I do not use pm-utils, so I cannot say. I use a swap partition that is large enough for the full image, so I never tested with a swapfile. Documentation/power/swsusp-and-swap-files.txt seems to indicate that it works, though it looks like it is more trouble than using a swap partition. That file explains how to configure the resume side of the work. Since nothing special is said about the suspend side, it probably works without extra configuration. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fixhalleluja n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Aug 2007 Posts: 12
|
Posted: Wed Jul 21, 2010 12:04 pm Post subject: |
|
|
Kani wrote: |
Add accordingly your SWAP-partition ("resume=/dev/..." ).
Code: |
...
kernel /[kernel] root=/dev/[sdaX] resume=/dev/[sdaX]
...
|
|
Well, THAT was a mistake. It has to be:
Code: |
...
kernel /[kernel] root=/dev/[sdaX] resume=/dev/[sdaY]
...
|
Since you want to add your SWAP-partition, the 'resume' and the 'root' parameter cannot be identical. (You don't have your / directory on your swapdrive, don't you)
The post that followed the above-mentioned lets assume that poor Jody made that mistake.
But with the SWAP-drive as the resume parameter my system hibernates correctly now (I JUST DID IT!! -- TWICE!!)..
So, thanks to Kani !!!
Bye. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
melinux n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 May 2006 Posts: 59 Location: Malta
|
Posted: Mon Sep 13, 2010 7:50 pm Post subject: |
|
|
I had a problem when I upgraded to pm-utils 1.4.1 from 1.30-r2. It just wouldn't hibernate when I called pm-hibernate as root.
So I had to revert back and now it's working again.
Anyone have this problem too?
Seems like there's a bug with the latest version. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jody l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/696899603471f187c97dcc.png)
Joined: 16 Oct 2007 Posts: 682 Location: Switzerland
|
Posted: Tue Sep 14, 2010 8:43 pm Post subject: |
|
|
I have a similar problem:
I freshly installed 2.6.35-gentoo-r4 and as usual set the appropriate options in the kernel configuration Code: |
[*] Hibernation (aka 'suspend to disk')
(/dev/sda2) Default resume partition | where /dev/sda2 is about 2GB.
My grub.conf Code: | default 0
timeout 3
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 2.6.35-r4
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.35-gentoo-r4 root=/dev/ram0 real_root=/dev/sda3 resume=/dev/sda2
initrd /boot/initramfs-genkernel-x86-2.6.35-gentoo-r4 |
My pm-utils was version 1.4.1
Hibernation did not work.
Now i downgraded pm-utils to 1.3.0-r2 but ist still doesn't hibernate...
jody |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
melinux n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 May 2006 Posts: 59 Location: Malta
|
Posted: Wed Sep 15, 2010 6:02 am Post subject: |
|
|
jody wrote: | I have a similar problem:
I freshly installed 2.6.35-gentoo-r4 and as usual set the appropriate options in the kernel configuration Code: |
[*] Hibernation (aka 'suspend to disk')
(/dev/sda2) Default resume partition | where /dev/sda2 is about 2GB.
My grub.conf Code: | default 0
timeout 3
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 2.6.35-r4
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.35-gentoo-r4 root=/dev/ram0 real_root=/dev/sda3 resume=/dev/sda2
initrd /boot/initramfs-genkernel-x86-2.6.35-gentoo-r4 |
My pm-utils was version 1.4.1
Hibernation did not work.
Now i downgraded pm-utils to 1.3.0-r2 but ist still doesn't hibernate...
jody |
Your RAM is 2G right? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jody l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/696899603471f187c97dcc.png)
Joined: 16 Oct 2007 Posts: 682 Location: Switzerland
|
Posted: Wed Sep 15, 2010 6:27 am Post subject: |
|
|
Quote: | Your RAM is 2G right? |
Yes, this is correct. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jody l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/696899603471f187c97dcc.png)
Joined: 16 Oct 2007 Posts: 682 Location: Switzerland
|
Posted: Wed Sep 15, 2010 7:42 pm Post subject: |
|
|
I just saw that according to /var/log/pm-suspend.log my computer really does hibernate: Code: |
(*snip*)
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate:disabled.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:disabled.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:disabled.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Wed Sep 15 20:53:55 CEST 2010: performing hibernate |
So this seems to indicate that it somehow fails to wake up properly, is that correct? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
melinux n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 May 2006 Posts: 59 Location: Malta
|
Posted: Wed Sep 15, 2010 7:57 pm Post subject: |
|
|
jody wrote: | I just saw that according to /var/log/pm-suspend.log my computer really does hibernate: Code: |
(*snip*)
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate:disabled.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:disabled.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:disabled.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Wed Sep 15 20:53:55 CEST 2010: performing hibernate |
So this seems to indicate that it somehow fails to wake up properly, is that correct? |
It could be.. in my case it was not hibernating completely at all. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jody l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/696899603471f187c97dcc.png)
Joined: 16 Oct 2007 Posts: 682 Location: Switzerland
|
Posted: Wed Sep 15, 2010 8:40 pm Post subject: |
|
|
I now finally found the problem:
In grub.conf i changed the line Code: | kernel /boot/kernel-genkernel-x86-2.6.35-gentoo-r4 root=/dev/ram0 real_root=/dev/sda3 resume=/dev/sda2 |
to Code: | kernel /boot/kernel-genkernel-x86-2.6.35-gentoo-r4 root=/dev/ram0 real_root=/dev/sda3 real_resume=/dev/sda2 |
and now it wakes up again correctly! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelOfTruth Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_obi-wan_kenobi.gif)
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Tue Sep 28, 2010 12:28 am Post subject: |
|
|
guys - care to explain a little bit what it does when it "wakes up" ?
for me it actually hibernates (saying "performing hibernate") - I also see it writing stuff to the swap-partition
but it doesn't resume
I have / (root) and swap on an encrypted LVM named GENTOO so:
1) LUKS (encrypted) -> LVM ("GENTOO") -> ROOT, SWAP
so I first have to enter a password to open the LVM -> both volumes are detected -> starts to boot
2) the commands for grub.conf shall be:
crypt_root=/dev/sdd7 real_root=/dev/mapper/GENTOO-ROOT real_resume=/dev/mapper/GENTOO-SWAP resume=/dev/mapper/GENTOO-SWAP
4) I'm manually hibernating via
pm-hibernate
5) anything I'm missing ?
because everytime I'm turning my computer back on it simply invalidates the swap-resume information (it actually finds a signature of hibernate/suspend) and continues to boot up normally
many thanks in advance
pm-suspend works fine, btw _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Tue Sep 28, 2010 1:51 am Post subject: |
|
|
What messages are produced by your initramfs when it tries to resume from the hibernation image? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelOfTruth Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_obi-wan_kenobi.gif)
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Tue Sep 28, 2010 10:57 am Post subject: |
|
|
Hu wrote: | What messages are produced by your initramfs when it tries to resume from the hibernation image? |
from what I can tell:
nothing
what is it supposed to say - something like: "resuming ..." ?
sorry it has been several years now since the last time I tried and used hibernation (in the past it was suspend2 / tuxonice)
thanks Hu !
edit:
Quote: | cat /usr/src/linux/.config | grep SUSPE
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_SUSPEND_NVS=y
CONFIG_SUSPEND=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_SUSPEND_FREEZER=y
CONFIG_USB_SUSPEND=y
|
Quote: | cat /usr/src/linux/.config | grep HIBERN
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_HIBERNATION=y
|
the disk-writing parts should all be properly set up (in /etc/hibernate and /etc/suspend.conf:
Quote: | #snapshot device = /dev/snapshot
#resume device = /dev/disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1RZ514524-part8
resume device = /dev/mapper/GENTOO-SWAP
#image size = 350000000
#suspend loglevel = 2
compute checksum = y
compress = y
#encrypt = y
#early writeout = y
#splash = y
| )
so I don't really know why it's failing - or not even being started / resumed ... _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelOfTruth Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_obi-wan_kenobi.gif)
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelOfTruth Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_obi-wan_kenobi.gif)
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelOfTruth Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_obi-wan_kenobi.gif)
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|