public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help
Date: Fri, 31 Oct 2008 23:41:22 -0400	[thread overview]
Message-ID: <20081101034122.GB7449@waltdnes.org> (raw)
In-Reply-To: <c30988c30810311051w767a6789ue7e06fc2af262581@mail.gmail.com>

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 <waltdnes@waltdnes.org>



  reply	other threads:[~2008-11-01  3:41 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 [this message]
2008-11-02 22:58     ` Joshua Murphy
2008-11-01  5:18   ` Iain Buchanan
2008-11-02 22:37     ` Joshua Murphy
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=20081101034122.GB7449@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --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