LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-11-2009, 02:21 AM   #1
chessonly
Member
 
Registered: Jan 2005
Distribution: ubuntu
Posts: 57

Rep: Reputation: 15
Smile Problems after resuming from suspend to ram


Running pclinuxos minime 2008, usb install.
I am having problems resuming my system, after suspending it to ram. The system suspends successfully, its only resume part that is giving me trouble.
After resuming from suspend, several commands refuse to work.

If the system is suspended with the command
Code:
Quote:
s2ram -a 2 -f
then all commands fail(cd,shutdown,maketty, everything) , giving the error > "Segmentation Fault"

If I suspend using
Code:
echo -n mem > /sys/power/state
Then only some commands fail(synaptic,pcc), while others continue to work(cd, ls) . Errors are >
"cannot execute binary file"
"error while loading shared libraries: /usr/lib/different-lib-files: invalid ELF header"

What could possibly be the problem?

I run in root, so probably its not a permissions problem. Also after a soft-reset everything is back to normal
 
Old 08-10-2012, 08:55 AM   #2
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 314
Blog Entries: 1

Rep: Reputation: 31
Chessonly,

I found your post, and I'm having almost the same problem in Debian Wheezy (32 bits) with 4Gb RAM.
I found just a workaround, still cound't isolate the final reason of failure when resuming from suspendo-to-ram.
I leave you me post and the workaround I found, limiting the amount of run by passing mem=3300m to kernel at boot time.

http://www.linuxquestions.org/questi...zy-4175414542/

May be together we could find the real reason. Any kind of memory corruption seems to occur when system resumes, cos' almost any program ends with error.

regards,
Matías

Last edited by matiasar; 08-10-2012 at 07:31 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard Doesn't Work After Resuming from Suspend to Ram beartooth91 Slackware 11 03-05-2009 02:18 PM
how to execute a command automatically after resuming from suspend to RAM? bjharker Linux - General 5 11-24-2008 09:00 AM
Suspend to RAM problems broxtor Ubuntu 0 03-31-2007 03:40 AM
How to suspend to ram ? I have problems. gkiagia Linux - Laptop and Netbook 3 09-09-2006 04:45 AM
Software Suspend - freezes while resuming TazG Linux - Software 2 08-11-2004 11:19 AM


All times are GMT -5. The time now is 04:28 PM.

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