Wind River Support Network

HomeDefectsLIN5-9745
Fixed

LIN5-9745 : wrlinux 4.3 - dd does not return and gives kernel trace

Created: Aug 24, 2013    Updated: Dec 19, 2017
Resolved Date: Jan 23, 2014
Previous ID: LIN4-12863
Found In Version: 5.0
Fix Version: 5.0.1.12
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

when running dd to write on a re-writable DVD-RW, the dd command does not return anything and produces the following trace:

root@localhost:/root> cat /var/log/dmesg | egrep '(CD|DVD)'                   
ata6.00: ATAPI: Slimtype DVD A  DS8A9SH, EP57, max UDMA/100                   
scsi 7:0:0:0: CD-ROM            Slimtype DVD A  DS8A9SH   EP57 PQ: 0 ANSI: 5  
Uniform CD-ROM driver Revision: 3.20                                          
sr 7:0:0:0: Attached scsi CD-ROM sr0
------------------------------------------------------------------------------
Kernel trace:

INFO: task flush-11:0:663 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
flush-11:0    D 00000000ffff5ceb     0   663      2 0x00000000
 ffff88026d3b1710 0000000000000046 0000000000000001 0000000000000000
 ffff88026f2530c0 ffff88026d365860 ffff88026d3b16e0 ffffffff812ffd52
 ffff88026d4fd3d0 0000000100000001 ffff88026d3b16f0 ffff88026d3b1fd8
Call Trace:
 [<ffffffff812ffd52>] ? cfq_may_queue+0x52/0xf0
 [<ffffffff81604338>] schedule+0x18/0x30
 [<ffffffff81604392>] io_schedule+0x42/0x60
 [<ffffffff812f22bb>] get_request_wait+0xeb/0x1f0
 [<ffffffff81065660>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff812eb382>] ? elv_merge+0x42/0x210
 [<ffffffff812f26ae>] __make_request+0x8e/0x4e0
 [<ffffffff812f068e>] generic_make_request+0x21e/0x5e0
 [<ffffffff812f0aad>] submit_bio+0x5d/0xd0
 [<ffffffff81141422>] submit_bh+0xf2/0x130
 [<ffffffff8114474c>] __block_write_full_page+0x1dc/0x3a0
 [<ffffffff81143f60>] ? end_buffer_async_write+0x0/0x120
 [<ffffffff811474e0>] ? blkdev_get_block+0x0/0x70
 [<ffffffff811474e0>] ? blkdev_get_block+0x0/0x70
 [<ffffffff81143f60>] ? end_buffer_async_write+0x0/0x120
 [<ffffffff811449ee>] block_write_full_page_endio+0xde/0x100
 [<ffffffff81144a20>] block_write_full_page+0x10/0x20
 [<ffffffff81148703>] blkdev_writepage+0x13/0x20
 [<ffffffff810d7525>] __writepage+0x15/0x40
 [<ffffffff810d7c0f>] write_cache_pages+0x1cf/0x3e0
 [<ffffffff810d7510>] ? __writepage+0x0/0x40
 [<ffffffff810d7e42>] generic_writepages+0x22/0x30
 [<ffffffff810d7e6f>] do_writepages+0x1f/0x40
 [<ffffffff8113ae67>] writeback_single_inode+0xe7/0x3b0
 [<ffffffff8113b574>] writeback_sb_inodes+0x184/0x280
 [<ffffffff8113bedb>] writeback_inodes_wb+0x6b/0x1a0
 [<ffffffff8113c24b>] wb_writeback+0x23b/0x2a0
 [<ffffffff8113c42d>] wb_do_writeback+0x17d/0x190
 [<ffffffff8113c48b>] bdi_writeback_task+0x4b/0xe0
 [<ffffffff810e82a0>] ? bdi_start_fn+0x0/0x100
 [<ffffffff810e8321>] bdi_start_fn+0x81/0x100
 [<ffffffff810e82a0>] ? bdi_start_fn+0x0/0x100
 [<ffffffff8106522e>] kthread+0x8e/0xa0
 [<ffffffff81039274>] ? finish_task_switch+0x54/0xc0
 [<ffffffff81003334>] kernel_thread_helper+0x4/0x10
 [<ffffffff810651a0>] ? kthread+0x0/0xa0
 [<ffffffff81003330>] ? kernel_thread_helper+0x0/0x10
INFO: task dd:2277 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
dd            D 00000000ffff573e     0  2277   2261 0x00000080
 ffff88026c3f5868 0000000000000086 0000000000040001 0000000000000000
 ffff88046f0c8760 ffff88026d9eb860 ffff88026c3f5838 ffffffff812ffd52
 ffff88026d4fd3d0 0000000100040001 ffff88026c3f5848 ffff88026c3f5fd8
Call Trace:
 [<ffffffff812ffd52>] ? cfq_may_queue+0x52/0xf0
 [<ffffffff81604338>] schedule+0x18/0x30
 [<ffffffff81604392>] io_schedule+0x42/0x60
 [<ffffffff812f22bb>] get_request_wait+0xeb/0x1f0
 [<ffffffff81065660>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff812eb382>] ? elv_merge+0x42/0x210
 [<ffffffff812f26ae>] __make_request+0x8e/0x4e0
 [<ffffffff81108ece>] ? _slab_irq_disable+0x4e/0x70
 [<ffffffff812f068e>] generic_make_request+0x21e/0x5e0
 [<ffffffff812f0aad>] submit_bio+0x5d/0xd0
 [<ffffffff81141422>] submit_bh+0xf2/0x130
 [<ffffffff8114474c>] __block_write_full_page+0x1dc/0x3a0
 [<ffffffff81143f60>] ? end_buffer_async_write+0x0/0x120
 [<ffffffff811474e0>] ? blkdev_get_block+0x0/0x70
 [<ffffffff811474e0>] ? blkdev_get_block+0x0/0x70
 [<ffffffff81143f60>] ? end_buffer_async_write+0x0/0x120
 [<ffffffff811449ee>] block_write_full_page_endio+0xde/0x100
 [<ffffffff81144a20>] block_write_full_page+0x10/0x20
 [<ffffffff81148703>] blkdev_writepage+0x13/0x20
 [<ffffffff810d7525>] __writepage+0x15/0x40
 [<ffffffff810d7c0f>] write_cache_pages+0x1cf/0x3e0
 [<ffffffff810d7510>] ? __writepage+0x0/0x40
 [<ffffffff810d7e42>] generic_writepages+0x22/0x30
 [<ffffffff810d7e6f>] do_writepages+0x1f/0x40
 [<ffffffff810d018b>] __filemap_fdatawrite_range+0x5b/0x60
 [<ffffffff810d08fa>] filemap_fdatawrite+0x1a/0x20
 [<ffffffff810d0935>] filemap_write_and_wait+0x35/0x50
 [<ffffffff8114899f>] __sync_blockdev+0x1f/0x40
 [<ffffffff811489ce>] sync_blockdev+0xe/0x10
 [<ffffffff81148a98>] __blkdev_put+0xc8/0x1d0
 [<ffffffff81148bab>] blkdev_put+0xb/0x10
 [<ffffffff81148bde>] blkdev_close+0x2e/0x50
 [<ffffffff8111a95a>] __fput+0xda/0x1f0
 [<ffffffff8111aa8d>] fput+0x1d/0x30
 [<ffffffff81116d58>] filp_close+0x58/0x90
 [<ffffffff81116e5c>] sys_close+0xcc/0x1c0
 [<ffffffff810024eb>] system_call_done+0x0/0x5
INFO: task scsi_eh_7:343 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
scsi_eh_7     D 00000000ffff5cf3     0   343      2 0x00000000
 ffff88026d4f7ce0 0000000000000046 ffff88026d4f7c90 ffffffff00000000
 ffff88046f0c8760 ffff88026d9d9180 ffff88026d4f7ca0 ffffffff813d6052
 ffff88026d4f7d00 00000001813ed436 ffff88026d4f7cc0 ffff88026d4f7fd8
Call Trace:
 [<ffffffff813d6052>] ? put_device+0x12/0x20
 [<ffffffff81604338>] schedule+0x18/0x30
 [<ffffffff81604392>] io_schedule+0x42/0x60
 [<ffffffff812f22bb>] get_request_wait+0xeb/0x1f0
 [<ffffffff81065660>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff812f242d>] blk_get_request+0x6d/0x90
 [<ffffffff813e7101>] ? __scsi_iterate_devices+0x61/0x90
 [<ffffffff813ebcd1>] scsi_error_handler+0x151/0x460
 [<ffffffff813ebb80>] ? scsi_error_handler+0x0/0x460
 [<ffffffff8106522e>] kthread+0x8e/0xa0
 [<ffffffff81039274>] ? finish_task_switch+0x54/0xc0
 [<ffffffff81003334>] kernel_thread_helper+0x4/0x10
 [<ffffffff810651a0>] ? kthread+0x0/0xa0
 [<ffffffff81003330>] ? kernel_thread_helper+0x0/0x10

Steps to Reproduce

boot target
run:
dd if=/dev/zero of=/dev/scd0 bs=2048 count=32768

Other Downloads


Live chat
Online