public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
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
Date: Sun, 2 Nov 2008 17:37:58 -0500	[thread overview]
Message-ID: <c30988c30811021437k74c86dcr9a1cda234a1716c9@mail.gmail.com> (raw)
In-Reply-To: <490BE6B3.4040300@netspace.net.au>

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



  reply	other threads:[~2008-11-02 22:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31  3:54 [gentoo-user] Screwed up swap while trying to get hibernate working; help Walter Dnes
2008-10-31  4:13 ` Iain Buchanan
2008-10-31 21:41   ` Walter Dnes
2008-10-31 17:51 ` Joshua Murphy
2008-11-01  3:41   ` Walter Dnes
2008-11-02 22:58     ` Joshua Murphy
2008-11-01  5:18   ` Iain Buchanan
2008-11-02 22:37     ` Joshua Murphy [this message]
2008-11-02 23:04       ` Iain Buchanan
2008-11-02 23:13         ` Joshua Murphy
2008-11-04 19:51     ` Mick
2008-11-05  4:17       ` Iain Buchanan

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=c30988c30811021437k74c86dcr9a1cda234a1716c9@mail.gmail.com \
    --to=poisonbl@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