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 ) id 1N0ikz-0007d6-Hr for garchives@archives.gentoo.org; Wed, 21 Oct 2009 21:30:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A86BE089E; Wed, 21 Oct 2009 21:30:08 +0000 (UTC) Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 291C9E089E for ; Wed, 21 Oct 2009 21:30:08 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAK8a30pFpZ9//2dsb2JhbACBUtpVgjuBeASBXIY5 X-IronPort-AV: E=Sophos;i="4.44,599,1249272000"; d="scan'208";a="47963173" Received: from 69-165-159-127.dsl.teksavvy.com (HELO waltdnes.org) ([69.165.159.127]) by ironport2-out.pppoe.ca with SMTP; 21 Oct 2009 17:29:50 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Wed, 21 Oct 2009 17:22:58 -0400 From: waltdnes@waltdnes.org Date: Wed, 21 Oct 2009 17:22:58 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Machine reboots immediately when suspended-to-disk Message-ID: <20091021212258.GA14577@waltdnes.org> References: <20091021001411.GA4883@waltdnes.org> <1256086442.489979.108.camel@centar> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1256086442.489979.108.camel@centar> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: d5cd049e-517a-4b9e-b93a-ede12359d329 X-Archives-Hash: e382a487ad996160c685b73b61411e72 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... 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. > 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