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 <gentoo-user+bounces-85860-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Kwla5-0006FJ-3L
	for garchives@archives.gentoo.org; Sun, 02 Nov 2008 22:38:01 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7F33CE02AC;
	Sun,  2 Nov 2008 22:38:00 +0000 (UTC)
Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 501C2E02AC
	for <gentoo-user@lists.gentoo.org>; Sun,  2 Nov 2008 22:38:00 +0000 (UTC)
Received: by wa-out-1112.google.com with SMTP id v33so1176345wah.2
        for <gentoo-user@lists.gentoo.org>; Sun, 02 Nov 2008 14:37:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=UBXZvEASJyVIvdVAKc/jFCCp9zCYSd4ER0nAlXSinTo=;
        b=a/R1EvhX2p+wETuVmh/LMXkSMHb3ULm/yHQ9clJeN2celz5C/9vePDns5V9BQrjq2y
         tc1cTp6vyhUQjG9Ba4nFEfwhyf50QKIHMP6rhNlVtroY2654ECfeRm7y4xThVi535+KS
         MUbatmWAYS0RupuYUJG5JIMbFSPP2p4HMIK8M=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=s+Di0q56y7q6lwjeJVpwA/rvyUhNL/oNZImRneB2l/s1DbLwbBdQcDGC0f9N93JKc9
         lUl2f9odP1aGrL2H2GfmMxQ8UWjK1CNnVHyZnqcUOrdod76DAIHSdnfgX4nJdGEK+0pC
         ZWEw8F84X/ZsfovddeAqGratQD4lMVOivzt4Q=
Received: by 10.114.183.1 with SMTP id g1mr11804490waf.131.1225665478546;
        Sun, 02 Nov 2008 14:37:58 -0800 (PST)
Received: by 10.114.145.19 with HTTP; Sun, 2 Nov 2008 14:37:58 -0800 (PST)
Message-ID: <c30988c30811021437k74c86dcr9a1cda234a1716c9@mail.gmail.com>
Date: Sun, 2 Nov 2008 17:37:58 -0500
From: "Joshua Murphy" <poisonbl@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help
In-Reply-To: <490BE6B3.4040300@netspace.net.au>
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
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <20081031035456.GA4974@waltdnes.org>
	 <c30988c30810311051w767a6789ue7e06fc2af262581@mail.gmail.com>
	 <490BE6B3.4040300@netspace.net.au>
X-Archives-Salt: 03fbc866-da20-48eb-8bae-e374eb78bf23
X-Archives-Hash: 346f9f080658d1e34db39a0f5801015a

On Sat, Nov 1, 2008 at 12:18 AM, Iain Buchanan <iaindb@netspace.net.au> wrote:
> Joshua Murphy wrote:
>>
>> On Thu, Oct 30, 2008 at 11:54 PM, Walter Dnes<waltdnes@waltdnes.org>
>>  wrote:
>>>
>>>  I ran hibernate once unsuccessfully.  I forgot to put "resume=" into
>>> my lilo.conf (oops).  I finally did that, but now, hiberate gets to...
>>>
> [snip]
>>>
>>>  What did I did?  And how do I straighten it out?
>>
>> 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...
>
> :)  Actually it can!  This is the whole point of using a swap partition for
> hibernating!  In fact, this is the only configuration I used (one swap
> partition to suspend to) for years, until I got a laptop with 4G ram I
> thought a large swap partition was a bit redundant.  Now I hibernate to a
> file.
>
> tuxonice can hibernate to 1 or more swap partitions.
>
>> 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.
>
> actually it can also free up some ram, and your image is compressed using
> lzf which can achieve a claimed 30 - 50% but generally you should have
> enough free swap to cover the size of used RAM.
>
> If you have too little swap, tuxonice will "abort gracefully"
>
> cya,
> --
> Iain Buchanan <iaindb at netspace dot net dot au>
>
> "He don't know me vewy well, DO he?"   -- Bugs Bunny
>
>

I stand quite humbly corrected... this is what I get for leaving my
old desktop running 24/7 unless kernel changes or power outtages
interrupted. Now with my playing Combat Arms... and being limited to
Windows for that... I may well resort to setting up hibernating for my
system... finally. Great to know the details better now! (and my
apologies for the misinformation)

-- 
Poison [BLX]
Joshua M. Murphy