From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kw7Mm-00050l-Rh for garchives@archives.gentoo.org; Sat, 01 Nov 2008 03:41:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2C5BE050C; Sat, 1 Nov 2008 03:41:35 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id AC530E050C for ; Sat, 1 Nov 2008 03:41:35 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlwFADRtC0nO+KNJ/2dsb2JhbACBdspNg1GBDg X-IronPort-AV: E=Sophos;i="4.33,525,1220241600"; d="scan'208";a="29176854" Received: from 206-248-163-73.dsl.teksavvy.com (HELO waltdnes.org) ([206.248.163.73]) by ironport2-out.teksavvy.com with SMTP; 31 Oct 2008 23:41:32 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Fri, 31 Oct 2008 23:41:22 -0400 From: "Walter Dnes" Date: Fri, 31 Oct 2008 23:41:22 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help Message-ID: <20081101034122.GB7449@waltdnes.org> References: <20081031035456.GA4974@waltdnes.org> 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: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: bfe10a9f-ca74-418c-89af-092afe7452f6 X-Archives-Hash: 5372af85b7521b3f56184a6658d4d5cc On Fri, Oct 31, 2008 at 01:51:58PM -0400, Joshua Murphy wrote > Umm... if you're hibernating to the same swap partition you're using > when the system's live... I'm pretty sure you can't do that... even if > everything does manage to fit, having sort out what belongs back in > ram and what doesn't ... it's not a very sane thing to expect the > kernel+userspace tools there to do. If I recall from last time I > considered setting it up on my system, software hibernate needs an > otherwise unused swap partition that's just a little bigger than the > amount of physical ram in your system. Which begs the next question... howsabout if I turn swap off as part of the hibernation process? I.e. in /etc/hibernate/hibernate.conf include the lines... OnSuspend 00 swapoff /dev/sda6 OnResume 00 swapon /dev/sda6 or for that matter, what's the worst that can happen if I turn off swap alltogether, and run out of memory? Is it catastrophic, or merely inconvenient (additional programs refuse to launch)? -- Walter Dnes