Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an essential installation of ubuntu 12.04 server that, after some days of working perfectly, stopped reading correctly any USB sticks (with regular FAT32 FS).

Dmesg reports I/O errors on sdb device on various logical blocks.

The drives work if I open them under Windows.

Here's the output of the dmesg command

[14359.180040] usb 1-1: new high-speed USB device number 11 using ehci-pci
[14359.314241] usb 1-1: New USB device found, idVendor=125f, idProduct=c81a
[14359.314252] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14359.314259] usb 1-1: Product: A-DATA USB Flash Drive
[14359.314264] usb 1-1: Manufacturer: A-DATA
[14359.314270] usb 1-1: SerialNumber: 05b451e4811710
[14359.387730] usb-storage 1-1:1.0: USB Mass Storage device detected
[14359.388468] scsi2 : usb-storage 1-1:1.0
[14359.388761] usbcore: registered new interface driver usb-storage
[14360.389055] scsi 2:0:0:0: Direct-Access     A-DATA   USB Flash Drive  0.00 PQ: 0    ANSI: 2
[14360.389857] sd 2:0:0:0: Attached scsi generic sg1 type 0
[14360.394442] sd 2:0:0:0: [sdb] 15771759 512-byte logical blocks: (8.07 GB/7.52 GiB)
[14360.395199] sd 2:0:0:0: [sdb] Write Protect is off
[14360.395226] sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00
[14360.395899] sd 2:0:0:0: [sdb] Asking for cache data failed
[14360.396074] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[14391.120049] usb 1-1: reset high-speed USB device number 11 using ehci-pci
[14391.258646] sd 2:0:0:0: [sdb] Asking for cache data failed
[14391.258767] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[14422.096053] usb 1-1: reset high-speed USB device number 11 using ehci-pci
[14422.812566]  sdb: sdb1
[14423.418535] sd 2:0:0:0: [sdb] Asking for cache data failed
[14423.418676] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[14423.418810] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[14442.923044] usb 1-1: USB disconnect, device number 11
[14442.932079] sd 2:0:0:0: [sdb] Unhandled error code
[14442.932094] sd 2:0:0:0: [sdb]  
[14442.932102] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14442.932110] sd 2:0:0:0: [sdb] CDB: 
[14442.932114] Read(10): 28 00 00 f0 a8 67 00 00 01 00
[14442.932136] end_request: I/O error, dev sdb, sector 15771751
[14442.932259] Buffer I/O error on device sdb, logical block 15771751
[14442.933569] Buffer I/O error on device sdb, logical block 63
[14442.933742] Buffer I/O error on device sdb, logical block 63
[14442.933936] Buffer I/O error on device sdb, logical block 63
[14442.934132] Buffer I/O error on device sdb, logical block 63
[14442.934325] Buffer I/O error on device sdb, logical block 63 
[14442.934515] Buffer I/O error on device sdb, logical block 63
[14442.934701] Buffer I/O error on device sdb, logical block 63
[14442.934878] Buffer I/O error on device sdb, logical block 120
[14442.935031] Buffer I/O error on device sdb, logical block 121
share|improve this question
    
Can you provide more information? Can you post the dmesg errors? How is the USB drive formatted (filesystem)? What exactly do you mean by "reading correctly"? –  BelfryGhost May 11 at 12:42
    
Please post the output of for dmesg command.. or may be its easier to capture using dmesg | tail while removing and inserting back the USB –  AzkerM May 11 at 12:43
    
I've added the dmesg output as requested. The kernel continues outputing logical block errors until the usb key is removed. –  Mutewinter May 12 at 13:09
    
What is the file format on the USB disk drive??? –  AzkerM May 13 at 5:09
    
file format? if you mean filesystem it's plain old FAT32 (added to the question), if you mean "which is the format of the files on the sticks?" it varies, but nothing special (they may have netcdf files, some c++ programs (.c) and some documents (doc/pdf)). –  Mutewinter May 13 at 12:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.