Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: 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 13:52:24
Message-Id: f922cb316ce12fd50fb5ae7395dc75cc.squirrel@www.antarean.org
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 "wdk@moriah"
1 On Thu, March 29, 2012 12:40 pm, wdk@moriah wrote:
2 >
3 >
4 > On 29/03/2012, at 17:35, "J. Roeleveld" <joost@××××××××.org> wrote:
5 >
6 >>
7 >> On Mon, March 19, 2012 3:56 pm, Alex Schuster wrote:
8 >>> William Kenworthy writes:
9 >>>
10 >>>> On Sun, 2012-03-18 at 18:30 -0600, Canek Peláez Valdés wrote:
11 >>>
12 >>>>> My laptop has used dracut since months ago, and suspends/resumes just
13 >>>>> fine, as it does my media center.
14 >>>
15 >>>> Genkernel doesnt, bugs and work arounds on gentoo bugzilla, with angry
16 >>>> comments from a dev that it wont be supported and to not file bugs for
17 >>>> it - now that dev has moved on I dont know if enough has changed to
18 >>>> test
19 >>>> the waters and file a bug again.
20 >>>>
21 >>>> Its missing a hook in the initrd to call the binary that starts the
22 >>>> resume process.
23 >>>
24 >>> Huh? I don't use this at the moment, because suspend-to-ram is enough
25 >>> for
26 >>> me, but it (that is, the initramfs part) used to work just fine out of
27 >>> the
28 >>> box for me, also opening my LUKS-encrypted root volume being on LVM. It
29 >>> also seemed to work on another Gentoo PC I installed recently, although
30 >>> TuxOnIce itself does not work so the resume fails. Argh, this suspend
31 >>> to
32 >>> disk stuff NEVER really worked for me, and I tried for years on
33 >>> different
34 >>> systems.
35 >>
36 >> I had it working a long time ago, but the last time I tried it I ended
37 >> up
38 >> with a bit of a problem:
39 >>
40 >> I don't want a swap-partition on the SSD in my netbook. So I want it to
41 >> use the SD-card that's permanently plugged in. Problem is, it's
42 >> connected
43 >> via an internal USB-port and USB is killed before the writing-proces for
44 >> the suspend-to-disk starts.
45 >>
46 >> Anyone know a solution short of rewriting the kernel? ;)
47 >>
48 >> --
49 >> Joost
50 >>
51 >>
52 > try tuxonice - allows you to suspend to a file on disk as well as ram or
53 > swap. Added bonus is its much more robust than in-kernel, and the dev
54 > (Nigel) is very responsive if help or bugfixes (usually for new kernel
55 > versions) are needed.
56
57 True, but I don't want to have too many write-actions to the internal SSD,
58 which means that I'd want the file on the SD as well...
59
60
61 --
62 Joost

Replies