Re: Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 18:52:37 +0000 (UTC)
T o n g <mlist4suntong@yahoo.com> wrote:
> On Fri, 29 Jan 2010 13:32:53 -0500, Celejar wrote:
>
> >> and s2disk preserves the system and shuts down fine.
> >>
> >> However, on turning on the machine, everything goes back to old routine
> >> and does a normal boot, instead of resuming from my suspension. What
> >> I've missed?
> >
> > It looks like the kernel / initrd isn't properly configured to use the
> > resume image. I'm not really expert on this stuff, but please post:
> >
> > a) your uswsusp.conf
>
> $ cat /etc/uswsusp.conf
> # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
> resume device = /dev/sda9
> compress = y
> early writeout = y
> image size = 1786029178
> shutdown method = shutdown
> #compute checksum = y
Don't really understand this stuff well, but have you tried the
'platform' method?
> I've double checked again that "resume device" and "image size" settings
> are appropriate:
>
> $ blkid | grep sda9
> /dev/sda9: LABEL="swap" UUID="05858bd5-e713-421a-a4c3-02fda431ec44"
> TYPE="swap"
>
> $ cat /proc/meminfo | grep MemTotal
> MemTotal: 3791672 kB
>
> > b) (relevant parts of) the dmesg / syslog from a boot after a suspend
>
> Hmm... I didn't spot anything relevant in /var/log/dmesg or /var/log/
> syslog. Could you post yours so that I know what to look for pleae?
I'll see if I can get any useful dmesg output next time I resume. You
mentioned running update-initramfs - forgive a dumb question, but did
you do that after configuring uswsusp?
I see that I have a file /etc/initramfs-tools/conf.d/resume, containing
the line:
RESUME=UUID=4b33b853-b245-4ec1-b649-c14f9a9b9907
Do you have such a file, with similar contents?
Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: