[Bug 1366538] Re: Synchronisation/close /dev/sdi: i/o error on target host
Martien
sbtsnlag at xs4all.nl
Mon Nov 3 11:08:09 UTC 2014
Please remove the "Invalid" status from this ticket. I can confirm that
this is a linux kernel issue. This happened to me:
1) Attached a external USB harddrive (an 'oldie': the Lacie 250GB) to PC running Ubuntu 14.04.1 with latest kernel update installed.
2) Formatted the harddrive to ext4, already seeing "end_request: critical target error, dev sdX, sector 0" kernel messages.
3) Installed Ubuntu 14.04.1 to the USB harddrive (by booting the Ubuntu 14.04.1 live installer from a USB stick).
4) Booted from the USB harddrive - no problems at all.
5) Updated ONLY the linux-* packages of the Ubuntu running on the USB harddrive.
6) Rebooted the USB harddrive (which auto-selects the latest kernel version in grub), and the filesystem got completely corruppted.
Please note that a VFAT filesystem doesn't get corrupted, but the
"end_request: critical target error, dev sdX, sector 0" messages also
appear in the syslog.
Also tested the following:
1) Ubuntu 14.10 - same issue.
2) openSUSE 13.2 Factory (latest live version) - same issue.
Searching the internet showed that other distributions have the same issue, e.g.:
- Raspberry Pi: https://github.com/raspberrypi/linux/issues/703
- Ubuntu 14.04: http://unix.stackexchange.com/questions/156704/cannot-mount-fresh-partition-twice
- Ubuntu 14.04: with kernel version .35: Bug #1368299
- Xubuntu 14.04: http://ubuntuforums.org/showthread.php?t=2243515
- I also came accros Arch-Linux and Debian-Linux pages describing the same error, but can't find them atm, sorry for that.
If you need more details, please let me know, I will be happy to provide
them.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1366538
Title:
Synchronisation/close /dev/sdi: i/o error on target host
Status in “parted” package in Ubuntu:
Invalid
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/parted/+bug/1366538/+subscriptions
More information about the foundations-bugs
mailing list