LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2004, 06:01 PM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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)

thankyou.
 
Old 08-18-2004, 06:07 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
I think it's called 'swsusp'.
 
Old 09-02-2004, 12:14 PM   #3
Alexmipego
LQ Newbie
 
Registered: Aug 2004
Location: Portugal
Distribution: FC2, MDK10, Others...
Posts: 6

Rep: Reputation: 0
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.
 
Old 09-02-2004, 05:16 PM   #4
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Rep: Reputation: 56
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. ;-)
 
Old 09-03-2004, 06:50 AM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
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.
 
Old 09-08-2004, 01:40 PM   #6
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Rep: Reputation: 56
unstable? How?

The system is braindead (hangs) after resume?

Or it only works a certain percentage of all tries?
 
Old 09-08-2004, 02:51 PM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
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.
 
Old 10-07-2004, 06:56 PM   #8
xround
Member
 
Registered: Oct 2003
Location: France
Distribution: RH9
Posts: 84

Rep: Reputation: 15
qwijibow, I wonder if I will try this feature.

Did you use the patch with the options

CONFIG_SOFTWARE_SUSPEND2=y
CONFIG_SOFTWARE_SUSPEND_SWAPWRITER=y

as mentioned RL=http://softwaresuspend.berlios.de/Software-suspend-2.html]this[/URL]of official site ?
Or did you use the kernel as is, with only CONFIG_SOFTWARE_SUSPEND=y ?

Xround
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suspend to disk question eggoz Linux - Software 3 09-11-2005 10:09 PM
Suspend-to-disk in SuSE 9.3 bt05 SUSE / openSUSE 4 05-08-2005 01:55 PM
Suspend to disk possible on desktop? captainfreedom Mandriva 1 04-09-2005 09:09 AM
apm suspend-to-disk m00t00 Linux - Laptop and Netbook 0 11-24-2004 03:21 PM
Can't suspend to disk. tfc Linux - General 2 11-14-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration