LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-06-2010, 09:59 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,372

Rep: Reputation: Disabled
looking for hardware reasons why suspend and hibernation don't work


My suspend-to-disk and suspend-to-RAM stopped working months ago. I've grasped at straws about why ever since, but I really don't think it's a software problem, because I've reinstalled my system (MEPIS) repeatedly. What sort of hardware failures could cause this? What should I be looking for?

I notice that at boot, Linux always says "no resume image found," even if I left the system in suspension or hibernation. I can post parts of the dmesg if someone tells me what to look for; I can't display the whole thing because it's too long to fit here.
 
Old 01-06-2010, 10:46 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
suspend and hibernate are handled with acpi. So look for

dmesg | grep acpi

some laptops need extra kernel options for acpi to work properly
Did suspend/wake fail after an upgrade by chance?

man initramfs-tools :

resume
On install initramfs-tools tries to autodetect the resume parti‐
tion. On success the RESUME variable is written to
/etc/initramfs-tools/conf.d/resume. The boot variable noresume
overrides it

sudo nano /etc/initramfs-tools/conf.d/resume

make sure line:

RESUME=XXXXx-XXX-XXXX-XXXX

points at your swap partition uuid. save and exit, then:

sudo update-initramfs -u
 
Old 01-06-2010, 11:19 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,372

Original Poster
Rep: Reputation: Disabled
Dmesg | grep acpi says:
Quote:
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
I'm using a desktop computer.

It might have been after some piece of software was upgraded that the suspend/wake failed, but I don't think so, because if I reinstall the entire system from my liveCD so that those upgrades are gone, I still can't suspend.
 
Old 01-07-2010, 06:02 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Yeah OK - it is likely that you have a HW (or firmware) issue spoiling suspend.

You do have acpi enabled. Drat - grep is case sensitive...

dmesg | grep -i acpi

... this will provide more messages. I was wondering if perhaps the dsdt went awol:

dmesg | grep -i dsdt

should tell you.

Anyway, you could try flashing your BIOS.
There is a detailed approach for tracking down suspend/resume problems here. Happy hacking
 
Old 01-07-2010, 10:40 PM   #5
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,372

Original Poster
Rep: Reputation: Disabled
I discovered that the problem seems to be my network adapter. This is how I found out. I wanted to see whether this would happen on another distro, so I installed one (Kubuntu, because I've been looking at it) on another partition, and tried both types of suspend from there. Suspend-to-RAM didn't work there either--the computer shuts down, but can't find any image when rebooting, but something interesting happened when I tried suspending to disk. It did shut down, but for a second, I saw a message to the effect that "rt61" was interfering with the suspend-to-disk. Rt61 is the driver of my wireless network adapter. (It's a Linksys WMP54G.)

Well, this seems a difficult problem. This is my second model of wireless adapter; after the first, a Linksys WUSB54G, broke, I bought a PCI card instead so I would have less cable clutter. I really can't spend money on a different network adapter (perhaps another WUSB54G, since I know it works), so unless someone has a solution for network adapters interfering with suspend/hibernate functionality, I'm probably stuck.
 
Old 01-07-2010, 10:40 PM   #6
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,372

Original Poster
Rep: Reputation: Disabled
[double-posted by mistake]

Last edited by newbiesforever; 01-08-2010 at 11:11 AM.
 
Old 01-08-2010, 07:29 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
you can tell acpi to remove your wireless driver when it suspends - check with lsmod -r rt61 just before doing a suspend. If that works then you can either remember to do this every time or add it to a suspend script.
 
Old 07-09-2010, 05:05 PM   #8
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,372

Original Poster
Rep: Reputation: Disabled
I have been distracted from this problem, mostly by school, until now. (I was just surviving without hibernation.) When I enter "lsmod -r rt61," the terminal says "usage: lsmod." That's odd--why wouldn't lsmod know that parameter?

Last edited by newbiesforever; 07-09-2010 at 05:08 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
RedHat video not coming back after suspend/hibernation jeriryan Linux - Hardware 0 06-24-2008 12:30 PM
My install of Ubuntu 7.04 doesn't wake up from hibernation or suspend mode adityavpratap Ubuntu 4 08-03-2007 02:51 PM
LXer: Linux: Suspend and Hibernation Status Report LXer Syndicated Linux News 0 07-28-2007 07:46 AM
Suspend for Hibernation (TIOCL_SETKMSGREDIRECT) tux_addict Slackware 7 05-17-2007 10:52 AM
Hibernation and suspend to disk Slasher Linux - General 19 11-11-2003 10:53 PM

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

All times are GMT -5. The time now is 07:18 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