Bug 256274 - Ksysguardd not permit the suspend or the hibernation.
Summary: Ksysguardd not permit the suspend or the hibernation.
Status: CONFIRMED
Alias: None
Product: ksysguard
Classification: Applications
Component: ksysguardd (show other bugs)
Version: 4.7 and older
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
: 185898 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-07 04:29 UTC by Geordi LaForge
Modified: 2012-11-05 08:03 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geordi LaForge 2010-11-07 04:29:21 UTC
Version:           4.0 (using KDE 4.5.1) 
OS:                Linux

When i try to suspend or hibernate the netbook, this fail and in the dmesg i found this backtrace:
[  162.153606] PM: Syncing filesystems ... done.
[  162.661235] PM: Preparing system for mem sleep
[  162.792322] Freezing user space processes ... 
[  182.808175] Freezing of tasks failed after 20.01 seconds (1 tasks refusing to freeze):
[  182.808332] ksysguardd    D e5cb5c80     0  2909   2874 0x00800004
[  182.808343]  e5cb5cc8 00000086 eef08254 e5cb5c80 e5c14010 665d428a 0000000f 00000246
[  182.808358]  e5cb5c94 c08ce580 c08ce580 c08ce580 e5c142bc c1a08580 00000001 fb9cd543
[  182.808372]  00000028 00000296 e5cb5d00 00000000 e5cb5cf8 00000000 e5cb5d00 e5cb5cd0
[  182.808386] Call Trace:
[  182.808422]  [<f8bb0f3d>] rpc_wait_bit_killable+0x1d/0x40 [sunrpc]
[  182.808435]  [<c05afd4d>] __wait_on_bit+0x4d/0x70
[  182.808460]  [<f8bb0f20>] ? rpc_wait_bit_killable+0x0/0x40 [sunrpc]
[  182.808485]  [<f8bb0f20>] ? rpc_wait_bit_killable+0x0/0x40 [sunrpc]
[  182.808494]  [<c05afdc6>] out_of_line_wait_on_bit+0x56/0x70
[  182.808503]  [<c0168d90>] ? wake_bit_function+0x0/0x60
[  182.808528]  [<f8bb13e1>] __rpc_execute+0xc1/0x1c0 [sunrpc]
[  182.808537]  [<c05b11fd>] ? _raw_spin_lock+0xd/0x10
[  182.808561]  [<f8bb151c>] rpc_execute+0x1c/0x20 [sunrpc]
[  182.808584]  [<f8ba9d83>] rpc_run_task+0x33/0x60 [sunrpc]
[  182.808606]  [<f8ba9e56>] rpc_call_sync+0x46/0x70 [sunrpc]
[  182.808637]  [<f8ee883c>] nfs3_rpc_wrapper+0x2c/0x70 [nfs]
[  182.808666]  [<f8ee8a22>] nfs3_proc_statfs+0x42/0x80 [nfs]
[  182.808674]  [<c05b1e77>] ? error_code+0x73/0x78
[  182.808699]  [<f8edcd6d>] nfs_statfs+0x6d/0x1b0 [nfs]
[  182.808708]  [<c02231ac>] ? dput+0x6c/0xd0
[  182.808716]  [<c021b108>] ? __follow_mount+0x28/0x80
[  182.808724]  [<c0228edb>] ? mntput_no_expire+0x1b/0xa0
[  182.808732]  [<c021cbbb>] ? link_path_walk+0x44b/0x990
[  182.808739]  [<c0228edb>] ? mntput_no_expire+0x1b/0xa0
[  182.808749]  [<c0210b7d>] vfs_statfs+0x6d/0x90

If i kill the ksysguardd process i can suspend or hibernate without problem.

Reproducible: Always

Steps to Reproduce:
Try to suspend or hibernate the pc with ksysguardd running.



I use Kubuntu 10.10 installed on a Samsung N150P netbook.
Comment 1 Dave Johnson 2010-11-09 13:36:06 UTC
Affects me to on Kubuntu 10.10 with Dell laptop. Killing ksysguardd does the trick.
Comment 2 Geordi LaForge 2010-11-16 03:43:25 UTC
Any answer ?
Comment 3 Jens Bergqvist 2010-11-18 11:22:30 UTC
This bug also affects my Asus Pro32A (aka UL30A) running Kubuntu 10.10. My backtrace is very similar to the one previously reported. However, on my system the bug is intermittent and once it's triggered I can no longer kill the ksysguardd process. It keeps blocking suspend until the machine is rebooted.
Comment 4 Joël Schaerer 2010-11-23 00:43:56 UTC
Same problem here. Pretty painful.
Comment 5 Joël Schaerer 2010-11-23 00:44:29 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 John Tapsell 2011-03-11 11:11:03 UTC
I have no idea why or how to fix.  If you guys have any ideas, let me know.
Comment 7 Nuno Silva 2011-03-23 16:41:21 UTC
Hello.
I just updated to kubuntu 11.04 beta, which has KDE 4.6.1.
I also bumped into this issue. Disabling ksysguardd by removing any monitoring plasmoids works, but it's not ideal :-)

To workaround that I just added the file:
/etc/pm/sleep.d/00_local

With the following content:
[code]
#!/bin/sh

# Action script to make sure ksysguardd doesn't interrupt
# suspend or hibernate
#
# License:   GPL-2
#

PATH=/sbin:/usr/sbin:/bin:/usr/bin

if [ ! -x /usr/bin/ksysguardd ]; then
        exit 0
fi


case "${1}" in
        hibernate|suspend)
                killall -STOP /usr/bin/ksysguardd > /dev/null 2> /dev/null
                ;;
        resume|thaw)
                killall -CONT /usr/bin/ksysguardd > /dev/null 2> /dev/null
                ;;
esac
exit 0
[/code]

It seams to work well, at least in my box :-)
Comment 8 Jekyll Wu 2012-11-05 08:02:21 UTC
*** Bug 185898 has been marked as a duplicate of this bug. ***