Prev: eth0 or eth1
Next: Recording website audio
From: Celejar on 29 Jan 2010 09:00 On Fri, 29 Jan 2010 10:11:29 +0100 Sven Joachim <svenjoac(a)gmx.de> wrote: .... > The uswsusp package does not seem to be well maintained and has > accumulated six release critical bugsĀ¹ which prevent it from being in > squeeze. What's really worrisome is that there is no visible reaction > from the maintainer. Hm, I had no idea. I'm not sure why apt-listbugs didn't howl when I upgraded to 0.8-1.2, but so far, I haven't been bitten by these bugs - I guess that I've been lucky. In any event, when I originally wrote 's2disk', I really meant the in-kernel suspend-to-disk functionality, which can be invoked in various other ways. Moreover, in the most common use case for suspending, where a machine will be disconnected from its external power source, it's not a great idea to use suspend-to-ram without a working suspend-to-disk backup, since if the internal battery drains before the external power source is reconnected, the system will crash, with possible data loss, etc. 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 -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: T o n g on 29 Jan 2010 13:00 On Thu, 28 Jan 2010 22:53:28 -0500, Celejar wrote: >> I'm trying to get Suspend/Hibernate works with my Debian Laptop. Please >> recommend a good article/blog/site for me to follow. . . > > YMMV, but in my experience, s2disk "just works", while s2ram has never > really worked for me. IIUC, s2disk is much less dependent on > undocumented, mysterious hardware quirks than s2ram. Thanks, I managed to successfully - install uswsusp - configed /etc/uswsusp.conf - did update-initramfs -u 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? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Celejar on 29 Jan 2010 13:40 On Fri, 29 Jan 2010 17:59:13 +0000 (UTC) T o n g <mlist4suntong(a)yahoo.com> wrote: .... > Thanks, I managed to successfully > > - install uswsusp > - configed /etc/uswsusp.conf > - did update-initramfs -u > > 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 b) (relevant parts of) the dmesg / syslog from a boot after a suspend 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 -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: T o n g on 29 Jan 2010 14:00 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 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? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Boyd Stephen Smith Jr. on 29 Jan 2010 14:10
On Friday 29 January 2010 12:32:53 Celejar wrote: > On Fri, 29 Jan 2010 17:59:13 +0000 (UTC) > T o n g <mlist4suntong(a)yahoo.com> wrote: > > Thanks, I managed to successfully > > > > - install uswsusp > > - configed /etc/uswsusp.conf > > - did update-initramfs -u > > > > 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. What does you kernel line look like in your lilo/grub1/grub2 configuration. I think it may be helpful to have a resume= argument there somewhere. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss(a)iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/ |