Gentoo Archives: gentoo-user

From: "wdk@.moriah" <billk@×××××××××.au>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] suspend/hibernate and genkernel.
Date: Wed, 14 Mar 2012 23:13:40
Message-Id: 400D0238-135D-4B2D-9952-2967F8210FA0@iinet.net.au
In Reply to: Re: [gentoo-user] suspend/hibernate and genkernel. by "Canek Peláez Valdés"
1 On 15/03/2012, at 0:54, Canek Peláez Valdés <caneko@×××××.com> wrote:
2
3 > On Wed, Mar 14, 2012 at 8:28 AM, William Kenworthy <billk@×××××××××.au> wrote:
4 >> On Wed, 2012-03-14 at 14:27 +0100, Sebastian Pipping wrote:
5 >>> On 03/14/2012 04:49 AM, William Kenworthy wrote:
6 >>>> According to the docs I have found you need to patch genkernel to
7 >>>> run /sbin/resume - it was a longstanding argument between two now
8 >>>> retired devs with the result that genkernel wont (ever) support
9 >>>> hibernation. I dont know from reading the bugs if it was ever fixed now
10 >>>> the dev who "wouldnt" has retired, or is genkernel is still broken.
11 >>>
12 >>> I'd be interested to hear more details.
13 >>> Can you share links to your sources with me?
14 >>>
15 >>> Thanks,
16 >>>
17 >>>
18 >>>
19 >>> Sebastian
20 >>>
21 >>
22 >> https://bugs.gentoo.org/show_bug.cgi?id=156445 - particularly the
23 >> comment dated 2007-09-14 20:58:00 UTC.
24 >>
25 >> and google gets others as well. There are a number of guides describing
26 >> the patching and related problems ... note that the above is 2007 ...
27 >> and it still doesnt work.
28 >>
29 >> Basicly the question is does genkernel support some of the more complex
30 >> setups, but as having suspend/resume on a laptop is almost mandatory its
31 >> something genkernel should support out of the box. For my uses, if it
32 >> has to be patched to add such basic support ... its broke.
33 >
34 > Mmmmh. Again, as I said before, suspend/resume should have nothing to
35 > do with an initramfs. Hibernate it's the one that may need special
36 > support from the initramfs to work.
37 >
38 > Just to clarify, neither of them works for you without patching
39 > genkernel? Or are you talking only about hibernate?
40 >
41 > Regards.
42 > --
43 > Canek Peláez Valdés
44 > Posgrado en Ciencia e Ingeniería de la Computación
45 > Universidad Nacional Autónoma de México
46 >
47 I have only tested hibernate - some major problems when starting this morning, buts that's probably tuning for in-kernel as against a system setup for ToI.
48
49 I also am getting /usr errors again (both on boot and resume from hibernate, can't find some binaries on /usr, but mounts ok later in the sequence -maybe timing) - lack of detailed debug when in the initramfs is a problem - will have to start scattering print statements through it ...
50
51 This is on a home gateway/server that's shutdown/powered off overnight. Startup has to be fast as when power comes on (via remote controlled relays) there are PXE diskless NFS systems (mythtv front ends) that time out if it goes through a full boot sequence.
52
53 BillK