LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 07:01 PM   #1
qwijibow
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, 07:07 PM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
I think it's called 'swsusp'.
 
Old 09-02-2004, 01: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, 06:16 PM   #4
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu 10.04, Debian Squeeze, Windoze 7
Posts: 512

Rep: Reputation: 35
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, 07:50 AM   #5
qwijibow
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, 02:40 PM   #6
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu 10.04, Debian Squeeze, Windoze 7
Posts: 512

Rep: Reputation: 35
unstable? How?

The system is braindead (hangs) after resume?

Or it only works a certain percentage of all tries?
 
Old 09-08-2004, 03:51 PM   #7
qwijibow
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, 07: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 11:09 PM
Suspend-to-disk in SuSE 9.3 bt05 Suse/Novell 4 05-08-2005 02:55 PM
Suspend to disk possible on desktop? captainfreedom Mandriva 1 04-09-2005 10:09 AM
apm suspend-to-disk m00t00 Linux - Laptop and Netbook 0 11-24-2004 04:21 PM
Can't suspend to disk. tfc Linux - General 2 11-14-2004 04:25 PM


All times are GMT -5. The time now is 05:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration