public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: waltdnes@waltdnes.org
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Machine reboots immediately when suspended-to-disk
Date: Wed, 21 Oct 2009 17:22:58 -0400	[thread overview]
Message-ID: <20091021212258.GA14577@waltdnes.org> (raw)
In-Reply-To: <1256086442.489979.108.camel@centar>

On Tue, Oct 20, 2009 at 08:54:02PM -0400, Albert Hopkins wrote

> Ok the echo trick isn't the recommended way to suspend to disk.  A
> better way is to use "pm-hibernate --quirks" (pm-hibernate is from the
> pm-utils packages).  The --quirks option will try to handle any, well,
> quirks that are known with your hardware.  echo'ing to /sys/power/state
> is a little more low-level and could be iffy on some types of hardware.

  I ended up emerging hibernate-script and it runs great.  I added a few
tweaks to hibernate.conf.  Here's what it looks like...

TryMethod disk.conf
Distribution gentoo
OnResume 00 setfont lat1-10
DownInterfaces auto
UpInterfaces auto
UseSysfsPowerState disk
PowerdownMethod shutdown

  As for pm-utils...
<RANT>
Why the bleep can't some programmers go to the bathroom without invoking
hal and dbus?  They're hard-coded dependancies for pm-utils.  I've
managed to keep hal and dbus (and java and pam) off my machine, and will
continue doing so.  If I had a bunch of money lying around, I'd hire some
programmers to seriously slim down Firefox while I was at it.  There is
no reason a browser should need an SQL database.
</RANT>

> You should also check dmesg.  More than likely there is a kernel error
> that explains why it failed to suspend completely.

  Nothing obvious in dmesg when I tried manually shutting down.  The
listing showed the system shutting down, and then starting up.  No
warnings, let alone errors.

-- 
Walter Dnes <waltdnes@waltdnes.org>



  parent reply	other threads:[~2009-10-21 21:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21  0:14 [gentoo-user] Machine reboots immediately when suspended-to-disk waltdnes
2009-10-21  0:54 ` Albert Hopkins
2009-10-21 11:46   ` Mick
2009-10-21 21:22   ` waltdnes [this message]
2009-10-23  8:04     ` [gentoo-user] " Peter Weilbacher
2009-10-24  1:37       ` waltdnes
2009-10-24 19:10         ` Peter Weilbacher

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=20091021212258.GA14577@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