udisks-daemon prevents system from suspending or hibernating
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If I try to suspend or hibernate my computer I can do it only once before restarting the system. The second time fails, leaving the following message in /var/log/syslog, which makes me blame udisks-daemon:
Jul 14 19:24:02 laptop kernel: [26240.298517] PM: Preparing system for mem sleep
Jul 14 19:24:22 laptop kernel: [26240.552426] Freezing user space processes ...
Jul 14 19:24:22 laptop kernel: [26260.568035] Freezing of tasks failed after 20.01 seconds (1 tasks refusing to freeze, wq_busy=0):
Jul 14 19:24:22 laptop kernel: [26260.568147] udisks-daemon D 810af5cb 0 1299 1295 0x00800004
Jul 14 19:24:22 laptop kernel: [26260.568153] ece97c48 00000086 f7006920 810af5cb 000017d0 0001a829 ece9828c c183a8c0
Jul 14 19:24:22 laptop kernel: [26260.568160] 80fbf20b 000017d0 ece98288 c183a8c0 c183a8c0 f70068c0 ece98000 f3079940
Jul 14 19:24:22 laptop kernel: [26260.568167] 00000001 4cd27560 ece84a00 00000000 ece97c98 c1507bfd 000772d6 f133d2b4
Jul 14 19:24:22 laptop kernel: [26260.568175] Call Trace:
Jul 14 19:24:22 laptop kernel: [26260.568188] [<c1507bfd>] ? schedule+
Jul 14 19:24:22 laptop kernel: [26260.568192] [<c15085cd>] schedule_
Jul 14 19:24:22 laptop kernel: [26260.568198] [<c10385c2>] ? check_preempt_
Jul 14 19:24:22 laptop kernel: [26260.568203] [<c1049f53>] ? try_to_
Jul 14 19:24:22 laptop kernel: [26260.568207] [<c1508150>] wait_for_
Jul 14 19:24:22 laptop kernel: [26260.568211] [<c104a124>] ? wake_up_
Jul 14 19:24:22 laptop kernel: [26260.568214] [<c104a0f0>] ? default_
Jul 14 19:24:22 laptop kernel: [26260.568218] [<c15082b7>] wait_for_
Jul 14 19:24:22 laptop kernel: [26260.568224] [<c1068100>] flush_work+
Jul 14 19:24:22 laptop kernel: [26260.568228] [<c10666d0>] ? wq_barrier_
Jul 14 19:24:22 laptop kernel: [26260.568231] [<c10697eb>] flush_delayed_
Jul 14 19:24:22 laptop kernel: [26260.568236] [<c12653a5>] disk_clear_
Jul 14 19:24:22 laptop kernel: [26260.568241] [<c1153b7d>] check_disk_
Jul 14 19:24:22 laptop kernel: [26260.568246] [<c139cb80>] cdrom_open+
Jul 14 19:24:22 laptop kernel: [26260.568251] [<c1273012>] ? kobject_
Jul 14 19:24:22 laptop kernel: [26260.568255] [<c1263b78>] ? get_disk+0x48/0xa0
Jul 14 19:24:22 laptop kernel: [26260.568259] [<c1273012>] ? kobject_
Jul 14 19:24:22 laptop kernel: [26260.568264] [<c1330c08>] ? get_device+
Jul 14 19:24:22 laptop kernel: [26260.568269] [<c1351b23>] ? scsi_device_
Jul 14 19:24:22 laptop kernel: [26260.568274] [<c1367fa7>] sr_block_
Jul 14 19:24:22 laptop kernel: [26260.568278] [<c1154e3e>] __blkdev_
Jul 14 19:24:22 laptop kernel: [26260.568281] [<c11551cf>] blkdev_
Jul 14 19:24:22 laptop kernel: [26260.568285] [<c1155368>] blkdev_
Jul 14 19:24:22 laptop kernel: [26260.568289] [<c1125361>] __dentry_
Jul 14 19:24:22 laptop kernel: [26260.568292] [<c11266ce>] nameidata_
Jul 14 19:24:22 laptop kernel: [26260.568296] [<c1155310>] ? blkdev_
Jul 14 19:24:22 laptop kernel: [26260.568300] [<c1133b7f>] finish_
Jul 14 19:24:22 laptop kernel: [26260.568303] [<c1133428>] ? do_path_
Jul 14 19:24:22 laptop kernel: [26260.568307] [<c11341c7>] do_filp_
Jul 14 19:24:22 laptop kernel: [26260.568311] [<c1351ad7>] ? scsi_device_
Jul 14 19:24:22 laptop kernel: [26260.568327] [<c1002a31>] ? do_signal+
Jul 14 19:24:22 laptop kernel: [26260.568332] [<c113fee9>] ? vfsmount_
Jul 14 19:24:22 laptop kernel: [26260.568336] [<c1126736>] do_sys_
Jul 14 19:24:22 laptop kernel: [26260.568339] [<c112682e>] sys_open+0x2e/0x40
Jul 14 19:24:22 laptop kernel: [26260.568343] [<c150a194>] syscall_
Jul 14 19:24:22 laptop kernel: [26260.568347] [<c1500000>] ? detect_
Jul 14 19:24:22 laptop kernel: [26260.568425]
Jul 14 19:24:22 laptop rtkit-daemon[1256]: The canary thread is apparently starving. Taking action.
Jul 14 19:24:22 laptop rtkit-daemon[1256]: Demoting known real-time threads.
Jul 14 19:24:22 laptop rtkit-daemon[1256]: Successfully demoted thread 1956 of process 1954 (n/a).
Jul 14 19:24:22 laptop rtkit-daemon[1256]: Successfully demoted thread 1955 of process 1954 (n/a).
Jul 14 19:24:22 laptop rtkit-daemon[1256]: Successfully demoted thread 1954 of process 1954 (n/a).
Jul 14 19:24:22 laptop rtkit-daemon[1256]: Demoted 3 threads.
Jul 14 19:24:22 laptop kernel: [26260.568426] Restarting tasks ... done.
Jul 14 19:24:22 laptop acpid: client 2110[0:0] has disconnected
Jul 14 19:24:22 laptop acpid: client connected from 2110[0:0]
Jul 14 19:24:22 laptop acpid: 1 client rule loaded
Jul 14 19:24:22 laptop kernel: [26260.588395] video LNXVIDEO:00: Restoring backlight state
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: udisks 1.0.2-4ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-10-generic i686
Architecture: i386
CustomUdevRuleF
Date: Thu Jul 14 20:52:14 2011
MachineType: ASUSTeK Computer Inc. F5SR
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, no user)
LANG=en_GB.utf8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: udisks
UdevDb: Error: [Errno 2] No such file or directory
UpgradeStatus: Upgraded to natty on 2011-05-01 (74 days ago)
dmi.bios.date: 08/14/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 203
dmi.board.
dmi.board.name: F5SR
dmi.board.vendor: PEGATRON CORPORATION
dmi.board.version: 1.0
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: F5SR
dmi.product.
dmi.sys.vendor: ASUSTeK Computer Inc.
Extra info, because it may be connected - a few minutes after waking the system up from the successful suspension, info "task udisks-daemon:1305 blocked for more than 120 seconds" is logged. The message repeats every few (5, more less) minutes. It does not appear before suspending the system.
An example fragment of /var/log/syslog (the system was resumed from sleep at 15:52:50):
Jul 15 15:56:42 laptop kernel: [ 7320.372044] INFO: task udisks-daemon:1305 blocked for more than 120 seconds. kernel/ hung_task_ timeout_ secs" disables this message. to+0xe1/ 0x190 task_switch+ 0x39/0xc0 0x3ad/0x740 task+0x22/ 0x70 timeout+ 0x1ed/0x260 wake_up+ 0x223/0x3c0 common+ 0xa0/0x130 wake_function+ 0x0/0x20 completion+ 0x17/0x20 0x30/0x40 func+0x0/ 0x20 work+0x3b/ 0x40 events+ 0x75/0x120 change+ 0x2d/0x70 0x30/0x1c0 get+0x12/ 0x20 get+0x12/ 0x20 0x18/0x20 get+0x43/ 0xa0 open+0x67/ 0xb0 get+0x8e/ 0x330 get+0xef/ 0x230 open+0x58/ 0x70
Jul 15 15:56:42 laptop kernel: [ 7320.372049] "echo 0 > /proc/sys/
Jul 15 15:56:42 laptop kernel: [ 7320.372052] udisks-daemon D 5ce0fba5 0 1305 1304 0x00000000
Jul 15 15:56:42 laptop kernel: [ 7320.372057] eca29c48 00000086 00000672 5ce0fba5 00000672 edbd71d4 eca1ce4c c183a8c0
Jul 15 15:56:42 laptop kernel: [ 7320.372064] 5d145a23 00000672 eca1ce48 c183a8c0 c183a8c0 f70068c0 eca1cbc0 f2ac3280
Jul 15 15:56:42 laptop kernel: [ 7320.372071] eca1cbc0 eca29c24 c1001ed1 00000000 00000000 eca1cebc 00000000 eca29c2c
Jul 15 15:56:42 laptop kernel: [ 7320.372079] Call Trace:
Jul 15 15:56:42 laptop kernel: [ 7320.372090] [<c1001ed1>] ? __switch_
Jul 15 15:56:42 laptop kernel: [ 7320.372096] [<c103f9f9>] ? finish_
Jul 15 15:56:42 laptop kernel: [ 7320.372102] [<c1507bfd>] ? schedule+
Jul 15 15:56:42 laptop kernel: [ 7320.372106] [<c1038502>] ? resched_
Jul 15 15:56:42 laptop kernel: [ 7320.372109] [<c15085cd>] schedule_
Jul 15 15:56:42 laptop kernel: [ 7320.372114] [<c1049f53>] ? try_to_
Jul 15 15:56:42 laptop kernel: [ 7320.372117] [<c1508150>] wait_for_
Jul 15 15:56:42 laptop kernel: [ 7320.372121] [<c104a0f0>] ? default_
Jul 15 15:56:42 laptop kernel: [ 7320.372125] [<c15082b7>] wait_for_
Jul 15 15:56:42 laptop kernel: [ 7320.372130] [<c1068100>] flush_work+
Jul 15 15:56:42 laptop kernel: [ 7320.372133] [<c10666d0>] ? wq_barrier_
Jul 15 15:56:42 laptop kernel: [ 7320.372137] [<c10697eb>] flush_delayed_
Jul 15 15:56:42 laptop kernel: [ 7320.372141] [<c12653a5>] disk_clear_
Jul 15 15:56:42 laptop kernel: [ 7320.372146] [<c1153b7d>] check_disk_
Jul 15 15:56:42 laptop kernel: [ 7320.372151] [<c139cb80>] cdrom_open+
Jul 15 15:56:42 laptop kernel: [ 7320.372155] [<c1273012>] ? kobject_
Jul 15 15:56:42 laptop kernel: [ 7320.372159] [<c1263b78>] ? get_disk+0x48/0xa0
Jul 15 15:56:42 laptop kernel: [ 7320.372163] [<c1273012>] ? kobject_
Jul 15 15:56:42 laptop kernel: [ 7320.372167] [<c1330c08>] ? get_device+
Jul 15 15:56:42 laptop kernel: [ 7320.372171] [<c1351b23>] ? scsi_device_
Jul 15 15:56:42 laptop kernel: [ 7320.372176] [<c1367fa7>] sr_block_
Jul 15 15:56:42 laptop kernel: [ 7320.372180] [<c1154e3e>] __blkdev_
Jul 15 15:56:42 laptop kernel: [ 7320.372183] [<c11551cf>] blkdev_
Jul 15 15:56:42 laptop kernel: [ 7320.372186] [<c1155368>] blkdev_
Jul 15...