[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110424203311.GA4754@tiehlicka.suse.cz>
Date: Sun, 24 Apr 2011 22:33:12 +0200
From: Michal Hocko <mhocko@...e.cz>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Jens Axboe <axboe@...nel.dk>
Subject: Unable to suspend to RAM due to faulty CDROM 2.6.39-rc[34]
Hi,
I have started seeing failures when trying to suspend to RAM with
2.6.39-rc[34] (I haven't tried previous rcs). Freezer fails because
there is a task refusing o freeze:
[ 336.114624] Freezing user space processes ...
[ 356.120073] Freezing of tasks failed after 20.00 seconds (1 tasks refusing to freeze, wq_busy=0):
[ 356.120231] hald-probe-stor D 00000016 0 2972 2936 0x00800004
[ 356.120333] f5781b74 00000082 dc39c139 00000016 f5781b4c f5781b0c c06c0f40 c06c0f40
[ 356.120436] c06bb000 c06c0f40 f5cdcd98 bd570812 0000004e bd56d417 0000004e f5cdcb00
[ 356.120537] 00000001 f5781b28 c04634b0 c0717880 f5781b38 c0460d7d f5781b3c f5781b40
[ 356.120639] Call Trace:
[ 356.120670] [<c04634b0>] ? add_preempt_count+0x95/0x98
[ 356.120718] [<c0460d7d>] ? _raw_spin_lock_irqsave+0x19/0x33
[ 356.120769] [<c012c6d8>] ? get_parent_ip+0xb/0x31
[ 356.120813] [<c04634b0>] ? add_preempt_count+0x95/0x98
[ 356.120859] [<c0460d7d>] ? _raw_spin_lock_irqsave+0x19/0x33
[ 356.120909] [<c012c6d8>] ? get_parent_ip+0xb/0x31
[ 356.120953] [<c045f759>] schedule_timeout+0x1d3/0x1f0
[ 356.121000] [<c013f77c>] ? run_timer_softirq+0x28f/0x28f
[ 356.121049] [<c045e6ac>] wait_for_common+0xaf/0xf7
[ 356.121093] [<c01305f6>] ? try_to_wake_up+0x353/0x353
[ 356.121139] [<c045e77a>] wait_for_completion_timeout+0x12/0x14
[ 356.121192] [<c0287301>] blk_execute_rq+0x8c/0xaf
[ 356.121235] [<c02874a2>] ? blk_recount_segments+0x1b/0x29
[ 356.121286] [<c028487c>] ? blk_rq_bio_prep+0x46/0x73
[ 356.121330] [<c0286eeb>] ? blk_rq_append_bio+0x19/0x40
[ 356.121376] [<c0287155>] ? blk_rq_map_user+0x138/0x1b7
[ 356.121423] [<c028ac4e>] sg_io+0x251/0x33e
[ 356.121463] [<c028b21c>] scsi_cmd_ioctl+0x1de/0x39e
[ 356.121509] [<c011ebe2>] ? __change_page_attr_set_clr+0xe9/0x520
[ 356.121563] [<c0353b60>] ? cdrom_open+0x361/0x3f9
[ 356.121607] [<c02896e0>] ? get_disk+0xcc/0xe1
[ 356.121648] [<c0354176>] cdrom_ioctl+0x28/0xb5e
[ 356.121690] [<c0121db3>] ? __kunmap_atomic+0x63/0x7a
[ 356.121737] [<c01979bc>] ? get_page_from_freelist+0x305/0x364
[ 356.121790] [<c031fa37>] idecd_locked_ioctl+0x135/0x143
[ 356.121838] [<c0197c58>] ? __alloc_pages_nodemask+0x105/0x637
[ 356.121890] [<c031fa73>] idecd_ioctl+0x2e/0x41
[ 356.121931] [<c031fa45>] ? idecd_locked_ioctl+0x143/0x143
[ 356.121980] [<c0288660>] __blkdev_driver_ioctl+0x24/0x30
[ 356.122027] [<c0288f2c>] blkdev_ioctl+0x63d/0x65d
[ 356.122070] [<c012c6d8>] ? get_parent_ip+0xb/0x31
[ 356.122113] [<c046340e>] ? sub_preempt_count+0x81/0x8e
[ 356.122160] [<c0460aff>] ? _raw_spin_unlock+0x14/0x29
[ 356.122208] [<c01e6cb7>] block_ioctl+0x31/0x39
[ 356.122248] [<c01e6cb7>] ? block_ioctl+0x31/0x39
[ 356.122291] [<c01e6c86>] ? bd_set_size+0x69/0x69
[ 356.122334] [<c01d0299>] do_vfs_ioctl+0x44f/0x485
[ 356.122377] [<c0463363>] ? do_page_fault+0x3d7/0x401
[ 356.122423] [<c01c3318>] ? do_sys_open+0x16f/0x179
[ 356.122467] [<c01d0302>] sys_ioctl+0x33/0x4d
[ 356.122507] [<c04659d0>] sysenter_do_call+0x12/0x26
[ 356.122582]
[ 356.122598] Restarting tasks ... done.
[ 356.132942] PM: Removing info for No Bus:CMB1
[ 356.133037] PM: Adding info for No Bus:CMB1
[ 356.133423] PM: Adding info for No Bus:CMB2
[ 356.134448] video LNXVIDEO:00: Restoring backlight state
Sometimes I can see more tasks refusing to freeze but as it happens with
a single task as well, I do not think it is deadlock or something
similar.
The CDROM is faulty - it doesn't read almost any medium so I guess the
driver is just stuck waiting for some command or something similar.
I have tried to switch cdrom off in the BIOS but it didn't help because
the device is used anyway. The only way how I can disable it is to
unplug it before boot or to disable the driver.
I am wondering that this is not happening with .38 kernel.
Is this behavior expected and the only thing I can do about it is to
blacklist the cdrom driver? What is the change that made the difference
between .38 kernel?
Config can be found attached. Let me know if you need any further
information.
Thanks
--
Michal Hocko
SUSE Labs
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
View attachment "config-2.6.39-rc4-00149-g91e8549" of type "text/plain" (70949 bytes)
Powered by blists - more mailing lists