Ubuntu Maverick (64 bit)
will suspend to RAM on my desktop computer immediately after I boot it up (before I start working). But after I have some programs open,
it always fails to suspend.
I get the typical blinking cursor in the upper right corner of a black screen. Then, after 20 seconds, the screen comes back on. The logs contain a message that "Freezing of tasks failed after 20.01 seconds."
The problem task is usually listed as gnome-panel. Sometimes other tasks are listed too (such as Nautilus).
Why will gnome-panel allow me to suspend soon after booting up, but not allow suspend after I start working with applications? I am not changing anything in the panel. And deleting the applets I have installed (system monitor and hardware monitor) doesn't make any difference - the problem continues. As I said, sometimes Nautilus is listed as the task that refuses to freeze.
If I switch users, I can suspend. I assume switching users just puts me in the "clean" state I have with my own user after booting up, so this doesn't really tell me anything new.
I have searched all the other threads I can find. Most of the extensive suspend debugging threads are either from the 2007 era or they deal with laptops or resume issues. My issue is failure to suspend on a desktop.
As you can see from the logs, I've been working on this for a month already!
Here's a typical error message:
Nov 7 01:52:59 MyComputer kernel: [ 1625.221296] Freezing of tasks failed after 20.01 seconds (1 tasks refusing to freeze):
Nov 7 01:52:59 MyComputer kernel: [ 1625.221374] gnome-panel D 000000010001fdc2 0 1925 1853 0x00800004
Here's an example log showing 2 tasks that fail to freeze:
Code:
Nov 9 01:25:09 MyComputer kernel: [16615.765114] PM: Syncing filesystems ... done.
Nov 9 01:25:09 MyComputer rtkit-daemon[1738]: The canary thread is apparently starving. Taking action.
Nov 9 01:25:09 MyComputer kernel: [16615.767512] PM: Preparing system for mem sleep
Nov 9 01:25:09 MyComputer kernel: [16615.767518] Freezing user space processes ...
Nov 9 01:25:09 MyComputer kernel: [16635.769822] Freezing of tasks failed after 20.01 seconds (2 tasks refusing to freeze):
Nov 9 01:25:09 MyComputer kernel: [16635.769898] nautilus D 0000000000000082 0 1938 1871 0x00800004
Nov 9 01:25:09 MyComputer kernel: [16635.769905] ffff88040a225a08 0000000000000086 ffff88040a2259d8 0000000000015980
Nov 9 01:25:09 MyComputer kernel: [16635.769907] ffff88040a225fd8 0000000000015980 ffff88040a225fd8 ffff8803f355c4a0
Nov 9 01:25:09 MyComputer kernel: [16635.769910] 0000000000015980 0000000000015980 ffff88040a225fd8 0000000000015980
Nov 9 01:25:09 MyComputer kernel: [16635.769912] Call Trace:
Nov 9 01:25:09 MyComputer kernel: [16635.769924] [<ffffffffa0ea2be0>] ? rpc_wait_bit_killable+0x0/0x40 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.769930] [<ffffffffa0ea2c04>] rpc_wait_bit_killable+0x24/0x40 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.769933] [<ffffffff815878ff>] __wait_on_bit+0x5f/0x90
Nov 9 01:25:09 MyComputer kernel: [16635.769938] [<ffffffffa0ea2be0>] ? rpc_wait_bit_killable+0x0/0x40 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.769941] [<ffffffff815879a8>] out_of_line_wait_on_bit+0x78/0x90
Nov 9 01:25:09 MyComputer kernel: [16635.769943] [<ffffffff8107f650>] ? wake_bit_function+0x0/0x40
Nov 9 01:25:09 MyComputer kernel: [16635.769949] [<ffffffffa0ea34ed>] __rpc_execute+0xed/0x290 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.769955] [<ffffffffa0ea3713>] rpc_execute+0x83/0xa0 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.769959] [<ffffffffa0e9bc99>] rpc_run_task+0x29/0x40 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.769963] [<ffffffffa0e9bdb2>] rpc_call_sync+0x42/0x70 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.769972] [<ffffffffa1053555>] T.1029+0x35/0x80 [nfs]
Nov 9 01:25:09 MyComputer kernel: [16635.769975] [<ffffffff81107794>] ? get_page_from_freelist+0x2a4/0x6c0
Nov 9 01:25:09 MyComputer kernel: [16635.769981] [<ffffffffa10538ef>] nfs3_proc_access+0xbf/0x180 [nfs]
Nov 9 01:25:09 MyComputer kernel: [16635.769987] [<ffffffffa103d737>] nfs_do_access+0x97/0xf0 [nfs]
Nov 9 01:25:09 MyComputer kernel: [16635.769993] [<ffffffffa0ea5855>] ? generic_lookup_cred+0x15/0x20 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.769999] [<ffffffffa0ea49a0>] ? rpcauth_lookupcred+0x70/0xc0 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770002] [<ffffffff8116687f>] ? dput+0xdf/0x1b0
Nov 9 01:25:09 MyComputer kernel: [16635.770006] [<ffffffffa103d825>] nfs_permission+0x95/0x1d0 [nfs]
Nov 9 01:25:09 MyComputer kernel: [16635.770009] [<ffffffff8115c810>] exec_permission+0x30/0x90
Nov 9 01:25:09 MyComputer kernel: [16635.770011] [<ffffffff8115f569>] link_path_walk+0x89/0xab0
Nov 9 01:25:09 MyComputer kernel: [16635.770013] [<ffffffff811600f7>] path_walk+0x67/0xe0
Nov 9 01:25:09 MyComputer kernel: [16635.770015] [<ffffffff811602cb>] do_path_lookup+0x5b/0xa0
Nov 9 01:25:09 MyComputer kernel: [16635.770016] [<ffffffff81160f97>] user_path_at+0x57/0xa0
Nov 9 01:25:09 MyComputer kernel: [16635.770020] [<ffffffff8128a05d>] ? aa_dup_task_context+0x3d/0x70
Nov 9 01:25:09 MyComputer kernel: [16635.770022] [<ffffffff8128fb80>] ? apparmor_cred_prepare+0x40/0x60
Nov 9 01:25:09 MyComputer kernel: [16635.770025] [<ffffffff8125f906>] ? security_prepare_creds+0x16/0x20
Nov 9 01:25:09 MyComputer kernel: [16635.770028] [<ffffffff81151970>] sys_faccessat+0xd0/0x1d0
Nov 9 01:25:09 MyComputer kernel: [16635.770030] [<ffffffff81151a88>] sys_access+0x18/0x20
Nov 9 01:25:09 MyComputer kernel: [16635.770033] [<ffffffff8100a0f2>] system_call_fastpath+0x16/0x1b
Nov 9 01:25:09 MyComputer kernel: [16635.770035] gnome-panel D 0000000000000082 0 1943 1871 0x00800004
Nov 9 01:25:09 MyComputer kernel: [16635.770037] ffff88040a12f998 0000000000000086 ffff88040a12f938 0000000000015980
Nov 9 01:25:09 MyComputer kernel: [16635.770039] ffff88040a12ffd8 0000000000015980 ffff88040a12ffd8 ffff88040ccd5b80
Nov 9 01:25:09 MyComputer kernel: [16635.770041] 0000000000015980 0000000000015980 ffff88040a12ffd8 0000000000015980
Nov 9 01:25:09 MyComputer kernel: [16635.770044] Call Trace:
Nov 9 01:25:09 MyComputer kernel: [16635.770050] [<ffffffffa0ea2be0>] ? rpc_wait_bit_killable+0x0/0x40 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770055] [<ffffffffa0ea2c04>] rpc_wait_bit_killable+0x24/0x40 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770057] [<ffffffff815878ff>] __wait_on_bit+0x5f/0x90
Nov 9 01:25:09 MyComputer kernel: [16635.770062] [<ffffffffa0ea2be0>] ? rpc_wait_bit_killable+0x0/0x40 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770064] [<ffffffff815879a8>] out_of_line_wait_on_bit+0x78/0x90
Nov 9 01:25:09 MyComputer kernel: [16635.770066] [<ffffffff8107f650>] ? wake_bit_function+0x0/0x40
Nov 9 01:25:09 MyComputer kernel: [16635.770072] [<ffffffffa0ea34ed>] __rpc_execute+0xed/0x290 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770078] [<ffffffffa0ea3713>] rpc_execute+0x83/0xa0 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770082] [<ffffffffa0e9bc99>] rpc_run_task+0x29/0x40 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770086] [<ffffffffa0e9bdb2>] rpc_call_sync+0x42/0x70 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770093] [<ffffffffa1053555>] T.1029+0x35/0x80 [nfs]
Nov 9 01:25:09 MyComputer kernel: [16635.770099] [<ffffffffa10538ef>] nfs3_proc_access+0xbf/0x180 [nfs]
Nov 9 01:25:09 MyComputer kernel: [16635.770104] [<ffffffffa103d737>] nfs_do_access+0x97/0xf0 [nfs]
Nov 9 01:25:09 MyComputer kernel: [16635.770110] [<ffffffffa0ea5855>] ? generic_lookup_cred+0x15/0x20 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770116] [<ffffffffa0ea49a0>] ? rpcauth_lookupcred+0x70/0xc0 [sunrpc]
Nov 9 01:25:09 MyComputer kernel: [16635.770118] [<ffffffff8116687f>] ? dput+0xdf/0x1b0
Nov 9 01:25:09 MyComputer kernel: [16635.770123] [<ffffffffa103d825>] nfs_permission+0x95/0x1d0 [nfs]
Nov 9 01:25:09 MyComputer kernel: [16635.770125] [<ffffffff8115c810>] exec_permission+0x30/0x90
Nov 9 01:25:09 MyComputer kernel: [16635.770127] [<ffffffff8115f569>] link_path_walk+0x89/0xab0
Nov 9 01:25:09 MyComputer kernel: [16635.770129] [<ffffffff811600f7>] path_walk+0x67/0xe0
Nov 9 01:25:09 MyComputer kernel: [16635.770130] [<ffffffff811602cb>] do_path_lookup+0x5b/0xa0
Nov 9 01:25:09 MyComputer kernel: [16635.770132] [<ffffffff81160f97>] user_path_at+0x57/0xa0
Nov 9 01:25:09 MyComputer kernel: [16635.770134] [<ffffffff81164990>] ? pollwake+0x0/0x60
Nov 9 01:25:09 MyComputer kernel: [16635.770136] [<ffffffff8128fe70>] ? apparmor_inode_getattr+0x60/0x70
Nov 9 01:25:09 MyComputer kernel: [16635.770138] [<ffffffff81156fa8>] ? cp_new_stat+0xf8/0x110
Nov 9 01:25:09 MyComputer kernel: [16635.770140] [<ffffffff8115707c>] vfs_fstatat+0x3c/0x80
Nov 9 01:25:09 MyComputer kernel: [16635.770142] [<ffffffff8115712e>] vfs_lstat+0x1e/0x20
Nov 9 01:25:09 MyComputer kernel: [16635.770143] [<ffffffff81157154>] sys_newlstat+0x24/0x50
Nov 9 01:25:09 MyComputer kernel: [16635.770146] [<ffffffff8100a0f2>] system_call_fastpath+0x16/0x1b
Nov 9 01:25:09 MyComputer kernel: [16635.770157]
Nov 9 01:25:09 MyComputer rtkit-daemon[1738]: Demoting known real-time threads.
Nov 9 01:25:09 MyComputer rtkit-daemon[1738]: Successfully demoted thread 2054 of process 1940 (n/a).
Nov 9 01:25:09 MyComputer rtkit-daemon[1738]: Successfully demoted thread 2035 of process 1940 (n/a).
Nov 9 01:25:09 MyComputer rtkit-daemon[1738]: Successfully demoted thread 1940 of process 1940 (n/a).
Nov 9 01:25:09 MyComputer rtkit-daemon[1738]: Demoted 3 threads.
Nov 9 01:25:09 MyComputer kernel: [16635.770158] Restarting tasks ... done.