From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] hibernate fails, "s2disk" not found
Date: Thu, 30 Oct 2008 00:33:04 -0400 [thread overview]
Message-ID: <20081030043304.GA5130@waltdnes.org> (raw)
In-Reply-To: <490848AB.9010004@tibyke.hu>
On Wed, Oct 29, 2008 at 12:27:39PM +0100, Pint?r Tibor wrote
>> [d530][root][~] emerge -pv s2disk
>> These are the packages that would be merged, in order:
>> Calculating dependencies |
>> emerge: there are no ebuilds to satisfy "s2disk".
>> Now what?
>
> emerge -pv suspend
First, I had to keyword "=sys-power/suspend-0.8 ~x86" in
package.keywords. I set up suspend.conf like so...
snapshot device = /dev/snapshot
resume device = /dev/sda6
#image size = 350000000
#suspend loglevel = 2
compute checksum = y
#compress = y
#encrypt = y
#early writeout = y
#splash = y
Here is my disk layout
[d530][root][~] fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd0000000
Device Boot Start End Blocks Id System
/dev/sda1 1 60801 488384001 5 Extended
/dev/sda5 1 62 497952 83 Linux
/dev/sda6 63 549 3911796 82 Linux swap / Solaris
/dev/sda7 550 60801 483974158+ 83 Linux
No, it's not LVM. / is half-a-gig, followed by swap, followed by the
rest of the drive. I use multiple bindmounts to make things look
normal. When I tried "sync", followed by "hibernate" it shut down, but
when I powered back up with the power button, here's what happened...
- on the reboot, it complained about the superblock "last access" being
in the future (the half-gig partition is ext2)
- it "fixed" the access date
- complained that the hard drive was "dirty", i.e. not properly shut
down
- rebooted
- played back a whole bunch of disk transactions on /dev/sda7
(reiserfs). Did i mention I ran "sync" before "hibernate"?
- it did the rest of the ordinary boot process.
- it did *NOT* restore anything from the previous session. Do I have to
explicitly set something to tell it to restore a previous session?
Gentoo-wiki is stll down.
--
Walter Dnes <waltdnes@waltdnes.org>
next prev parent reply other threads:[~2008-10-30 4:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 10:15 [gentoo-user] hibernate fails, "s2disk" not found Walter Dnes
2008-10-29 11:00 ` Neil Bothwick
2008-10-29 11:27 ` Pintér Tibor
2008-10-30 4:33 ` Walter Dnes [this message]
2008-10-30 7:25 ` Joshua Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081030043304.GA5130@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox