Re: soft lockup while copying data from a FAT usb stick and consequentFAT table corruption

From: Riccardo Magliocchetti
Date: Tue Jul 29 2008 - 16:02:57 EST


OGAWA san,

OGAWA Hirofumi wrote:
Riccardo Magliocchetti <riccardo.magliocchetti@xxxxxxxxx> writes:

Jul 24 19:03:10 eurasia kernel: [25075.616150] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jul 24 19:03:10 eurasia kernel: [25075.616153] sda: sda1
Jul 24 19:03:10 eurasia kernel: [25075.617510] sd 0:0:0:0: [sda] Attached SCSI removable disk
Jul 24 19:03:17 eurasia kernel: [25083.820927] usb 1-5: reset high speed USB device using ehci_hcd and address 2
Jul 24 19:03:19 eurasia kernel: [25085.483682] usb 1-5: reset high speed USB device using ehci_hcd and address 2
Jul 24 19:03:19 eurasia kernel: [25085.624466] sd 0:0:0:0: [sda] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
Jul 24 19:03:19 eurasia kernel: [25085.624466] end_request: I/O error, dev sda, sector 37

It seems I/O error of device. Do this device work if without FAT?
E.g. read and write to device (/dev/xxx), etc.

Looks like it's the usb port, now it doesn't even get to the point to load usb-storage. If i plug it to another port attached to the same controller it does a couple of without errors:

dd bs=4096 count=400000 if=/dev/sda1 of=/dev/null

I can mount the filesystem but i get the same (infinite?) "FAT Directory bread(block n) failed" loop. So i suppose the next thing to do is to format the pen again :)

thank you,
Riccardo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/