[Bug 223775] New: "Suspend failed" message after sucessful suspend/resume

https://bugzilla.novell.com/show_bug.cgi?id=223775 Summary: "Suspend failed" message after sucessful suspend/resume Product: openSUSE 10.2 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE AssignedTo: kde-maintainers@suse.de ReportedBy: amantia@kde.org QAContact: qa@suse.de Ocasionally I got a Suspend failed error message after resuming from a suspend to disk using the kickoff menu. Logs and some background is in bug #222523. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |dkukawka@novell.com ------- Comment #1 from dmueller@novell.com 2006-11-26 16:16 MST ------- I can only guess what you're talking about, but I assuem that this error message comes from kpowersave. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 ------- Comment #2 from amantia@kde.org 2006-11-26 16:32 MST ------- I'm talking about this line: KMessageBox::error(this, i18n("Suspend failed")); from void KMenu::slotSuspend(int id) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 ------- Comment #3 from wstephenson@novell.com 2006-11-27 02:07 MST ------- Andras: It's because kpowersave makes a dbus call to suspend which does not return until you resume. Since the call timeout on dbus is 6 hours, kpowersave sees this error. AFAIK the kpowersave guys are aware of it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 ------- Comment #4 from amantia@kde.org 2006-11-27 02:14 MST ------- I see, this is why it happened only when I resumed in the morning. :-) I just wonder why Danny told me to assign this bug to the KDE guys. Or maybe I just misunderstood it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hmacht@novell.com AssignedTo|dkukawka@novell.com |kde-maintainers@suse.de ------- Comment #5 from dkukawka@novell.com 2006-11-27 02:46 MST ------- Maybe I oversaw something, but I checked out kdebase3 via getpac and I can't find where the KDE menu call KPowersave for suspend. last comment in kdebase3.changes: ------------------------------------------------------------------- Sat Nov 25 13:32:52 CET 2006 - coolo@suse.de - correctly handle media mounted on startup (#223413) ------------------------------------------------------------------- I can only find the error message togehter with code where KDE suspend via HAL directly. I can't find the dcop call. Because of this the problem is in KDE (or liblazy) and not in KPowersave. Btw. Didn't we agreed to call as first KPowersave to suspend before fallback to HAL/D-Bus directly? I can't find this in kdebase3. Reassign and CC Holger ... he can maybe say more about liblazy. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |hmacht@novell.com Status|NEW |ASSIGNED ------- Comment #7 from hmacht@novell.com 2006-11-27 04:24 MST ------- But I will only do the old ksmserver menu stuff. Afterwards, I will reassign this bug back. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkukawka@novell.com ------- Comment #8 from hmacht@novell.com 2006-11-27 06:04 MST ------- *** Bug 222207 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hmacht@novell.com |kde-maintainers@suse.de Status|ASSIGNED |NEW ------- Comment #9 from hmacht@novell.com 2006-11-27 06:09 MST ------- I'll attach a new patch agains the ksmserver shutdowndlg.cpp how it would look like in the build environment (after Re) which adds a function which sends a sleep request to hal, with INT_MAX as timeout and ignoring timeout errors. I have no idea what's going on but KApplication::dcopClient()->send("kpowersave" ...) always returns true, regardless whether kpowersave is running or not. This seems to be a bug, no? So at current point in time, with the attached patch, suspend only works if kpowersave is running. Reassigning because of this error and the kickoff stuff that still has to be done. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 ------- Comment #10 from hmacht@novell.com 2006-11-27 06:11 MST ------- Created an attachment (id=107023) --> (https://bugzilla.novell.com/attachment.cgi?id=107023&action=view) ksmserver patch for the shutdown dialog -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 ------- Comment #11 from dkukawka@novell.com 2006-11-27 06:28 MST ------- hm ... you can maybe try instead of the current dcop code this: DCOPRef dcop_ref = DCOPRef( "kpowersave", "KPowersaveIface" ); DCOPReply reply = dcop_ref.call("do_suspendToRAM()"); if ( !reply.isValid() ) { // error case } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 ------- Comment #12 from dmueller@novell.com 2006-11-27 06:39 MST ------- Holger: a) send() is "send and forget". if you want to wait for a reply, use call(). b) it tries to start the process if it isn't already there iirc. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 ------- Comment #13 from hmacht@novell.com 2006-11-27 07:04 MST ------- why does it return a boolean then and why isn't it documented in the class reference? Well, can you (or any other kde developer) please fix this when you are looking at the kickoff stuff? You surely have better possibilities then me to test this all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #15 from dmueller@novell.com 2006-11-27 13:58 MST ------- it is too late for RC3, we'll try to implement and test it after GA. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msvec@novell.com ------- Comment #16 from hmacht@novell.com 2007-01-16 01:59 MST ------- *** Bug 235124 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jjaeger@novell.com ------- Comment #17 from llunak@novell.com 2007-02-16 10:37 MST ------- *** Bug 246149 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |wstephenson@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=223775 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #18 from wstephenson@novell.com 2007-03-30 12:12 MST ------- liblazy uses send() instead of call() if passed a NULL DBusError, which we weren't doing. Hopefully fixed in stable now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com