Suspend stopped working on T60

I'm running Etch on a Lenovo T60. Up to now, I haven't had a
problem suspending my computer, by shutting the lid or
clicking the "suspend" option on the Gnome Power Manager. This
morning, I tried to do this and it didn't work; it locked the
screensaver, but did not suspend. When I re-entered my
password, there was a message from Gnome Power Manager saying
that there was a suspend problem, and pointing to a link for
more info.

The link, to
http://www.gnome.org/projects/gnome-power-manager/faq.html , was
unhelpful; it suggested that either the hardware is
unsupported (clearly not true, as it's been working up to
now), or that I need to file a bug report, though the link to
this didn't work.

The only relevant line in my syslog seems to be:

Aug 30 19:07:43 localhost gnome-power-manager: Suspending
computer because user clicked suspend from tray menu

After this there's several screens worth of networking stuff.

Any ideas what really might be causing this, and how to fix
the problem? I don't _think_ I upgraded or installed anything
that might be conflicting with this.

Thanks.

Jesse Sheidlower

--

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Suspend stopped working on T60

On Saturday 01 September 2007 01:14, Jesse Sheidlower wrote:
> I'm running Etch on a Lenovo T60. Up to now, I haven't had a
> problem suspending my computer, by shutting the lid or
> clicking the "suspend" option on the Gnome Power Manager. This
> morning, I tried to do this and it didn't work; it locked the
> screensaver, but did not suspend. When I re-entered my
> password, there was a message from Gnome Power Manager saying
> that there was a suspend problem, and pointing to a link for
> more info.
>
> The link, to
> http://www.gnome.org/projects/gnome-power-manager/faq.html , was
> unhelpful; it suggested that either the hardware is
> unsupported (clearly not true, as it's been working up to
> now), or that I need to file a bug report, though the link to
> this didn't work.

I had a similar problem, after I upgraded the kernel after a security release
in the repos, and had to install the graphics driver modules again (I don't
know what graphics card the T60 has). then it all worked fine for me again.

don't know if that's any help to you, but one can only hope....

nik

Suspend stopped working on T60

Niklas Rehfeld wrote:
> Jesse Sheidlower wrote:
> > This morning, I tried to do this and it didn't work; it locked the
> > screensaver, but did not suspend.

Did the problem repeate or was this a one time problem?

> I had a similar problem, after I upgraded the kernel after a
> security release in the repos, and had to install the graphics
> driver modules again (I don't know what graphics card the T60
> has). then it all worked fine for me again.

I think you have identified the problem. When new kernels are
installed it will not be possible to resume across them. The recent
Linux kernel security update should have been installed and if so then
the running image would not be able to resume after a suspend.

Bob

Suspend stopped working on T60

On Sat, Sep 01, 2007 at 01:47:19PM -0600, Bob Proulx wrote:
> Niklas Rehfeld wrote:
> > Jesse Sheidlower wrote:
> > > This morning, I tried to do this and it didn't work; it locked the
> > > screensaver, but did not suspend.
>
> Did the problem repeate or was this a one time problem?

The problem has continued; since its initial appearance I
have been unable to suspend.

> > I had a similar problem, after I upgraded the kernel after a
> > security release in the repos, and had to install the graphics
> > driver modules again (I don't know what graphics card the T60
> > has). then it all worked fine for me again.
>
> I think you have identified the problem. When new kernels are
> installed it will not be possible to resume across them. The recent
> Linux kernel security update should have been installed and if so then
> the running image would not be able to resume after a suspend.

This may apply to him, but I still cannot suspend even after rebooting,
so there's no chance that it's a conflict with the running kernel.

I'm not using the fglrx driver, by the way; I'm using whatever
default configuration xorg loaded--this worked fine out of the box
and I didn't see any need to change it. I did try reinstalling
the video drivers anyway, but still without any luck. I guess I
might try to start using the fglrx driver, though I'm a little
worried about messing up X.

Thanks for any thoughts....By the way, I got a personal e-mail
pointing me to a discussion of this on a Ubuntu forum, where a
poster suggested unloading the cpufreq utility (and then reloading
it on resume), but this also didn't work.

Jesse Sheidlower

--

Suspend stopped working on T60

On Sat, Sep 01, 2007 at 08:40:21PM -0400, Jesse Sheidlower wrote:
> On Sat, Sep 01, 2007 at 01:47:19PM -0600, Bob Proulx wrote:
> > Niklas Rehfeld wrote:
> > > Jesse Sheidlower wrote:
> > > > This morning, I tried to do this and it didn't work; it locked the
> > > > screensaver, but did not suspend.
> >
> > Did the problem repeate or was this a one time problem?
>
> The problem has continued; since its initial appearance I
> have been unable to suspend.
>
> > > I had a similar problem, after I upgraded the kernel after a
> > > security release in the repos, and had to install the graphics
> > > driver modules again (I don't know what graphics card the T60
> > > has). then it all worked fine for me again.
> >
> > I think you have identified the problem. When new kernels are
> > installed it will not be possible to resume across them. The recent
> > Linux kernel security update should have been installed and if so then
> > the running image would not be able to resume after a suspend.
>
> This may apply to him, but I still cannot suspend even after rebooting,
> so there's no chance that it's a conflict with the running kernel.
>
> I'm not using the fglrx driver, by the way; I'm using whatever
> default configuration xorg loaded--this worked fine out of the box
> and I didn't see any need to change it. I did try reinstalling
> the video drivers anyway, but still without any luck. I guess I
> might try to start using the fglrx driver, though I'm a little
> worried about messing up X.

OK, I have successfully installed the fglrx driver, and it's working
fine with my X. (Though I must say it looks the same as it did before.)

However, suspend is still not working, even after further rebooting.
Nothing useful in /var/log/syslog.

Any further thoughts on how to debug this? Suspend is extremely
important for this to be useful as a laptop....

Thanks.

Jesse Sheidlower

--

Suspend stopped working on T60

Jesse:
> Any further thoughts on how to debug this?

a) There's a debug option for hibernate which displays every step.
b) Run hibernate from text-console

Probably your laptop runs the uswsusp package.
You can alternatively try to patch a vanilla kernel with the suspend2 patch
however, usually that means compiling your own kernel and suspend2 would work only for that specific kernel then. -> http://www.tuxonice.net

*) Normally Ctrl Alt F1, then kill xinit, then kill -9 kdm
If you can't switch to a textconsole with fglrx driver, then disable kdm temporarily (move /etc/rc2.d/S99kdm out of the way) and reboot, or just boot into single user.

Suspend stopped working on T60

> password, there was a message from Gnome Power Manager saying that there
> was a suspend problem, and pointing to a link for more info.

This message is indeed 100% useless and terribly frustrating: it gives the
impression that the link will contain actual info, but all it says is
equivalent to "it didn't work because it didn't work".

If you post the "relevant" part of the log (e.g. the screens worth of
networking stuff), maybe you'll get more info.

In the mean time, try to install the `hibernate' package. And then use the
`hibernate' command rather than the gnome power manager. This may give you
better clues.

Stefan

--

Suspend stopped working on T60

On Thu, Sep 06, 2007 at 02:22:07AM -0400, Stefan Monnier wrote:
> > password, there was a message from Gnome Power Manager saying that there
> > was a suspend problem, and pointing to a link for more info.
>
> This message is indeed 100% useless and terribly frustrating: it gives the
> impression that the link will contain actual info, but all it says is
> equivalent to "it didn't work because it didn't work".
>
> If you post the "relevant" part of the log (e.g. the screens worth of
> networking stuff), maybe you'll get more info.
>
> In the mean time, try to install the `hibernate' package. And then use the
> `hibernate' command rather than the gnome power manager. This may give you
> better clues.

In fact, I had installed hibernate; gnome power manager calls this
command to do the suspend.

It turned out that I had had a typo in my hibernate.conf file
(I had added something to try to help with a network problem
after suspending), so when gnome power manager called
hibernate, it effectively died with a syntax error, without
logging this anywhere that I can see. When I learned that it's
hibernate that g-p-m is calling, I called it from the command
line, saw the error, and fixed the problem, and now I'm back
with a working suspend.

Thanks, and thanks to the linux-thinkpad list, which pointed me
in the right direction.

Jesse Sheidlower

--

Suspend stopped working on T60

> It turned out that I had had a typo in my hibernate.conf file
> (I had added something to try to help with a network problem
> after suspending), so when gnome power manager called
> hibernate, it effectively died with a syntax error, without
> logging this anywhere that I can see. When I learned that it's
> hibernate that g-p-m is calling, I called it from the command
> line, saw the error, and fixed the problem, and now I'm back
> with a working suspend.

Please take the time to register a bug-report against gnome-power-manager
about it. I hate the package, but since it's basically imposed on Gnome
users, we should at least try and make it work less poorly,

Stefan

--

Suspend stopped working on T60

Stefan Monnier writes:

> In the mean time, try to install the `hibernate' package. And then use the
> `hibernate' command rather than the gnome power manager. This may give you
> better clues.

Stefan,

Thanks very much for the tip. While I didn't have the same problem as
the OP, the hibernate package addressed another question I had.

--
Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD

--

Syndicate content