after suspend to RAM -- unable to unlock or startx
I am using Slackware 13 x86_4. I have it set so that when I close my lid, it suspends to RAM. When I open my lid, it asks for password, but after I enter it, it freezes. I force KDE down by Ctrl+Alt+Backspace then read the errors. It says:
Code:
xauth: error in locking authority file /home/ridwan/.Xauthority Code:
/usr/bin/startx: line 158: cannot create temp file for here document: Read-only file system Thanks! |
Try this thread...
This thread might lend some insight into your problem, Although I see you're actually running Windows 7 ;)
http://www.linuxquestions.org/questi...suspend+laptop Hope that helps :) |
It looks as though that everything is getting changed to read only after suspending to RAM. Even if I run
Code:
echo mem > /sys/power/state |
I've used Sasha's script and although it will allow me to resume my system after suspending to RAM, I have the same error with KDE. Whenever I try to open Home or click on any buttons, it doesn't allow it saying that it is "malformatted". I shut down x and try to restart again, followed by the same Read-only file system errors.
Here's what I get in konsole after my computer is revived from ./suspend mem using Sasha's script. Code:
Cannot open '/var/log/kernel' for reading: No such file or directory Thanks again! |
Bump!
|
well /etc/mtab will tell you if it's all ro
|
Quote:
|
Well, replicate it and lets see if it is doing so
|
Sure, give me a sec. I am going to suspend to RAM then look at mtab. I will probably have to hard reset afterwards, so it'll be a min.
Thanks again. |
This is what my /etc/mtab looks like, before and after suspend to RAM (the seconds I have before I have to hard reset).
Code:
/dev/root / ext4 rw,barrier=1,data=ordered 0 0 |
Okay, then its the script that has the problems ;) Give me a few minutes and I'll see what I can do with it
|
Have you editted this script? Line249, as reported, is giving an error with killall, which isn't on this line in the script provided.
Also, can you give me the exact command you're running for this? |
Sure. With Sasha's script, I am doing
Code:
su Code:
./suspend: line 249: /bin/killall: Input/output error My line 249 is Code:
[ "$(ps ax | grep dhcpcd)" ] && killall -q dhcpcd |
Odd; you can't type anything on the screen?
|
After my computer is revived from suspend to RAM, my KDE screen slowly deteriorates, forcing me to Ctrl+Alt+Backspace my way into the terminal. Once in the terminal, if I try to startx I get the errors I posted in the original post. If I try to run any other commands, such as shutdown -h now, I get errors like can't execute from /sbin/shutdown -- Input/output error. I also checked the entire / directory with ls -l, everything has the proper accessibility for root, even though root can not run anything either.
EDIT: I am using Sasha's script from here. |
All times are GMT -5. The time now is 02:38 PM. |