Alternative to using swap for hibernating

Todd Zullinger tmz at pobox.com
Thu Apr 12 04:39:58 UTC 2007


Sam Varshavchik wrote:
> I've been trying to figure out why one of my laptops just damn
> refuses to hibernate.  It starts the hibernation process, turns off
> X, begins shrinking memory, turning things off -- then boom!  it
> drops back into X, reconnects to wireless, and just keeps on
> chugging.  Without really showing any informative error message.
> 
> I finally found the clue in /var/log/messages:
> 
> Apr 11 23:57:55 lc2440 kernel: swsusp: Not enough free swap
> Apr 11 23:57:55 lc2440 kernel: Restarting tasks … done.
> Apr 11 23:57:55 lc2440 kernel: Enabling non-boot CPUs …
> 
> So, it can't fit the contents of RAM into swap.
> 
> This laptop has 2GB of ram.  I've partitioned the drive with a 512MB
> swap.
> 
> Now, I don't really feel like blowing 2GB of my laptop's hard drive
> on an essentially useless swap partition.  Besides, it's a bit too
> late for me to repartition.

If you're using LVM you can resize things that way if you really
wanted to (though I don't think you do :).

> Do I have any other ways to get hibernation working?

What about using a swap file instead?

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
Cogito cogito ergo cogito sum --
I think that I think, therefore I think that I am.
        -- Ambrose Bierce, "The Devil's Dictionary"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070412/ca8dea21/attachment-0002.bin 


More information about the users mailing list