Comment 67 for bug 149665

Revision history for this message
Peter de Kraker (peterdekraker) wrote :

Ok, I just reread this thread and need to state that I personally have no problems with the swap file. When auto-suspending on Gutsy, my PC hibernates after coming out of that suspendstate, and after restarting, it will correctly come out of hibernation.

Today I have tried out the suspend functionality in Hardy 64bit and I did not have any problems. However, in Gutsy I do still have. It looks like GPM has updated/corrected some bugs upstream and those are available for Hardy now.

==GPM verbose==
On Linux ***.lan 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64 GNU/Linux, Gutsy.
Suspend AND Hibernate always fails, according to GPM verbose, but in reality it works. Somehow Gutsy's GPM doesn' t record correctly that Suspend did not fail, and therefore moves into hibernation mode, and even that fails when you come out of it according to the log. If you disable hibernation in gconf /apps/gnome-power-manager/general/can_hibernate , and disable the error messages you can use GPM without effective problems, GPM just gives a bunch of errors when returning out of suspend, but the user won' t see them.

Relevant sections out of the GPM logs on Gutsy 64bit, NVIDIA 169.12 64bit from Nvidia's site (Gutsy's version did always restart X when coming out of hibernation, so I couldn't get the logs). (Note, the errrors are false, since the suspend did work correctly)

gpm_control_suspend] gpm-control.c:451 (12:38:04): emitting sleep-failure
[..]
[gpm_notify_create] gpm-notify.c:124 (12:38:04): libnotify: Power Manager : Your computer failed to suspend.
[..]
[idle_do_sleep] gpm-manager.c:736 (12:38:04): cannot suspend, so trying hibernate
[..]
[gpm_control_hibernate] gpm-control.c:528 (12:41:48): emitting sleep-failure
[..]
[gpm_notify_create] gpm-notify.c:124 (12:41:48): libnotify: Power Manager : Your computer failed to hibernate.
[..]
[idle_do_sleep] gpm-manager.c:739 (12:41:48): cannot suspend or hibernate!

It also didn't matter if I returned from suspend in 5 seconds or > 1 min.