I/O error on loop device during booting up while HDD is healthy(12.04,wubi)

Asked by id_ima

A month ago I've noticed strange booting slowdown of Ubuntu Precise installed in my HP Pavilion DV6 in Win7 partition with wubi. Now it happens too frequently. Also I noticed that notebook shutted down to fast.
Sometimes after successfully logging in I see read-only mounted root filesystem and after that I have to restart from Live-USB and to do fsck of loop device (/dev/loop0 -> /host/ubuntu/disks/root.disk).
I looked In dmesg and saw "I/O error" messages:

[ 6.753514] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 6.756031] sdb: sdb1 sdb2 < sdb5 >
[ 6.759761] sd 6:0:0:0: [sdb] No Caching mode page present
[ 6.759772] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 6.759781] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 7.461819] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[ 11.663126] ata1.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x0
[ 11.663138] ata1.00: irq_stat 0x40000008
[ 11.663145] ata1.00: failed command: READ FPDMA QUEUED
[ 11.663157] ata1.00: cmd 60/00:08:30:6d:0f/01:00:19:00:00/40 tag 1 ncq 131072 in
[ 11.663158] res 41/40:00:69:6d:0f/00:00:19:00:00/40 Emask 0x409 (media error) <F>
[ 11.663172] ata1.00: status: { DRDY ERR }
[ 11.663177] ata1.00: error: { UNC }
[ 22.695770] end_request: I/O error, dev sda, sector 420441449
[ 22.695777] Buffer I/O error on device sda2, logical block 52503981
[ 22.695784] Buffer I/O error on device sda2, logical block 52503982
[ 22.695791] Buffer I/O error on device sda2, logical block 52503983
[ 22.695798] Buffer I/O error on device sda2, logical block 52503984
[ 22.695804] Buffer I/O error on device sda2, logical block 52503985

Lookes like the hard disk will be dead soon and I started to find money to buy new HDD. I booted with SysRescueCD and tried to check loop-device with fsck -c. But there we NO errors. I've checked it twice. Hard disk is not guilty. May be unclean shutdown of (loop-)mounted filesystem corrupts the underlying storage layout ? I don't know

Question information

English Edit question
Wubi Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
bcbc (bcbc) said :

You could also run a "chkdsk /r" from Windows to see what it comes up with. It's supposed to check for bad blocks.

Warning... chkdsk may remove the root.disk if it thinks it's corrupt or cannot recover it (sometimes just to a \found.000 folder, but not always) so it's a good idea to backup important data first.

If you go to the Disk Utility in Ubuntu it should also report bad sectors if the disk has SMART data

Revision history for this message
id_ima (id-ima) said :

Checking windows filesystem with chkdisk /r shows that there ara no any I/O errors. Also I successfully copied root.disk image to another directory.

Can you help with this problem?

Provide an answer of your own, or ask id_ima for more information if necessary.

To post a message you must log in.