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

Riccardo Magliocchetti
2008-07-29T20:02:56Z

OGAWA san,

OGAWA Hirofumi wrote:
> Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> 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