I'm hoping to get experience-based suggestions on how to go about debugging suspend-to-RAM issue. Advice specific to my situation(detailed below) would be great, but I am also interested in general advice about how to debug such issues.
The problem:
Often, when I attempt to suspend my machine, it gets stuck in a "not suspended but not awake" state. Often the screen will be completely black but sometimes it will have the following error message on it:
GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)
Also, this state will also be accompanied by the fans kicking into high gear. The only way to get it out of this state is to manually power off the laptop.
Some Information
$ uname -a
Linux baltar 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:26:05 UTC 2010 x86_64 GNU/Linux
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
I've taken a look at /var/log/dmesg
and /var/log/pm-suspend.log
, but I don't know what I'm looking for and nothing stands out. I'm unsure if it is related, but I did find a lot of the following in /var/log/kern.log
:
EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro,commit=600
No LSB modules are available.
displayed just afterlsb_release -a
.