-   Linux - Software (
-   -   how to suspend to disk. ? (

qwijibow 08-18-2004 06:01 PM

how to suspend to disk. ?
im using Gentoo with kernel 2.6.8 compiled with suspend support ("CONFIG_SOFTWARE_SUSPEND=y")

how exactly do i use it ? i assume i need to install some userspace software ?

ive searched the Documentation for any files name suspend, nothing.
and an emerge search for suspend finds nothing..

whats the software called ?

i have 256megs of Swap, and 512 megs of RAM.. however on normal use, the ram is only 55% in use, with 35% of than disk cache. so i should have enough swap ?

if not i should be able to resize my reiserfs partiton.

anyways, whats this suspend software called ? where can i get if (hopfully when i find its name, it will be in my portage tree)


aaa 08-18-2004 06:07 PM

I think it's called 'swsusp'.

Alexmipego 09-02-2004 12:14 PM

I think with kernel 2.6 you must do a echo 4 > /proc/acpi/sleep
But I'm not sure because I do not used it yet.

browny_amiga 09-02-2004 05:16 PM

I was wondering the same.

I am looking for this functionality for some time now and know that 2.6 supports it.
Are there any distros out yet that have software written for it that does use this cool feature?

I need that functionality urgently :-) for my linux car server (not even prototype yet, for listening mp3s, surf on wireless, dictaphone for notes and monitoring the cars functions), so it can go suspend to disk when you switch off the ignition key. ;-)

qwijibow 09-03-2004 06:50 AM

all 2.6 kernel distro's support it.
and the answer on how to do it has already been posted.

but i find the feature to be very unstable on my system.

browny_amiga 09-08-2004 01:40 PM

unstable? How?

The system is braindead (hangs) after resume?

Or it only works a certain percentage of all tries?

qwijibow 09-08-2004 02:51 PM

unstable becayse ive only ever managed to get it to work properly by first unloading the nvidia kernel module, even though it is supposed to support acpi sleep.

most of the time, it stops all the programs, savs the state to swap, then it fails and wakes up when it should power off.

and when it does suspend properly, the resume apears to work fine, but a few kernel modules report a few errors.

i dont trust it.

xround 10-07-2004 06:56 PM

qwijibow, I wonder if I will try this feature.

Did you use the patch with the options


as mentioned RL=]this[/URL]of official site ?
Or did you use the kernel as is, with only CONFIG_SOFTWARE_SUSPEND=y ?


All times are GMT -5. The time now is 08:24 AM.