SuSE10.2 / reproducable immediat resuspend after resume
Dear listmembers, I have a strange problem with my X60 recently, on both suspend2disk & suspend2ram. I always have to resume twice. 1.) suspend (2disk, 2ram) 2.) resume (is followed by an immediat resuspend (2disk, 2ram, right the same status as before) 3.) resume again -> everything is fine Anyone has any idea about this? I saw an hint on thinkpad.org in that direction regarding an initialization error of the lid-switch, but this does not fit to the behaviour I envision (always returning to the identical sleep mode as before) nor did I find the appropriate files to edit. I played around with removing some modules, but in vain, no change (and apparently is not related to unloading of modules). Thank you very much, take care Dieter Jurzitza -- ----------------------------------------------------------- | \ /\_/\ | | ~x~ |/-----\ / \ /- \_/ ^^__ _ / _ ____ / <°°__ \- \_/ | |/ | | || || _| _| _| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) ----------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
On Fri, Apr 13, 2007 at 09:19:51PM +0200, Dieter Jurzitza wrote:
Dear listmembers, I have a strange problem with my X60 recently, on both suspend2disk & suspend2ram. I always have to resume twice.
1.) suspend (2disk, 2ram) 2.) resume (is followed by an immediat resuspend (2disk, 2ram, right the same status as before) 3.) resume again -> everything is fine
Anyone has any idea about this? I saw an hint on thinkpad.org in that direction regarding an initialization error of the lid-switch, but this does not fit to the behaviour I envision (always returning to the identical sleep mode as before) nor did I find the appropriate files to edit.
I played around with removing some modules, but in vain, no change (and apparently is not related to unloading of modules).
How do you initiate the suspend? -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
Hi Stefan, currently by pressing "FN-F12" (hibernate) or "FN-F4" (to ram). Should I test with other measures? Restart happens with the power knob (after hibernate) or with pressing FN (after suspend to ram). Thanks for looking into this, take care Dieter Am Sonntag, 15. April 2007 10:58 schrieb Stefan Seyfried:
On Fri, Apr 13, 2007 at 09:19:51PM +0200, Dieter Jurzitza wrote: How do you initiate the suspend?
-- ----------------------------------------------------------- | \ /\_/\ | | ~x~ |/-----\ / \ /- \_/ ^^__ _ / _ ____ / <°°__ \- \_/ | |/ | | || || _| _| _| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) ----------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
On Sun, Apr 15, 2007 at 11:09:55AM +0200, Dieter Jurzitza wrote:
Hi Stefan, currently by pressing "FN-F12" (hibernate) or "FN-F4" (to ram). Should I test with other measures?
Yes. Please try either with kpowersave / gnome-power-manager's suspend options or simply with "powersave -u" (suspend to RAM) and "powersave -U" (suspend to disk). The thinkpad button handling might have some problems of its own.
Restart happens with the power knob (after hibernate) or with pressing FN (after suspend to ram).
That's ok. Good luck :-) -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
Stefan Seyfried schrieb:
Yes. Please try either with kpowersave / gnome-power-manager's suspend options or simply with "powersave -u" (suspend to RAM) and "powersave -U" (suspend to disk).
The thinkpad button handling might have some problems of its own.
If you use KDE / kpowersave, just configure the buttons to do nothing in the settings dialog. Than they are ignored by kpowersave (which does the second suspend) and everything works as expected. Regards, Mattias Werner --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
Dear listmembers, dear Stefan, thank you for the feedback; I found the root cause of the issue in the meantime. Both pm-utils and powersave process the ACPI events for suspend2ram and suspend2disk (with a thinkpad, suse10.2). The corrensponding entries in the file /usr/lib/powersave/thinkpad_acpi_events have not been disabled. Now, if the suspend process of one script is faster than the one of the other script it may happen that one suspend process "survives" the suspend. Unfortunately this process is processed after the next reboot. This explains why every second reboot was ok: the second suspend process did not exist any more. I guess this came out because I added some scripts in /etc/pm/hooks to ensure that several modules would savely be unloaded / programs be savely stopped. In addition you never know what process kills / unloads which module / program. Stability issues have to be expected (and were perceived) A patch is required for powersave; I would open a bug in bugzilla if nobody is opponing. Folks, seriously, I haven't seen such a buggy suse release since ever (maybe 10.0 / 10.1 were worse, I didn't test those). I can hardly remember to have found so many bugs within such a short period of usage time as in openSUSE 10.2, starting from LST 1.8 way back in the 90's. Novell appears to have reduced the staff for the development of the opensuse release to the tolerable (?) minimum and the quality department has been moved to /dev/null apparently. Everything boils down to investors profit. My 2 cents here, nothing really serious :-(. Dieter Jurzitza Am Montag, 16. April 2007 00:16 schrieb Stefan Seyfried:
On Sun, Apr 15, 2007 at 11:09:55AM +0200, Dieter Jurzitza wrote:
Hi Stefan, currently by pressing "FN-F12" (hibernate) or "FN-F4" (to ram). Should I
-- ----------------------------------------------------------- | \ /\_/\ | | ~x~ |/-----\ / \ /- \_/ ^^__ _ / _ ____ / <°°__ \- \_/ | |/ | | || || _| _| _| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) ----------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
participants (3)
-
Dieter Jurzitza
-
Mattias Werner
-
Stefan Seyfried