LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Problems after resuming from suspend to ram (http://www.linuxquestions.org/questions/linux-general-1/problems-after-resuming-from-suspend-to-ram-725121/)

chessonly 05-11-2009 01:21 AM

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

matiasar 08-10-2012 07:55 AM

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


All times are GMT -5. The time now is 09:31 PM.