kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #108112
[Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host
I can confirm same with old LACIE 250GB
However adding usb-storage quirks 'uw' for it _may_ work around the issue;
e.g. add (just substitute vendor and product id for yours)
options usb-storage quirks=059f:0651:uw
dmesg with above quirks / kernel 3.16.0-31-generic
[ 57.952732] usb 2-4: new high-speed USB device number 3 using ehci-pci
[ 58.085433] usb 2-4: New USB device found, idVendor=059f, idProduct=0651
[ 58.085442] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 58.085447] usb 2-4: Product: LaCie Hard Drive USB
[ 58.085451] usb 2-4: Manufacturer: LaCie
[ 58.085454] usb 2-4: SerialNumber: 10000E000CD8F66F
[ 58.086821] usb-storage 2-4:1.0: USB Mass Storage device detected
[ 58.088781] usb-storage 2-4:1.0: Quirks match for vid 059f pid 0651: 800200
[ 58.088857] scsi11 : usb-storage 2-4:1.0
[ 59.088892] scsi 11:0:0:0: Direct-Access SEAGATE ST3250820A 3.AA PQ: 0 ANSI: 2
[ 59.089927] sd 11:0:0:0: Attached scsi generic sg5 type 0
[ 59.090800] sd 11:0:0:0: [sdf] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[ 59.090805] sd 11:0:0:0: [sdf] Assuming Write Enabled
[ 59.090808] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[ 59.110410] sdf: sdf1
[ 59.112295] sd 11:0:0:0: [sdf] Attached SCSI disk
relevant dmesg _without_ quirks;
[12768.255738] usb 2-4: new high-speed USB device number 3 using ehci-pci
[12768.388658] usb 2-4: New USB device found, idVendor=059f, idProduct=0651
[12768.388667] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12768.388672] usb 2-4: Product: LaCie Hard Drive USB
[12768.388676] usb 2-4: Manufacturer: LaCie
[12768.388679] usb 2-4: SerialNumber: 10000E000CD8F66F
[12768.389259] usb-storage 2-4:1.0: USB Mass Storage device detected
[12768.389422] usb-storage 2-4:1.0: Quirks match for vid 059f pid 0651: 908420
[12768.389475] scsi11 : usb-storage 2-4:1.0
[12769.387735] scsi 11:0:0:0: Direct-Access SEAGATE ST3250820A 3.AA PQ: 0 ANSI: 2
[12769.388477] sd 11:0:0:0: Attached scsi generic sg5 type 0
[12769.389527] sd 11:0:0:0: [sdf] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[12769.395049] sd 11:0:0:0: [sdf] Write Protect is off
[12769.395056] sd 11:0:0:0: [sdf] Mode Sense: 53 00 00 08
[12769.397128] sd 11:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[12769.423794] sdf: sdf1
[12769.427236] sd 11:0:0:0: [sdf] Attached SCSI disk
--
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/1366538
Title:
Synchronisation/close /dev/sdX: i/o error on target host
Status in linux package in Ubuntu:
Triaged
Status in linux source package in Trusty:
Triaged
Status in linux source package in Utopic:
Triaged
Status in linux source package in Vivid:
Triaged
Bug description:
Ubuntu 14.04.1 x86-64
wanting to unmout a pata drive (usb attached), I get this (title) "Warning from libparted" when gparted launches.
Same issue with another pc x86-64
Errors retries then ignore, shred /dev/sdi fails:
shred: /dev/sdi : pass 1/2 (random)…
shred: /dev/sdi : pass 1/2 (random)…231MiB/94GiB 0 %
shred: /dev/sdi : failure of fdatasync: i/o error on target host
I reached to shred the drive from a 12.04.4 i386 pc with no error.
Sep 7 15:07:08 nux kernel: [261448.072475] usb 5-1: new high-speed USB device number 10 using xhci_hcd
Sep 7 15:07:09 nux kernel: [261448.202999] usb 5-1: New USB device found, idVendor=04cf, idProduct=8818
Sep 7 15:07:09 nux kernel: [261448.203008] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 7 15:07:09 nux kernel: [261448.203013] usb 5-1: Product: USB Mass Storage Device
Sep 7 15:07:09 nux kernel: [261448.203018] usb 5-1: Manufacturer: Myson Century, Inc.
Sep 7 15:07:09 nux kernel: [261448.205463] usb-storage 5-1:1.0: USB Mass Storage device detected
Sep 7 15:07:09 nux kernel: [261448.205673] scsi20 : usb-storage 5-1:1.0
Sep 7 15:07:10 nux kernel: [261449.206849] scsi 20:0:0:0: Direct-Access HTS72101 0G9AT00 MCZO PQ: 0 ANSI: 0 CCS
Sep 7 15:07:10 nux kernel: [261449.207763] sd 20:0:0:0: Attached scsi generic sg7 type 0
Sep 7 15:07:10 nux kernel: [261449.207901] sd 20:0:0:0: [sdi] 195371568 512-byte logical blocks: (100 GB/93.1 GiB)
Sep 7 15:07:10 nux kernel: [261449.208068] sd 20:0:0:0: [sdi] Write Protect is off
Sep 7 15:07:10 nux kernel: [261449.208074] sd 20:0:0:0: [sdi] Mode Sense: 00 14 00 00
Sep 7 15:07:10 nux kernel: [261449.208280] sd 20:0:0:0: [sdi] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 7 15:07:10 nux kernel: [261449.555232] sdi: unknown partition table
Sep 7 15:07:10 nux kernel: [261449.555926] sd 20:0:0:0: [sdi] Attached SCSI disk
Sep 7 15:07:43 nux kernel: [261482.219026] end_request: critical target error, dev sdi, sector 0
Sep 7 15:07:52 nux kernel: [261492.015180] end_request: critical target error, dev sdi, sector 0
Sep 7 15:07:55 nux kernel: [261494.261159] end_request: critical target error, dev sdi, sector 0
Sep 7 15:16:23 nux kernel: [262003.027005] end_request: critical target error, dev sdi, sector 0
Sep 7 15:16:35 nux kernel: [262014.215352] end_request: critical target error, dev sdi, sector 0
Sep 7 15:16:35 nux kernel: [262014.859651] end_request: critical target error, dev sdi, sector 0
[EDIT:
Once shreded, no error on the i386, but still same error on the 2 x86-64]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1366538/+subscriptions