LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-18-2009, 05:46 PM   #1
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
Error when suspending - was working


Suspend was working fine, but suddenly it's stopped working.

When I try and suspend it drops me to tty1 and says nothing. I can switch back to tty7 and continue working in X. In /var/log/pm-suspend.log it says "s2ram: symbol lookup error: s2ram: undefined symbol: LRMI_base_addr".

This happens when suspending from GNOME or from the command line.

Any ideas?

Thanks
 
Old 06-18-2009, 06:22 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
If it just stopped working 'suddenly' then something must have changed either software or hardware-wise with the system.
Have you installed or deleted any packages or libraries?

In a root console, try this:

echo -n mem > /sys/power/state

and see if it suspends to ram properly. If it does, then something has changed with your s2ram tool or its dependencies (if any) so maybe reinstall/rebuild it.

If this doesn't work, see above (about whether you installed, removed, or changed anything) and undo whatever changed.

Best of luck

Sasha
 
Old 06-19-2009, 01:17 AM   #3
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Original Poster
Rep: Reputation: 34
Thanks, that puts it to sleep.

I've got an identical computer which is running Debian Sid also. Both are up-to-date and that doesn't have this problem. It's very strange. Yes I install updates every day or so but it has only affected this computer, not the other one. I can't think of anything that I have done that would have caused this.

I'll try and reinstall the uswsusp package (I think that is the s2ram/disk commands) and see if that makes any difference.
 
Old 06-19-2009, 01:31 AM   #4
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Original Poster
Rep: Reputation: 34
Reinstalling didn't work, so I tried removing uswsusp and now it works! It didn't remove any dependencies. Maybe I installed something on this laptop (which I didn't on the other) that put this package on here. I'll file a bug report against this.
 
  


Reply



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
suspending vmplayer gil_r21 Linux - General 2 10-26-2007 10:37 AM
suspending a process kornelix Programming 7 05-14-2006 07:59 AM
Problems when suspending ziller Linux - Networking 0 01-01-2006 12:20 PM
suspending tasks ??? flynnhandley Linux - Software 2 10-01-2003 11:32 PM
suspending in slack Syncrm Slackware 5 06-17-2002 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:39 AM.

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
Open Source Consulting | Domain Registration