public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Machine reboots immediately when suspended-to-disk
Date: Wed, 21 Oct 2009 12:46:12 +0100	[thread overview]
Message-ID: <358eca8f0910210446o708b0f0crdffa9d77272d4b3c@mail.gmail.com> (raw)
In-Reply-To: <1256086442.489979.108.camel@centar>

2009/10/21 Albert Hopkins <marduk@letterboxes.org>:
> On Tue, 2009-10-20 at 20:14 -0400, waltdnes@waltdnes.org wrote:
>>   I've enabled suspend-to-disk in the kernel.  When I issue the
>> command
>> "echo disk > /sys/power/state", it suspends but *IMMEDIATELY* reboots
>> and comes back up again.  The session restores properly from the swap
>> drive, so at least that part works.  What can I do to keep it sleeping
>> until I power up again?
>
> Ok I'm going to address this issue.  You specified multiple issues in
> your email.  I think it's better to split each issue into its own
> posting.  It's simpler easier to work with one problem at a time and
> also replies to postings on different issues don't get all garbled
> up/confusing in archive searches.
>
> 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.
>
> You should also check dmesg.  More than likely there is a kernel error
> that explains why it failed to suspend completely.

Or use hibernate -v4 from a root terminal to see any error messages.
-- 
Regards,
Mick



  reply	other threads:[~2009-10-21 11:46 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 [this message]
2009-10-21 21:22   ` waltdnes
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=358eca8f0910210446o708b0f0crdffa9d77272d4b3c@mail.gmail.com \
    --to=michaelkintzios@gmail.com \
    --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