Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] suspend/hibernate and genkernel.
Date: Wed, 14 Mar 2012 03:50:23
Message-Id: 1331696943.15575.5.camel@moriah
In Reply to: [gentoo-user] suspend/hibernate and genkernel. by William Kenworthy
1 On Wed, 2012-03-14 at 11:13 +0800, William Kenworthy wrote:
2 > I am trying to get my system(s) ready for the new (read crappy) way
3 > mandated by udev and am having some issues.
4 >
5 > I usually manually compile my kernels, use tuxonice and dont use an
6 > initrd/initramfs.
7 >
8 > As ToI is not available for the latest kernels, I updated openrc and
9 > installed genkernel but then found I couldnt use in-kernel suspend to
10 > disk - googling implies that genkernel doesnt support suspend/hibernate
11 > but there are various kludges to get it to work.
12 >
13 > So whats the least invasive, but workable kludge?
14 >
15 > hibernate, pmhibernate, swsuspend, uswsuspend, ...
16 >
17 > Are there any (up to date) docs?
18 >
19 >
20 > BillK
21 >
22 >
23 >
24 >
25
26 According to the docs I have found you need to patch genkernel to
27 run /sbin/resume - it was a longstanding argument between two now
28 retired devs with the result that genkernel wont (ever) support
29 hibernation. I dont know from reading the bugs if it was ever fixed now
30 the dev who "wouldnt" has retired, or is genkernel is still broken.
31
32 Also, I have no /sbin/resume on any of my systems (some are years old
33 and have been successfully running ToI for most of that time) - so how
34 can the initramfs actually start resumimg?
35
36 Though I have a more immediate problem - hangs on hibernation and no log
37 messages.
38
39 BillK

Replies

Subject Author
Re: [gentoo-user] suspend/hibernate and genkernel. William Kenworthy <billk@×××××××××.au>
Re: [gentoo-user] suspend/hibernate and genkernel. Sebastian Pipping <sping@g.o>