[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2016-04-24 Thread Rolf Leggewie
utopic has seen the end of its life and is no longer receiving any
updates. Marking the utopic task for this ticket as "Won't Fix".

** Changed in: linux (Ubuntu Utopic)
   Status: Triaged => Won't Fix

-- 
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:
  Won't Fix
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2016-03-19 Thread cgrote
I have also experienced this problem with a USB connected Seagate
ST3300601CB-RK 300 GB external hard drive. The issue is still present in
Ubuntu Server 13.10 with kernel level 4.2.0-30-generic. Using the
command suggested by Brad in #37 above fixed the problem. I have not
rebooted to see if the fix persists.

echo 'temporary write through' >
/sys/block/sde/device/scsi_disk/*/cache_type

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-12-06 Thread brad haack
Thanks, I tried that & there was no change.   I got it working with
sudo -s
echo 'temporary write through' > /sys/block/sdb/device/scsi_disk/*/cache_type

It seems to be permanent :)

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-12-06 Thread jkampe
To verify if quirks parameter is in place inspect `dmesg` _after_ plugging in 
the device.
You should have a line indicating "quirks match" for your device - e.g. (in my 
case)

[ 2266.284812] usb-storage 8-4:1.0: USB Mass Storage device detected
[ 2266.284979] usb-storage 8-4:1.0: Quirks match for vid 059f pid 0651: 800200

If not check if the module was loaded with quirks parameter by
`cat /sys/module/usb_storage/parameters/quirks`

You may need to update initramfs if the device is plugged in while
booting.

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-12-05 Thread Christopher Chavez
I have used this workaround for a LaCie DVD RW (being used as a USB hard
drive adapter): 059f:0363 (I obtain the usb id for my particular
enclosure using `lsusb`).

 - For temporarily adding the quirks, I stop the kernel module:
`modprobe -r usb-storage` (I may also need to stop dependent kernel
modules, e.g. `modprobe -r uas` beforehand), and then restart with
quirks: `modprobe usb-storage quirks=059f:0363:uw`.

 - For permanently adding the quirks, I followed the suggest in #34
where I use e.g. `sudo sh -c 'echo "options usb-storage
quirks=059f:0363:uw" > /etc/modprobe.d/lacie-quirks.conf'`. Replace
059f:0363 with usb id for your enclosure, and maybe call it "maxtor-
quirks.conf" if that's what you have.

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-11-28 Thread brad haack
Can someone outline for a noob how to use usb-storage quirks.  I'd like
to get my Maxtor working.  thx

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-03-18 Thread jmp
jkampe: I tried your workaround of adding usb-storage quirks 'uw' with
my Maxtor OneTouch 250GB, same kernel as yours (3.16.0-31-generic
#43~14.04.1-Ubuntu  - x86_64). So far,

IT WORKS.

I'll have to test it further: I'm still running a (lengthy as in hours
long) fsck caused by the previous test _without_ the quirks parameter
(filesystem with errors, etc.). But it does look good, I attached and
detached the disk several times without the dreaded end_request:
critical target error, dev sdc, sector 0 that spelled trouble every
time.

(In this case, 
$ cat /etc/modprobe.d/maxtor-quirks.conf 
options usb-storage quirks=0d49:7010:uw
)


I confirm the difference in dmesg, the line

(...) Write cache: enabled, read cache: enabled, doesn't support DPO or
FUA

changes to

(...) Assuming drive cache: write through

-- As it should, I think, since this disk does not expose any
caches/cache control to the kernel. But what do I know?

Relevant messages:

[ 1301.964044] usb 1-2: new high-speed USB device number 5 using ehci-pci
[ 1302.096937] usb 1-2: New USB device found, idVendor=0d49, idProduct=7010
[ 1302.096940] usb 1-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 1302.096943] usb 1-2: Product: OneTouch
[ 1302.096945] usb 1-2: Manufacturer: Maxtor
[ 1302.096948] usb 1-2: SerialNumber: Y61JF0XE
[ 1302.117520] usbcore: registered new interface driver usb-storage
[ 1302.119336] usbcore: registered new interface driver uas
[ 1302.120923] ums-onetouch 1-2:1.0: USB Mass Storage device detected
[ 1302.121003] ums-onetouch 1-2:1.0: Quirks match for vid 0d49 pid 7010: 800200
[ 1302.121070] input: Maxtor OneTouch as 
/devices/pci:00/:00:1a.7/usb1/1-2/input/input13
[ 1302.121215] scsi9 : usb-storage 1-2:1.0
[ 1302.121303] usbcore: registered new interface driver ums-onetouch
[ 1303.326245] scsi 9:0:0:0: Direct-Access Maxtor   OneTouch 0200 
PQ: 0 ANSI: 0 CCS
[ 1303.326528] sd 9:0:0:0: Attached scsi generic sg3 type 0
[ 1303.327979] sd 9:0:0:0: [sdc] 490232832 512-byte logical blocks: (250 GB/233 
GiB)
[ 1303.327984] sd 9:0:0:0: [sdc] Assuming Write Enabled
[ 1303.327987] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 1303.362025]  sdc: sdc1
[ 1303.363363] sd 9:0:0:0: [sdc] Attached SCSI disk


Thank you three times. This is some wizard level advice. :-) I never had heard 
about that quirks parameter... Let alone what might the value uw do.

-- 
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 

[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-03-15 Thread jkampe
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: 1E000CD8F66F
[   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: 1E000CD8F66F
[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] 

[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-03-12 Thread jmp
I use a Maxtor OneTouch 250GB, and can confirm the previous reports:
even an fsck that returns clean (ext3 partition inside) is followed by 2 
errors like:

end_request: critical target error, dev sdX, sector 0

Any subsequent fsck turns off the journal and finds many previously non 
existent errors. 
All consistent with the diagnose and explanations given (see dmesg log below).

(Can't run smartmontools nor hdparm, unsupported USB bridge).

Tried with all trusty linux-image updates since 3.13.0-35, even 
linux-image-generic-lts-utopic
(3.16.0.31.24) . All have this bug.

Reinstalled 3.13.0-34 just to be able to use this drive. It's really
unfortunate that kernel maintainers refuse to fix this; seems my Ubuntus
are stuck with this version 3.13.0-34  then.

Relevant dmesg:

[  935.744030] usb 1-2: new high-speed USB device number 3 using ehci-pci
[  935.876881] usb 1-2: New USB device found, idVendor=0d49, idProduct=7010
[  935.876885] usb 1-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[  935.876888] usb 1-2: Product: OneTouch
[  935.876890] usb 1-2: Manufacturer: Maxtor
[  935.876893] usb 1-2: SerialNumber: Y61JF0XE
[  935.943600] usbcore: registered new interface driver usb-storage
[  935.958880] usbcore: registered new interface driver uas
[  935.960525] ums-onetouch 1-2:1.0: USB Mass Storage device detected
[  935.960754] input: Maxtor OneTouch as 
/devices/pci:00/:00:1a.7/usb1/1-2/input/input11
[  935.961336] scsi6 : usb-storage 1-2:1.0
[  935.961819] usbcore: registered new interface driver ums-onetouch
[  937.166087] scsi 6:0:0:0: Direct-Access Maxtor   OneTouch 0200 
PQ: 0 ANSI: 0 CCS
[  937.168548] sd 6:0:0:0: Attached scsi generic sg3 type 0
[  937.169183] sd 6:0:0:0: [sdc] 490232832 512-byte logical blocks: (250 GB/233 
GiB)
[  937.375463] sd 6:0:0:0: [sdc] Write Protect is off
[  937.375468] sd 6:0:0:0: [sdc] Mode Sense: 1c 00 00 00
[  937.581825] sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[  938.025841]  sdc: sdc1
[  938.469132] sd 6:0:0:0: [sdc] Attached SCSI disk
[ 1060.257726] end_request: critical target error, dev sdc, sector 0
[ 1060.260096] end_request: critical target error, dev sdc, sector 0
[ 1091.387256] usb 1-2: USB disconnect, device number 3
[ 1091.387810] sd 6:0:0:0: [sdc] Synchronizing SCSI cache
[ 1091.387842] sd 6:0:0:0: [sdc]  
[ 1091.387845] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK

-- 
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: 

[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-02-05 Thread Joseph Salisbury
Can you post the output of:
sudo hdparm -I /dev/sdb  

or what ever sdN is if it changes?

Also, can you see if setting the cache off makes the bug go away?  It can be 
done with:
sudo hdparm -W0 /dev/sdc

To confirm it is off, you can run:
sudo hdparm -W /dev/sdc

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-02-05 Thread brad haack
Can't seem to turn off write caching.

~
dt1:sudo hdparm -I /dev/sdc1

/dev/sdc1:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

ATA device, with non-removable media
Model Number:   ��+@�Z#��C`@���`�O�@�_�@��=�
Serial Number:  i`�ih���I@�k= �l��
Firmware Revision:  퉠
��  Media Serial Num:   Ơ��K���`��,���|�
  ���`
Media Manufacturer: ���Š����`���
Transport:  Parallel; Revision: 0xf4bb
Standards:
Used: unknown (minor revision code 0xf35e) 
Supported: 12 10 
Likely used: 12
Configuration:
CHS addressing not supported
LBAuser addressable sectors: 4085503040
Logical  Sector size:3431065366 bytes
Physical Sector size:3431065366 bytes
device size with M = 1024*1024: 13368250701391 MBytes
device size with M = 1000*1000: 14017626847461 MBytes (14017626847 GB)
cache/buffer size  = unknown
Nominal Media Rotation Rate: 62291
Capabilities:
LBA, IORDY(may be)(cannot be disabled)
Queue depth: 13
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 129 Current = 94
Recommended acoustic management value: 68, current value: 32
DMA: *mdma0 *mdma1 mdma3 *mdma4 *mdma5 *mdma6 *mdma7 (?)
 Cycle time: min=62312ns recommended=57024ns
PIO: pio0 pio1 pio2 
 Cycle time: no flow control=62367ns  IORDY flow control=41600ns
   *reserved 69[2]
   *reserved 69[3]
   *reserved 69[4]
   *reserved 69[6]
   *DOWNLOAD MICROCODE DMA command
   *SET MAX SETPASSWORD/UNLOCK DMA commands
   *DEVICE CONFIGURATION SET/IDENTIFY DMA commands
   *Long physical sector diagnostics
   *CFast specification support
   *Data Set Management TRIM supported (limit 62355 blocks)
   *Deterministic read ZEROs after TRIM
Removable Media Status Notification feature set supported
Security: 
Master password revision code = 34944
not supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
Integrity word not set (found 0xf371, expected 0x88a5)
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Device Sleep:
DEVSLP Exit Timeout (DETO): 20 ms (default)
Minimum DEVSLP Assertion Time (MDAT): 10 ms (default)
~
~
dt1:sudo hdparm -W /dev/sdc1

/dev/sdc1:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 write-caching = not supported
~
~
dt1:sudo hdparm -W0 /dev/sdc1

/dev/sdc1:
 setting drive write-caching to 0 (off)
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 write-caching = not supported
~
dt1:sudo hdparm -W /dev/sdc1

/dev/sdc1:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 write-caching =  1 (on)
~
I also tried with /dev/sdc,  
~
dt1:sudo hdparm -W0 /dev/sdc

/dev/sdc:
 setting drive write-caching to 0 (off)
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 write-caching =  0 (off)
~
dt1:sudo hdparm -W /dev/sdc

/dev/sdc:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 write-caching =  1 (on)
~

-- 
You 

[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-02-05 Thread brad haack
These are consecutive cmds, wirte cach goes from on, to not supported,
to off .   Further tries for this show that it seems random.

~
dt1:sudo hdparm -W /dev/sdc

/dev/sdc:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 write-caching =  1 (on)
~
dt1:sudo hdparm -W /dev/sdc

/dev/sdc:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 write-caching = not supported
~
dt1:sudo hdparm -W /dev/sdc

/dev/sdc:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 write-caching =  0 (off)

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-02-01 Thread brad haack
syslog:

Feb  1 19:21:12 dt1 kernel: [ 5378.841282] usb 1-1.4: new high-speed USB device 
number 4 using ehci-pci
Feb  1 19:21:12 dt1 kernel: [ 5378.934784] usb 1-1.4: New USB device found, 
idVendor=0d49, idProduct=7110
Feb  1 19:21:12 dt1 kernel: [ 5378.934788] usb 1-1.4: New USB device strings: 
Mfr=1, Product=3, SerialNumber=2
Feb  1 19:21:12 dt1 kernel: [ 5378.934790] usb 1-1.4: Product: OneTouch II
Feb  1 19:21:12 dt1 kernel: [ 5378.934792] usb 1-1.4: Manufacturer: Maxtor
Feb  1 19:21:12 dt1 kernel: [ 5378.934794] usb 1-1.4: SerialNumber: B203Y4HH
Feb  1 19:21:12 dt1 kernel: [ 5378.935181] usb-storage 1-1.4:1.0: USB Mass 
Storage device detected
Feb  1 19:21:12 dt1 kernel: [ 5378.935557] scsi5 : usb-storage 1-1.4:1.0
Feb  1 19:21:12 dt1 mtp-probe: checking bus 1, device 4: 
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.4
Feb  1 19:21:12 dt1 mtp-probe: bus: 1, device: 4 was not an MTP device
Feb  1 19:21:13 dt1 kernel: [ 5379.986719] scsi 5:0:0:0: Direct-Access 
Maxtor   OneTouch II  023g PQ: 0 ANSI: 4
Feb  1 19:21:13 dt1 kernel: [ 5379.987148] sd 5:0:0:0: Attached scsi generic 
sg2 type 0
Feb  1 19:21:13 dt1 kernel: [ 5380.040401] sd 5:0:0:0: [sdb] 195813072 512-byte 
logical blocks: (100 GB/93.3 GiB)
Feb  1 19:21:13 dt1 kernel: [ 5380.094154] sd 5:0:0:0: [sdb] Write Protect is 
off
Feb  1 19:21:13 dt1 kernel: [ 5380.094159] sd 5:0:0:0: [sdb] Mode Sense: 24 00 
00 00
Feb  1 19:21:13 dt1 kernel: [ 5380.147874] sd 5:0:0:0: [sdb] Write cache: 
enabled, read cache: enabled, doesn't support DPO or FUA
Feb  1 19:21:13 dt1 kernel: [ 5380.328920]  sdb: sdb1
Feb  1 19:21:14 dt1 kernel: [ 5380.507089] sd 5:0:0:0: [sdb] 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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : 

[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-01-30 Thread Joseph Salisbury
I'm trying to reproduce this issue to gather addition data.  Can folks
affected by this bug attach the section of syslog that is generated
after attaching the external USB drive.

Specifically, I'm looking to see if the Write cache is enabled or
disabled.

For example, my syslog shows the cache is disabled:

sd 6:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't
support DPO or FUA


I see that the original bug reporter shows that the write cache is enable, so 
I'm wondering if that is required to reproduce this:
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

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-01-26 Thread brad haack
Is installing the jsalisbury test kernel the recommended fix for a user
at this time?

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-01-26 Thread kaefert
manually installing all the deb packages from
http://kernel.ubuntu.com/~jsalisbury/lp1366538/

fixes the issue for me on linux mint 17.1

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2015-01-16 Thread brad haack
Is this patch going to be incorporated soon?  I have 2 USB drive that
are useless until this is fixed.  'Importance' is more than medium for
me!

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2014-12-10 Thread Joseph Salisbury
** Tags added: kernel-da-key

-- 
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

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2014-12-10 Thread Joseph Salisbury
** Also affects: linux (Ubuntu Vivid)
   Importance: Medium
   Status: Triaged

** Also affects: linux (Ubuntu Utopic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Trusty)
   Status: New = Triaged

** Changed in: linux (Ubuntu Utopic)
   Status: New = Triaged

** Changed in: linux (Ubuntu Utopic)
   Importance: Undecided = Medium

** Changed in: linux (Ubuntu Trusty)
   Importance: Undecided = Medium

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2014-12-10 Thread RawwrBag
Hello! I found the original bug and proposed the original patch to the
kernel SCSI guys. Here's some context:

The SCSI flush command was being treated by a zero-byte write, which
means that if an error was returned, you wouldn't catch it until a
subsequent write (or flush). The way writes work is that all possible
bytes are written, and if something bad happens, an error bubbles out on
the next write attempt. This holds true even for a zero-byte write. This
means that before this bug, to guarantee durability you had to flush
twice (and verify both were error-free). I'm working on a storage
appliance that relies on the fact that a single flush command guarantees
a write made durably to a SCSI device. I'm sure many other storage
products rely on this behavior, too.

I'm not sure why certain USB drives are failing in the flush path on
unmount. Since the flush bug existed for such a long time, I suspect
certain drivers coded around this behavior, and now that it is correct
we are seeing new bugs exposed.

Based on the simplicity and obviousness of our patch for the flush bug,
it would really be ideal to diagnose this further rather than reverting.

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2014-12-10 Thread RawwrBag
The patch James shipped fixes this bug by special-casing the flush error
path. Before flush wouldn't return errors; now it does.

-- 
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2014-12-09 Thread gianluca
Joseph, your kernel works for me.

-- 
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

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2014-12-04 Thread Joseph Salisbury
** Changed in: linux (Ubuntu)
   Status: Confirmed = Triaged

-- 
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

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2014-12-04 Thread Joseph Salisbury
I built a Trusty test kernel with a revert of the commit mentioned in
comment #18.  Can you test this kernel and confirm it fixes this bug?

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1366538/


This is commit d215f91 in the Trusty repo.

-- 
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

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2014-11-29 Thread Bib
** Summary changed:

- Synchronisation/close /dev/sdi: i/o error on target host
+ Synchronisation/close /dev/sdX: i/o error on target host

-- 
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:
  Confirmed

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1366538] Re: Synchronisation/close /dev/sdX: i/o error on target host

2014-11-29 Thread Bib
Great gianluca, far better than peremtory autistic hardware error that didn't 
even take into account circumstances (trusty 64 KO vs precise 32 OK).
Thank you.

-- 
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:
  Confirmed

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp