Hi,
I am trying to suspend to disk but I have a problem with not enough space available it seems. However I would hope that my swap partition is big enough to receive the image.
I'm not quite able to find the relevant help on the web it seems... So after long searches, I am looking for help on this forum!

It looks like my swap partition is only 1035 Megabytes. I should probably have a bigger value there?
I am on amd64, and tuxonice-sources-3.0.35 is the latest stable ebuild.
In principle I am not against other methods, but I was under the impression that tuxonice + pm-utils was the right combination for relatively recent laptops?
Cheers,_________________nichocouk

Well, I'm unsure of what are the required steps to increase the size of my swap partition (I must have messed up my partitioning when I installed gentoo a while ago). I'll try to think about it.
But wouldn't it be quicker to work with a swap file rather than playing with my partitions?
I have tried the method outlined in the gentoo wiki, but I get stuck when activating the swap partition:

OK, so it seems that I can report adding the swap file has solved my issues. The funny thing is that, according to dmesg, the swap file is never used for hibernation by tuxonice. It seems to be doing fine with the swap partition only (which hasn't changed).
So I suppose that somehow, the rest of my system is using the swap file? Which would then make the swap partition more available for hibernation?

By the way, I think that in the Gentoo wiki on Tuxonice, it should be made clear that when you create a swap file, you have to add a corresponding entry in your fstab file to make the swap activation on that file permanent.
E.g. I now have in /etc/fstab:

Code:

/dev/sda6 none swap sw 0 0
/swapfile none swap sw 0 0

Anyway, I'm happy now as it seems I can hibernate with still most of my applications open and running without trouble.

I never found uswsusp to be slow, nor have I missed any of the TuxOnIce features. When I used TuxOnIce, I regularly missed being able to update when I wanted, because out-of-tree patches tended to lag. Also, I seem to recall experiencing an unacceptably high number of crash-on-hibernate events while using TuxOnIce. Nigel Cunningham's code is not the default because it is out-of-tree and past attempts to merge it have been unsuccessful.

weird... For my usage you can't even compare both hibernate/resume times
swsusp take so long you miss any advantage to do hibernation, since it's about the same time before having desktop usable.
It seems also that something go wrong with swap usage, because it grows every hibernate cycle, and so became more and more slower.
Sure that on my own PC with an recent SSD, tuxonice give not clear benefit, but on my small laptop with slow hdd, swsusp is not usable