kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #101745
[Bug 1415859] Re: Immediate I/O errors when dd-ing data to an external USB3 disk
apport information
** Tags added: apport-collected
** Description changed:
I discovered this bug while trying to dd a potentially corrupt Btrfs
file system to an external hard disk (see #1415510 for details).
Unfortunately "ubuntu-bug" refused to file this report, as I'm running
the mainline kernel (as requested in the other bug report).
I'm running Linux 3.19.0-031900rc6-generic (x86_64) in Ubuntu Trusty on
an IBM Thinkpad T440. I am using an external 4TB Samsung USB3 hard disk
drive for backup purposes.
% cat /proc/version
Linux version 3.19.0-031900rc6-generic (kernel@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201501261152 SMP Mon Jan 26 16:53:27 UTC 2015
When trying to dd the content of a logical volume into an image file on
the external disk drive (/dev/sdc1, formatted using ext4), the kernel
immediately begins to throw I/O Errors:
% sudo dd bs=8k if=/dev/mapper/ubuntu--vg-container
of=/media/lenz/e2a4dc71-4c96-4dab-982c-29918e556afd/vg-container.img
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.321122] usb 2-1: new SuperSpeed USB device number 5 using xhci_hcd
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337777] usb 2-1: New USB device found, idVendor=04e8, idProduct=6125
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337781] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337783] usb 2-1: Product: D3 Station
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337785] usb 2-1: Manufacturer: Samsung
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337786] usb 2-1: SerialNumber: 00000000011E0A49
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.352472] usb-storage 2-1:1.0: USB Mass Storage device detected
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.352561] scsi host3: usb-storage 2-1:1.0
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.352644] usbcore: registered new interface driver usb-storage
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.354202] usbcore: registered new interface driver uas
Jan 29 12:18:11 lenz-ThinkPad-T440 kernel: [ 521.349445] scsi 3:0:0:0: Direct-Access Samsung D3 Station 0202 PQ: 0 ANSI: 6
Jan 29 12:18:11 lenz-ThinkPad-T440 kernel: [ 521.349740] sd 3:0:0:0: Attached scsi generic sg2 type 0
Jan 29 12:18:11 lenz-ThinkPad-T440 kernel: [ 521.351547] sd 3:0:0:0: [sdc] Spinning up disk...
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 526.766731] .......ready
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.788913] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.789457] sd 3:0:0:0: [sdc] Write Protect is off
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.789459] sd 3:0:0:0: [sdc] Mode Sense: 2b 00 10 08
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.789992] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.790315] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.813839] sdc: sdc1
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.814333] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.843305] sd 3:0:0:0: [sdc] Attached SCSI disk
Jan 29 12:18:23 lenz-ThinkPad-T440 kernel: [ 533.145443] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192217] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192222] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192223] Write(10): 2a 00 01 a7 a4 00 00 3c 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192230] blk_update_request: I/O error, dev sdc, sector 222109696
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192236] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27763968)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192239] Buffer I/O error on device sdc1, logical block 27763456
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192242] Buffer I/O error on device sdc1, logical block 27763457
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192244] Buffer I/O error on device sdc1, logical block 27763458
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192245] Buffer I/O error on device sdc1, logical block 27763459
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192247] Buffer I/O error on device sdc1, logical block 27763460
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192248] Buffer I/O error on device sdc1, logical block 27763461
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192249] Buffer I/O error on device sdc1, logical block 27763462
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192251] Buffer I/O error on device sdc1, logical block 27763463
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192252] Buffer I/O error on device sdc1, logical block 27763464
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192254] Buffer I/O error on device sdc1, logical block 27763465
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192336] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27764224)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192412] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27764480)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192486] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27764736)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192561] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27764992)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192637] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27765248)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192717] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27765504)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192787] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27765760)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192856] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27766016)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192928] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27766272)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.236033] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.236038] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.236039] Write(10): 2a 00 01 a7 e0 00 00 21 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.236047] blk_update_request: I/O error, dev sdc, sector 222232576
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.759490] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.759522] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.759527] Write(10): 2a 00 01 a8 9d 00 00 34 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.759538] blk_update_request: I/O error, dev sdc, sector 222619648
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.792110] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.792114] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.792116] Write(10): 2a 00 01 a8 d1 00 00 34 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.792123] blk_update_request: I/O error, dev sdc, sector 222726144
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.827998] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.828003] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.828004] Write(10): 2a 00 01 a9 05 00 00 3c 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.828011] blk_update_request: I/O error, dev sdc, sector 222832640
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.868047] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.868052] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.868053] Write(10): 2a 00 01 a9 41 00 00 3c 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.868060] blk_update_request: I/O error, dev sdc, sector 222955520
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.904054] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.904058] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.904059] Write(10): 2a 00 01 a9 7d 00 00 3c 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.904066] blk_update_request: I/O error, dev sdc, sector 223078400
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 568.948161] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 568.948165] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 568.948167] Write(10): 2a 00 01 a9 b9 00 00 3c 00 00
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 568.948174] blk_update_request: I/O error, dev sdc, sector 223201280
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.119910] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.119916] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.119919] Write(10): 2a 00 01 aa 09 00 00 3c 00 00
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.119928] blk_update_request: I/O error, dev sdc, sector 223365120
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.163964] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.163970] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.163973] Write(10): 2a 00 01 aa 45 00 00 3c 00 00
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.163983] blk_update_request: I/O error, dev sdc, sector 223488000
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053115] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053121] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053123] Write(10): 2a 00 01 aa a0 5c 00 34 00 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053132] blk_update_request: I/O error, dev sdc, sector 223675104
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053137] EXT4-fs warning: 547 callbacks suppressed
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053140] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 703971328 size 671744 starting block 27959552)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053144] buffer_io_error: 142582 callbacks suppressed
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053146] Buffer I/O error on device sdc1, logical block 27959132
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053150] Buffer I/O error on device sdc1, logical block 27959133
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053152] Buffer I/O error on device sdc1, logical block 27959134
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053154] Buffer I/O error on device sdc1, logical block 27959135
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053157] Buffer I/O error on device sdc1, logical block 27959136
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053159] Buffer I/O error on device sdc1, logical block 27959137
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053162] Buffer I/O error on device sdc1, logical block 27959138
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053164] Buffer I/O error on device sdc1, logical block 27959139
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053167] Buffer I/O error on device sdc1, logical block 27959140
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053169] Buffer I/O error on device sdc1, logical block 27959141
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053250] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27959808)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053364] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27960064)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053477] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27960320)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053586] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27960576)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053696] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27960832)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053805] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27961088)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053915] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27961344)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.054019] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27961600)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.054210] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 713031680 size 8388608 starting block 27961856)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.097102] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.097106] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.097108] Write(10): 2a 00 01 aa d4 5c 00 34 00 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.097115] blk_update_request: I/O error, dev sdc, sector 223781600
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.137353] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.137357] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.137359] Write(10): 2a 00 01 ab 08 5c 00 3b a4 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.137366] blk_update_request: I/O error, dev sdc, sector 223888096
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.176987] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.176991] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.176993] Write(10): 2a 00 01 ab 44 00 00 3c 00 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.177000] blk_update_request: I/O error, dev sdc, sector 224010240
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.216930] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.216935] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.216937] Write(10): 2a 00 01 ab 80 00 00 23 1c 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.216943] blk_update_request: I/O error, dev sdc, sector 224133120
This seems to be a regression in the mainline Kernel, as the default
kernel (3.13.0-44-generic) performed this dd operation without issues -
but it seems to be using a different USB driver for the disk:
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.440600] usb 3-1: new SuperSpeed USB device number 5 using xhci_hcd
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457727] usb 3-1: New USB device found, idVendor=04e8, idProduct=6125
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457737] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457741] usb 3-1: Product: D3 Station
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457745] usb 3-1: Manufacturer: Samsung
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457749] usb 3-1: SerialNumber: 00000000011E0A49
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.476665] usb-storage 3-1:1.0: USB Mass Storage device detected
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.476777] scsi3 : usb-storage 3-1:1.0
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.477201] usbcore: registered new interface driver usb-storage
Jan 29 11:38:14 lenz-ThinkPad-T440 kernel: [ 146.477555] scsi 3:0:0:0: Direct-Access Samsung D3 Station 0202 PQ: 0 ANSI: 6
Jan 29 11:38:14 lenz-ThinkPad-T440 kernel: [ 146.478329] sd 3:0:0:0: Attached scsi generic sg2 type 0
Jan 29 11:38:14 lenz-ThinkPad-T440 kernel: [ 146.479586] sd 3:0:0:0: [sdc] Spinning up disk...
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 151.993125] ......ready
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.014200] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.014797] sd 3:0:0:0: [sdc] Write Protect is off
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.014807] sd 3:0:0:0: [sdc] Mode Sense: 2b 00 10 08
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.015382] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.015967] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.041599] sdc: sdc1
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.042036] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.043099] sd 3:0:0:0: [sdc] Attached SCSI disk
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.375933] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
Another (probably unrelated) observation: even if the file system is
just mounted and idle (no processes accessing it), the disk drive LED
shows activity. "iostat 3 /dev/sdc" reveals that something seems to be
writing to the disk continuously:
avg-cpu: %user %nice %system %iowait %steal %idle
2,85 0,00 0,67 1,43 0,00 95,05
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sdc 5,33 0,00 4782,67 0 14348
avg-cpu: %user %nice %system %iowait %steal %idle
2,35 0,00 0,84 1,34 0,00 95,47
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sdc 5,00 0,00 4781,33 0 14344
avg-cpu: %user %nice %system %iowait %steal %idle
4,85 0,00 0,75 1,34 0,00 93,05
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sdc 4,33 0,00 4097,33 0 12292
+ ---
+ ApportVersion: 2.14.1-0ubuntu3.6
+ Architecture: amd64
+ CurrentDesktop: Unity
+ DistroRelease: Ubuntu 14.04
+ InstallationDate: Installed on 2014-09-15 (136 days ago)
+ InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
+ Package: linux (not installed)
+ Tags: trusty
+ Uname: Linux 3.19.0-031900rc6-generic x86_64
+ UnreportableReason: The running kernel is not an Ubuntu kernel
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip disk docker lpadmin plugdev sambashare sudo
+ _MarkForUpload: True
** Attachment added: "ProcEnviron.txt"
https://bugs.launchpad.net/bugs/1415859/+attachment/4307898/+files/ProcEnviron.txt
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1415859
Title:
Immediate I/O errors when dd-ing data to an external USB3 disk
Status in linux package in Ubuntu:
Confirmed
Bug description:
I discovered this bug while trying to dd a potentially corrupt Btrfs
file system to an external hard disk (see #1415510 for details).
Unfortunately "ubuntu-bug" refused to file this report, as I'm running
the mainline kernel (as requested in the other bug report).
I'm running Linux 3.19.0-031900rc6-generic (x86_64) in Ubuntu Trusty
on an IBM Thinkpad T440. I am using an external 4TB Samsung USB3 hard
disk drive for backup purposes.
% cat /proc/version
Linux version 3.19.0-031900rc6-generic (kernel@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201501261152 SMP Mon Jan 26 16:53:27 UTC 2015
When trying to dd the content of a logical volume into an image file
on the external disk drive (/dev/sdc1, formatted using ext4), the
kernel immediately begins to throw I/O Errors:
% sudo dd bs=8k if=/dev/mapper/ubuntu--vg-container
of=/media/lenz/e2a4dc71-4c96-4dab-982c-29918e556afd/vg-container.img
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.321122] usb 2-1: new SuperSpeed USB device number 5 using xhci_hcd
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337777] usb 2-1: New USB device found, idVendor=04e8, idProduct=6125
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337781] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337783] usb 2-1: Product: D3 Station
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337785] usb 2-1: Manufacturer: Samsung
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.337786] usb 2-1: SerialNumber: 00000000011E0A49
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.352472] usb-storage 2-1:1.0: USB Mass Storage device detected
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.352561] scsi host3: usb-storage 2-1:1.0
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.352644] usbcore: registered new interface driver usb-storage
Jan 29 12:18:10 lenz-ThinkPad-T440 kernel: [ 520.354202] usbcore: registered new interface driver uas
Jan 29 12:18:11 lenz-ThinkPad-T440 kernel: [ 521.349445] scsi 3:0:0:0: Direct-Access Samsung D3 Station 0202 PQ: 0 ANSI: 6
Jan 29 12:18:11 lenz-ThinkPad-T440 kernel: [ 521.349740] sd 3:0:0:0: Attached scsi generic sg2 type 0
Jan 29 12:18:11 lenz-ThinkPad-T440 kernel: [ 521.351547] sd 3:0:0:0: [sdc] Spinning up disk...
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 526.766731] .......ready
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.788913] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.789457] sd 3:0:0:0: [sdc] Write Protect is off
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.789459] sd 3:0:0:0: [sdc] Mode Sense: 2b 00 10 08
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.789992] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.790315] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.813839] sdc: sdc1
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.814333] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 12:18:22 lenz-ThinkPad-T440 kernel: [ 532.843305] sd 3:0:0:0: [sdc] Attached SCSI disk
Jan 29 12:18:23 lenz-ThinkPad-T440 kernel: [ 533.145443] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192217] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192222] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192223] Write(10): 2a 00 01 a7 a4 00 00 3c 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192230] blk_update_request: I/O error, dev sdc, sector 222109696
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192236] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27763968)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192239] Buffer I/O error on device sdc1, logical block 27763456
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192242] Buffer I/O error on device sdc1, logical block 27763457
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192244] Buffer I/O error on device sdc1, logical block 27763458
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192245] Buffer I/O error on device sdc1, logical block 27763459
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192247] Buffer I/O error on device sdc1, logical block 27763460
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192248] Buffer I/O error on device sdc1, logical block 27763461
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192249] Buffer I/O error on device sdc1, logical block 27763462
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192251] Buffer I/O error on device sdc1, logical block 27763463
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192252] Buffer I/O error on device sdc1, logical block 27763464
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192254] Buffer I/O error on device sdc1, logical block 27763465
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192336] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27764224)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192412] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27764480)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192486] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27764736)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192561] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 33554432 size 8388608 starting block 27764992)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192637] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27765248)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192717] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27765504)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192787] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27765760)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192856] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27766016)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.192928] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 41943040 size 8388608 starting block 27766272)
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.236033] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.236038] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.236039] Write(10): 2a 00 01 a7 e0 00 00 21 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.236047] blk_update_request: I/O error, dev sdc, sector 222232576
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.759490] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.759522] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.759527] Write(10): 2a 00 01 a8 9d 00 00 34 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.759538] blk_update_request: I/O error, dev sdc, sector 222619648
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.792110] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.792114] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.792116] Write(10): 2a 00 01 a8 d1 00 00 34 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.792123] blk_update_request: I/O error, dev sdc, sector 222726144
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.827998] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.828003] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.828004] Write(10): 2a 00 01 a9 05 00 00 3c 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.828011] blk_update_request: I/O error, dev sdc, sector 222832640
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.868047] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.868052] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.868053] Write(10): 2a 00 01 a9 41 00 00 3c 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.868060] blk_update_request: I/O error, dev sdc, sector 222955520
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.904054] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.904058] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.904059] Write(10): 2a 00 01 a9 7d 00 00 3c 00 00
Jan 29 12:18:58 lenz-ThinkPad-T440 kernel: [ 568.904066] blk_update_request: I/O error, dev sdc, sector 223078400
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 568.948161] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 568.948165] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 568.948167] Write(10): 2a 00 01 a9 b9 00 00 3c 00 00
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 568.948174] blk_update_request: I/O error, dev sdc, sector 223201280
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.119910] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.119916] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.119919] Write(10): 2a 00 01 aa 09 00 00 3c 00 00
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.119928] blk_update_request: I/O error, dev sdc, sector 223365120
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.163964] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.163970] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.163973] Write(10): 2a 00 01 aa 45 00 00 3c 00 00
Jan 29 12:18:59 lenz-ThinkPad-T440 kernel: [ 569.163983] blk_update_request: I/O error, dev sdc, sector 223488000
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053115] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053121] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053123] Write(10): 2a 00 01 aa a0 5c 00 34 00 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053132] blk_update_request: I/O error, dev sdc, sector 223675104
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053137] EXT4-fs warning: 547 callbacks suppressed
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053140] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 703971328 size 671744 starting block 27959552)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053144] buffer_io_error: 142582 callbacks suppressed
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053146] Buffer I/O error on device sdc1, logical block 27959132
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053150] Buffer I/O error on device sdc1, logical block 27959133
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053152] Buffer I/O error on device sdc1, logical block 27959134
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053154] Buffer I/O error on device sdc1, logical block 27959135
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053157] Buffer I/O error on device sdc1, logical block 27959136
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053159] Buffer I/O error on device sdc1, logical block 27959137
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053162] Buffer I/O error on device sdc1, logical block 27959138
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053164] Buffer I/O error on device sdc1, logical block 27959139
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053167] Buffer I/O error on device sdc1, logical block 27959140
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053169] Buffer I/O error on device sdc1, logical block 27959141
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053250] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27959808)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053364] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27960064)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053477] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27960320)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053586] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27960576)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053696] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27960832)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053805] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27961088)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.053915] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27961344)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.054019] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 704643072 size 8388608 starting block 27961600)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.054210] EXT4-fs warning (device sdc1): ext4_end_bio:317: I/O error -5 writing to inode 13 (offset 713031680 size 8388608 starting block 27961856)
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.097102] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.097106] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.097108] Write(10): 2a 00 01 aa d4 5c 00 34 00 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.097115] blk_update_request: I/O error, dev sdc, sector 223781600
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.137353] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.137357] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.137359] Write(10): 2a 00 01 ab 08 5c 00 3b a4 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.137366] blk_update_request: I/O error, dev sdc, sector 223888096
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.176987] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.176991] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.176993] Write(10): 2a 00 01 ab 44 00 00 3c 00 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.177000] blk_update_request: I/O error, dev sdc, sector 224010240
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.216930] sd 3:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.216935] sd 3:0:0:0: [sdc] CDB:
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.216937] Write(10): 2a 00 01 ab 80 00 00 23 1c 00
Jan 29 12:19:29 lenz-ThinkPad-T440 kernel: [ 599.216943] blk_update_request: I/O error, dev sdc, sector 224133120
This seems to be a regression in the mainline Kernel, as the default
kernel (3.13.0-44-generic) performed this dd operation without issues
- but it seems to be using a different USB driver for the disk:
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.440600] usb 3-1: new SuperSpeed USB device number 5 using xhci_hcd
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457727] usb 3-1: New USB device found, idVendor=04e8, idProduct=6125
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457737] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457741] usb 3-1: Product: D3 Station
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457745] usb 3-1: Manufacturer: Samsung
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.457749] usb 3-1: SerialNumber: 00000000011E0A49
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.476665] usb-storage 3-1:1.0: USB Mass Storage device detected
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.476777] scsi3 : usb-storage 3-1:1.0
Jan 29 11:38:13 lenz-ThinkPad-T440 kernel: [ 145.477201] usbcore: registered new interface driver usb-storage
Jan 29 11:38:14 lenz-ThinkPad-T440 kernel: [ 146.477555] scsi 3:0:0:0: Direct-Access Samsung D3 Station 0202 PQ: 0 ANSI: 6
Jan 29 11:38:14 lenz-ThinkPad-T440 kernel: [ 146.478329] sd 3:0:0:0: Attached scsi generic sg2 type 0
Jan 29 11:38:14 lenz-ThinkPad-T440 kernel: [ 146.479586] sd 3:0:0:0: [sdc] Spinning up disk...
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 151.993125] ......ready
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.014200] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.014797] sd 3:0:0:0: [sdc] Write Protect is off
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.014807] sd 3:0:0:0: [sdc] Mode Sense: 2b 00 10 08
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.015382] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.015967] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.041599] sdc: sdc1
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.042036] sd 3:0:0:0: [sdc] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.043099] sd 3:0:0:0: [sdc] Attached SCSI disk
Jan 29 11:38:25 lenz-ThinkPad-T440 kernel: [ 157.375933] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
Another (probably unrelated) observation: even if the file system is
just mounted and idle (no processes accessing it), the disk drive LED
shows activity. "iostat 3 /dev/sdc" reveals that something seems to
be writing to the disk continuously:
avg-cpu: %user %nice %system %iowait %steal %idle
2,85 0,00 0,67 1,43 0,00 95,05
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sdc 5,33 0,00 4782,67 0 14348
avg-cpu: %user %nice %system %iowait %steal %idle
2,35 0,00 0,84 1,34 0,00 95,47
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sdc 5,00 0,00 4781,33 0 14344
avg-cpu: %user %nice %system %iowait %steal %idle
4,85 0,00 0,75 1,34 0,00 93,05
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sdc 4,33 0,00 4097,33 0 12292
---
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2014-09-15 (136 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Package: linux (not installed)
Tags: trusty
Uname: Linux 3.19.0-031900rc6-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip disk docker lpadmin plugdev sambashare sudo
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1415859/+subscriptions
References