Gentoo Archives: gentoo-user

From: "wdk@.moriah" <billk@×××××××××.au>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] chicken/eff issue with suspend-to-disk/hibernate problem [Was: The End Is Near ... or, get the vaseline, they're on the way!]
Date: Thu, 29 Mar 2012 10:43:23
Message-Id: 46D81334-796C-4A64-975D-70F3641D648C@iinet.net.au
In Reply to: Re: [gentoo-user] chicken/eff issue with suspend-to-disk/hibernate problem [Was: The End Is Near ... or, get the vaseline, they're on the way!] by "J. Roeleveld"
1 On 29/03/2012, at 17:35, "J. Roeleveld" <joost@××××××××.org> wrote:
2
3 >
4 > On Mon, March 19, 2012 3:56 pm, Alex Schuster wrote:
5 >> William Kenworthy writes:
6 >>
7 >>> On Sun, 2012-03-18 at 18:30 -0600, Canek Peláez Valdés wrote:
8 >>
9 >>>> My laptop has used dracut since months ago, and suspends/resumes just
10 >>>> fine, as it does my media center.
11 >>
12 >>> Genkernel doesnt, bugs and work arounds on gentoo bugzilla, with angry
13 >>> comments from a dev that it wont be supported and to not file bugs for
14 >>> it - now that dev has moved on I dont know if enough has changed to test
15 >>> the waters and file a bug again.
16 >>>
17 >>> Its missing a hook in the initrd to call the binary that starts the
18 >>> resume process.
19 >>
20 >> Huh? I don't use this at the moment, because suspend-to-ram is enough for
21 >> me, but it (that is, the initramfs part) used to work just fine out of the
22 >> box for me, also opening my LUKS-encrypted root volume being on LVM. It
23 >> also seemed to work on another Gentoo PC I installed recently, although
24 >> TuxOnIce itself does not work so the resume fails. Argh, this suspend to
25 >> disk stuff NEVER really worked for me, and I tried for years on different
26 >> systems.
27 >
28 > I had it working a long time ago, but the last time I tried it I ended up
29 > with a bit of a problem:
30 >
31 > I don't want a swap-partition on the SSD in my netbook. So I want it to
32 > use the SD-card that's permanently plugged in. Problem is, it's connected
33 > via an internal USB-port and USB is killed before the writing-proces for
34 > the suspend-to-disk starts.
35 >
36 > Anyone know a solution short of rewriting the kernel? ;)
37 >
38 > --
39 > Joost
40 >
41 >
42 try tuxonice - allows you to suspend to a file on disk as well as ram or swap. Added bonus is its much more robust than in-kernel, and the dev (Nigel) is very responsive if help or bugfixes (usually for new kernel versions) are needed.
43
44 BillK

Replies