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 12-04-2004, 12:42 PM   #1
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
Software suspend won't work .


I compiled kernel 2.6.9 with software suspend v2 enabled (swsusp2). I also installed the hibernate script. I made the swap partition three times bigger then the total amount of RAM. But when I type "hibernate" it shows a progressbar and then aborts with the following message:

Code:
 hibernate: Suspend reported the following errors:
- Suspend was aborted (see dmesg)
- Unable to free enough memory
I think there is enough space to save the memory and I can't imagine why it aborts.
There aren't any sources for help about software suspend, so if anyone have any ideas or suggestions, help! If somebody has successfully used this, please share your knowledge.
Thanks.
 
Old 12-04-2004, 04:18 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
This is still experimental stuff, but you can read up on it if you have your kernel source handy. You'll find some interesting tidbits in /usr/src/linux/Documentation/power/swsusp.txt (at least thats where it is in my 2.6.8.1 source)
 
Old 12-05-2004, 05:32 AM   #3
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Original Poster
Rep: Reputation: 35
This document was the first thing I read, but it doesn't cover this problem. I found the solution on softwaresuspend.berlios.de in the F.A.Q section. It was very trivial. My async_io_limit was too high. The solution is the following:

Code:
 echo 120 > /proc/software_suspend/async_io_limit
It works perfectly now.
 
  


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
Getting Software Suspend 2 to work microsoft/linux Linux - Laptop and Netbook 33 08-30-2005 11:20 AM
swap + software suspend astrowill Linux - Software 1 03-27-2005 05:34 AM
Software Suspend 2 error VertX Linux - Laptop and Netbook 0 02-08-2005 07:43 AM
Anyone has Software Suspend working? suslik Slackware 4 09-05-2004 08:16 PM
Software suspend won't compile jspenguin Linux - Software 0 07-17-2003 01:53 PM


All times are GMT -5. The time now is 05:26 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