From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-102203-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1N0Zdu-0000jz-TU
	for garchives@archives.gentoo.org; Wed, 21 Oct 2009 11:46:15 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 706E1E0691;
	Wed, 21 Oct 2009 11:46:13 +0000 (UTC)
Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211])
	by pigeon.gentoo.org (Postfix) with ESMTP id 35280E0691
	for <gentoo-user@lists.gentoo.org>; Wed, 21 Oct 2009 11:46:13 +0000 (UTC)
Received: by fxm7 with SMTP id 7so7232408fxm.34
        for <gentoo-user@lists.gentoo.org>; Wed, 21 Oct 2009 04:46:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=WlUgBG+4DM/AGWrxTR7Pk1X+MzwXNWFVkXwlkYcnrbw=;
        b=FlE3Ov2SL0lIN8zneHqlgvhVItew4+v2vbsILowtWUL32YdknIPJEP/ygPpfSKZf3C
         sfLeqVg09Iyy08sEuIbX9zLfypUEPLEBWcB5Jkgm7l0DY5xG6eIbnlfdHFZR9ZpVACbC
         ClLzu6YNIbgErsjsfUY7AbiO9iSdV20LsjaLk=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=qKPIonsXXKs/SsWMXLO5CQ2zq6QTEGD3Kt2VBE6vQP6fqSb7Azr++EmwBPhK5O8WGO
         J8Lz+y9MAeYOE/lI8aoAe+iCL5NUd/AkoK6W4y0mdRuzsm+cUyQKaEMxgnCaXrmHdwke
         3qQusmekOZTWIgnh+qhkfe3LwtJvVf4cBH+no=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.204.26.206 with SMTP id f14mr7831780bkc.95.1256125572458; Wed, 
	21 Oct 2009 04:46:12 -0700 (PDT)
In-Reply-To: <1256086442.489979.108.camel@centar>
References: <20091021001411.GA4883@waltdnes.org>
	 <1256086442.489979.108.camel@centar>
Date: Wed, 21 Oct 2009 12:46:12 +0100
Message-ID: <358eca8f0910210446o708b0f0crdffa9d77272d4b3c@mail.gmail.com>
Subject: Re: [gentoo-user] Machine reboots immediately when suspended-to-disk
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: c107bd98-73dc-4a09-bac9-ac3667decc99
X-Archives-Hash: 78b3cbb976c4d4ff5a1f07256710791f

2009/10/21 Albert Hopkins <marduk@letterboxes.org>:
> On Tue, 2009-10-20 at 20:14 -0400, waltdnes@waltdnes.org wrote:
>> =A0 I've enabled suspend-to-disk in the kernel. =A0When I issue the
>> command
>> "echo disk > /sys/power/state", it suspends but *IMMEDIATELY* reboots
>> and comes back up again. =A0The session restores properly from the swap
>> drive, so at least that part works. =A0What can I do to keep it sleeping
>> until I power up again?
>
> Ok I'm going to address this issue. =A0You specified multiple issues in
> your email. =A0I think it's better to split each issue into its own
> posting. =A0It'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. =A0A
> better way is to use "pm-hibernate --quirks" (pm-hibernate is from the
> pm-utils packages). =A0The --quirks option will try to handle any, well,
> quirks that are known with your hardware. =A0echo'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. =A0More 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.
--=20
Regards,
Mick