Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


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

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
s2ram -a 2 -f
then all commands fail(cd,shutdown,maketty, everything) , giving the error > "Segmentation Fault"

If I suspend using
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
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321
Blog Entries: 1

Rep: Reputation: 31

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.

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.


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


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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:55 AM.

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