Hello there, On Mon, Aug 22, 2011 at 10:30:32AM -0700, Jameson Graef Rollins wrote: > Occasionally I find a cdrom_id process stuck in the D > ("uninterruptible sleep") state that can not be killed. I'm not > exactly sure what's causing this (possibly detaching from my dock?) > but this causes multiple problems on my system. First of all, my > syslog starts filling with the following lines, appearing > approximately once per second: > > Aug 22 08:55:26 servo udevd[31950]: timeout: killing 'cdrom_id --lock-media > /dev/sr0' [32017] > > More frustratingly, my system becomes unable to sleep, because the > cdrom_id process can't be frozen [0].
Same happens here. Right after undocking my laptop (Thinkpad X220, more info below) from an Ultrabase I'm unable to put it to sleep. When I hit the sleep button (Fn+F4) the screen goes blank but after some seconds the desktop comes back. Debug messages I've found in system logs are very similar to the ones that you've attached to your bug report. > There is a dvd drive in my dock, so I'm assuming it must be somehow > related to that. Mine also has one. > Please let me know if I can provide any more useful info. Please reply to the bug if you need more information from my side too, I'm subscribed. Kernel log snippet and some misc system information follows: [35236.009031] INFO: task cdrom_id:15645 blocked for more than 120 seconds. [35236.009041] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [35236.009047] cdrom_id D ffff880212283590 0 15645 2154 0x00000004 [35236.009058] ffff880212283590 0000000000000082 ffff880212283948 00ff880200000001 [35236.009070] ffff8801f1be4300 0000000000012800 ffff8801f0c65fd8 ffff8801f0c65fd8 [35236.009080] 0000000000012800 ffff880212283590 0000000000012800 0000000000012800 [35236.009090] Call Trace: [35236.009109] [<ffffffff81335939>] ? schedule_timeout+0x2d/0xd7 [35236.009120] [<ffffffff81038189>] ? test_tsk_need_resched+0xe/0x17 [35236.009130] [<ffffffff81335713>] ? wait_for_common+0x9d/0x116 [35236.009138] [<ffffffff8103f0a4>] ? try_to_wake_up+0x199/0x199 [35236.009148] [<ffffffff8105b266>] ? start_flush_work+0xec/0x103 [35236.009156] [<ffffffff8105b57c>] ? flush_work+0x24/0x2c [35236.009163] [<ffffffff8105ae8f>] ? do_work_for_cpu+0x1b/0x1b [35236.009173] [<ffffffff811994be>] ? disk_clear_events+0x86/0xe4 [35236.009184] [<ffffffff81121c0e>] ? check_disk_change+0x22/0x50 [35236.009196] [<ffffffffa04b6051>] ? cdrom_open+0x45/0x4aa [cdrom] [35236.009206] [<ffffffff811a4c79>] ? kobject_get+0x12/0x17 [35236.009213] [<ffffffff81198079>] ? get_disk+0x6d/0x8d [35236.009221] [<ffffffff8103840a>] ? should_resched+0x5/0x24 [35236.009229] [<ffffffff8133565f>] ? _cond_resched+0x9/0x20 [35236.009240] [<ffffffff8124b9df>] ? kobj_lookup+0x13a/0x174 [35236.009248] [<ffffffff811a4c79>] ? kobject_get+0x12/0x17 [35236.009257] [<ffffffffa04bd7c3>] ? sr_block_open+0x93/0xbc [sr_mod] [35236.009265] [<ffffffff811229b1>] ? __blkdev_get+0xe3/0x380 [35236.009275] [<ffffffff810cf775>] ? set_pte_at+0x5/0x8 [35236.009283] [<ffffffff81122ef5>] ? blkdev_get+0x2a7/0x2a7 [35236.009290] [<ffffffff81122e15>] ? blkdev_get+0x1c7/0x2a7 [35236.009298] [<ffffffff81122ef5>] ? blkdev_get+0x2a7/0x2a7 [35236.009309] [<ffffffff810fa32e>] ? __dentry_open+0x182/0x29c [35236.009319] [<ffffffff811035df>] ? dget+0x12/0x1e [35236.009326] [<ffffffff81105861>] ? do_last+0x46d/0x584 [35236.009333] [<ffffffff81106bea>] ? path_openat+0xc7/0x349 [35236.009342] [<ffffffff810d0312>] ? tlb_flush_mmu+0x37/0x50 [35236.009350] [<ffffffff81106e98>] ? do_filp_open+0x2c/0x72 [35236.009358] [<ffffffff8133565f>] ? _cond_resched+0x9/0x20 [35236.009366] [<ffffffff811ac741>] ? __strncpy_from_user+0x19/0x4a [35236.009374] [<ffffffff81110208>] ? alloc_fd+0x69/0x110 [35236.009383] [<ffffffff810fb138>] ? do_sys_open+0x5f/0xe6 [35236.009394] [<ffffffff8133ba92>] ? system_call_fastpath+0x16/0x1b Linux lrrr 3.0.0-1-amd64 #1 SMP Sun Jul 24 02:24:44 UTC 2011 x86_64 GNU/Linux processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz stepping : 7 cpu MHz : 800.000 cache size : 4096 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid bogomips : 5382.54 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz stepping : 7 cpu MHz : 2000.000 cache size : 4096 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid bogomips : 5382.33 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz stepping : 7 cpu MHz : 800.000 cache size : 4096 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid bogomips : 5382.32 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz stepping : 7 cpu MHz : 800.000 cache size : 4096 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 3 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid bogomips : 5382.32 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: ii libgudev-1.0-0 172-1 GObject-based wrapper library for libudev ii libselinux1 2.0.98-1.1 SELinux runtime shared libraries ii libudev0 172-1 libudev shared library ii linux-base 3.3 Linux image base package ii linux-image-3.0.0-1-amd64 3.0.0-1 Linux 3.0.0 for 64-bit PCs ii udev 172-1 /dev/ and hotplug management daemon ii util-linux 2.19.1-5 Miscellaneous system utilities Thanks for looking into this. Nacho
signature.asc
Description: Digital signature