LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-08-2010, 08:27 PM   #1
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Rep: Reputation: 33
Ubuntu 10.10 fails to suspend


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.
 
Old 12-10-2010, 06:35 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,022

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
Quote:
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 admit that I don't know what your problem is, but ,
have you check to see if you're in a group that has permission to suspen hibernate and shutdown?
 
Old 12-10-2010, 06:49 PM   #3
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by EDDY1 View Post
I admit that I don't know what your problem is, but ,
have you check to see if you're in a group that has permission to suspen hibernate and shutdown?
That was the first line in my post above. I said it will suspend immediately after I boot it up. Later, after I have been working, it refuses to suspend.
 
Old 12-10-2010, 07:50 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,022

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
I also have Ubuntu10.10. Ihaven't tried to suspend but the problem that I had is similar.
I couldn't shutdown my machine. So I added I want to say "gnome menu bar"
It's available through synaptic. I'm attaching 3 screenshots, to show you what I'm talking about.
The regular Ubuntu shutdown button, I never touch it. I use the 1 that I added.
If I even think about the normal power button, my machine will not shutdown.
Add that and try to suspend.

My desktop version of ubuntu works using this method.
My server edition doesn't shutdown though.
Attached Images
File Type: jpg Screenshot.jpg (60.0 KB, 2 views)
File Type: jpg Screenshot-1.jpg (55.9 KB, 2 views)
File Type: png Screenshot-2.png (93.1 KB, 4 views)

Last edited by EDDY1; 12-10-2010 at 10:41 PM.
 
  


Reply

Tags
suspend, suspend2ram


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suspend in F11 Fails Most of the Time mejohnsn Fedora 4 11-17-2009 09:19 PM
Suspend To RAM (S3) - Resume Fails ls37 Linux - Newbie 1 12-22-2008 01:30 PM
Suspend/hibernate on Ubuntu 8.04 fails even with s2both (uswsusp) brianpbarnes Linux - Software 0 12-03-2008 07:00 PM
F7 fails to resume from suspend spiffytech Fedora 4 06-07-2007 03:35 PM
Suspend Fails to Resume dengel Linux - Laptop and Netbook 0 11-27-2005 09:58 AM


All times are GMT -5. The time now is 11:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration