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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-18-2004, 06:01 PM
|
#1
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
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.
|
|
|
08-18-2004, 06:07 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
I think it's called 'swsusp'.
|
|
|
09-02-2004, 12:14 PM
|
#3
|
LQ Newbie
Registered: Aug 2004
Location: Portugal
Distribution: FC2, MDK10, Others...
Posts: 6
Rep:
|
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.
|
|
|
09-02-2004, 05:16 PM
|
#4
|
Member
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684
Rep:
|
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. ;-)
|
|
|
09-03-2004, 06:50 AM
|
#5
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
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.
|
|
|
09-08-2004, 01:40 PM
|
#6
|
Member
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684
Rep:
|
unstable? How?
The system is braindead (hangs) after resume?
Or it only works a certain percentage of all tries?
|
|
|
09-08-2004, 02:51 PM
|
#7
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
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.
|
|
|
10-07-2004, 06:56 PM
|
#8
|
Member
Registered: Oct 2003
Location: France
Distribution: RH9
Posts: 84
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|