SDB1 is the boot drive and SDC is what the troublesome drive started as
Ignore the message about SDB1 being incorrectly unmounted, I pulled it from a Windows PC that did not have quick removal enabled last time. I didnt know that untill windows said unabled to read $MFT. That is not the drive in question and has no problems, even though I will FSCK it to make sure it dosent have problems in the future.
EDIT: Happened agasin, this thime the error is clearly shown.
Code: Select all
[14454.719140] FAT-fs (sde): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[14593.266293] usb 1-2.2: USB disconnect, device number 11
[14593.268755] sd 10:0:0:0: [sde] Unhandled error code
[14593.268763] sd 10:0:0:0: [sde]
[14593.268766] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14593.268771] sd 10:0:0:0: [sde] CDB:
[14593.268774] Write(10): 2a 00 02 80 b4 8a 00 00 f0 00
[14593.268786] end_request: I/O error, dev sde, sector 41989258
[14593.269729] sd 10:0:0:0: [sde] Unhandled error code
[14593.269735] sd 10:0:0:0: [sde]
[14593.269738] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14593.269741] sd 10:0:0:0: [sde] CDB:
[14593.269743] Write(10): 2a 00 02 80 b5 7a 00 00 f0 00
[14593.269754] end_request: I/O error, dev sde, sector 41989498
[14593.299929] FAT-fs (sde): FAT read failed (blocknr 2596)
[14593.299957] FAT-fs (sde): FAT read failed (blocknr 2593)
[14593.548765] usb 1-2.2: new high-speed USB device number 12 using ehci-pci
[14593.647854] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[14593.647862] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14593.647867] usb 1-2.2: Product: Mass Storage Device
[14593.647871] usb 1-2.2: Manufacturer: JetFlash
[14593.647875] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[14593.649344] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[14593.650924] scsi11 : usb-storage 1-2.2:1.0
[14595.301130] scsi 11:0:0:0: Direct-Access JetFlash Transcend 32GB 1100 PQ: 0 ANSI: 4
[14595.303217] sd 11:0:0:0: [sdf] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[14595.304001] sd 11:0:0:0: [sdf] Write Protect is off
[14595.304011] sd 11:0:0:0: [sdf] Mode Sense: 43 00 00 00
[14595.304734] sd 11:0:0:0: [sdf] No Caching mode page present
[14595.304742] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[14595.309364] sd 11:0:0:0: [sdf] No Caching mode page present
[14595.309373] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[14595.310745] sdf:
[14595.313880] sd 11:0:0:0: [sdf] No Caching mode page present
[14595.313888] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[14595.314472] sd 11:0:0:0: [sdf] Attached SCSI removable disk
[14601.660195] FAT-fs (sdf): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
It appears to be some kind of unhandled hardware exception/error.
I can reproduce this error as many times as I want by writing a huge stream of data to the drive. After typing $cat /dev/urandom > /mnt/sde/random.data it fails ithin seconds. Maybe the flash menory really is going bad or the controller chip on the drive is. I will repeat this to see if I get consistant results.
Code: Select all
[14623.371936] FAT-fs (sde): bread failed in fat_clusters_flush
[14623.371954] FAT-fs (sde): unable to read inode block for updating (i_pos 124393)
[14923.099418] usb 1-2.2: USB disconnect, device number 12
[14923.105252] sd 11:0:0:0: [sdf] Unhandled error code
[14923.105260] sd 11:0:0:0: [sdf]
[14923.105264] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14923.105268] sd 11:0:0:0: [sdf] CDB:
[14923.105270] Write(10): 2a 00 02 81 45 aa 00 00 f0 00
[14923.105283] end_request: I/O error, dev sdf, sector 42026410
[14923.107584] sd 11:0:0:0: [sdf] Unhandled error code
[14923.107592] sd 11:0:0:0: [sdf]
[14923.107595] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14923.107599] sd 11:0:0:0: [sdf] CDB:
[14923.107602] Write(10): 2a 00 02 81 46 9a 00 00 f0 00
[14923.107614] end_request: I/O error, dev sdf, sector 42026650
[14923.168813] FAT-fs (sdf): FAT read failed (blocknr 2599)
[14923.168841] FAT-fs (sdf): FAT read failed (blocknr 2593)
[14923.382015] usb 1-2.2: new high-speed USB device number 13 using ehci-pci
[14923.480355] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[14923.480363] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14923.480368] usb 1-2.2: Product: Mass Storage Device
[14923.480372] usb 1-2.2: Manufacturer: JetFlash
[14923.480376] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[14923.481571] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[14923.483048] scsi12 : usb-storage 1-2.2:1.0
[14925.134999] scsi 12:0:0:0: Direct-Access JetFlash Transcend 32GB 1100 PQ: 0 ANSI: 4
[14925.137350] sd 12:0:0:0: [sdg] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[14925.138108] sd 12:0:0:0: [sdg] Write Protect is off
[14925.138117] sd 12:0:0:0: [sdg] Mode Sense: 43 00 00 00
[14925.138853] sd 12:0:0:0: [sdg] No Caching mode page present
[14925.138859] sd 12:0:0:0: [sdg] Assuming drive cache: write through
[14925.143783] sd 12:0:0:0: [sdg] No Caching mode page present
[14925.143792] sd 12:0:0:0: [sdg] Assuming drive cache: write through
[14925.146378] sdg:
[14925.149478] sd 12:0:0:0: [sdg] No Caching mode page present
[14925.149487] sd 12:0:0:0: [sdg] Assuming drive cache: write through
[14925.150106] sd 12:0:0:0: [sdg] Attached SCSI removable disk
Code: Select all
[14990.192729] usb 1-2.2: USB disconnect, device number 13
[14990.194967] sd 12:0:0:0: [sdg] Unhandled error code
[14990.194977] sd 12:0:0:0: [sdg]
[14990.194980] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14990.194984] sd 12:0:0:0: [sdg] CDB:
[14990.194987] Write(10): 2a 00 02 82 01 1a 00 00 f0 00
[14990.194999] end_request: I/O error, dev sdg, sector 42074394
[14990.195679] sd 12:0:0:0: [sdg] Unhandled error code
[14990.195684] sd 12:0:0:0: [sdg]
[14990.195687] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14990.195691] sd 12:0:0:0: [sdg] CDB:
[14990.195693] Write(10): 2a 00 02 82 02 0a 00 00 f0 00
[14990.195703] end_request: I/O error, dev sdg, sector 42074634
[14990.199775] FAT-fs (sdg): unable to read inode block for updating (i_pos 124393)
[14990.249503] FAT-fs (sdg): FAT read failed (blocknr 2600)
[14990.249534] FAT-fs (sdg): FAT read failed (blocknr 2598)
[14990.478694] usb 1-2.2: new high-speed USB device number 14 using ehci-pci
[14990.577040] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[14990.577048] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14990.577053] usb 1-2.2: Product: Mass Storage Device
[14990.577057] usb 1-2.2: Manufacturer: JetFlash
[14990.577061] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[14990.578248] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[14990.579944] scsi13 : usb-storage 1-2.2:1.0
[14992.241056] scsi 13:0:0:0: Direct-Access JetFlash Transcend 32GB 1100 PQ: 0 ANSI: 4
[14992.246961] sd 13:0:0:0: [sdh] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[14992.259924] sd 13:0:0:0: [sdh] Write Protect is off
[14992.259933] sd 13:0:0:0: [sdh] Mode Sense: 43 00 00 00
[14992.265439] sd 13:0:0:0: [sdh] No Caching mode page present
[14992.265445] sd 13:0:0:0: [sdh] Assuming drive cache: write through
[14992.279662] sd 13:0:0:0: [sdh] No Caching mode page present
[14992.279671] sd 13:0:0:0: [sdh] Assuming drive cache: write through
[14992.281069] sdh:
[14992.284487] sd 13:0:0:0: [sdh] No Caching mode page present
[14992.284495] sd 13:0:0:0: [sdh] Assuming drive cache: write through
[14992.285802] sd 13:0:0:0: [sdh] Attached SCSI removable disk
[15020.318556] FAT-fs (sdg): bread failed in fat_clusters_flush
[15020.318578] FAT-fs (sdg): unable to read inode block for updating (i_pos 124393)
[15022.321716] FAT-fs (sdg): FAT read failed (blocknr 2598)
[15022.340947] FAT-fs (sdg): FAT read failed (blocknr 2600)
Code: Select all
[15020.318556] FAT-fs (sdg): bread failed in fat_clusters_flush
[15020.318578] FAT-fs (sdg): unable to read inode block for updating (i_pos 124393)
[15022.321716] FAT-fs (sdg): FAT read failed (blocknr 2598)
[15022.340947] FAT-fs (sdg): FAT read failed (blocknr 2600)
[15052.398546] FAT-fs (sdg): unable to read inode block for updating (i_pos 124393)
[15052.398556] FAT-fs (sdg): bread failed in fat_clusters_flush
[15216.474122] usb 1-2.2: USB disconnect, device number 14
[15219.745338] usb 1-2.2: new high-speed USB device number 15 using ehci-pci
[15219.843686] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[15219.843694] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15219.843699] usb 1-2.2: Product: Mass Storage Device
[15219.843703] usb 1-2.2: Manufacturer: JetFlash
[15219.843707] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[15219.844942] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[15219.846392] scsi14 : usb-storage 1-2.2:1.0
[15221.506084] scsi 14:0:0:0: Direct-Access JetFlash Transcend 32GB 1100 PQ: 0 ANSI: 4
[15221.508046] sd 14:0:0:0: [sdh] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[15221.508807] sd 14:0:0:0: [sdh] Write Protect is off
[15221.508814] sd 14:0:0:0: [sdh] Mode Sense: 43 00 00 00
[15221.509564] sd 14:0:0:0: [sdh] No Caching mode page present
[15221.509572] sd 14:0:0:0: [sdh] Assuming drive cache: write through
[15221.516674] sd 14:0:0:0: [sdh] No Caching mode page present
[15221.516682] sd 14:0:0:0: [sdh] Assuming drive cache: write through
[15221.518225] sdh:
[15221.521184] sd 14:0:0:0: [sdh] No Caching mode page present
[15221.521192] sd 14:0:0:0: [sdh] Assuming drive cache: write through
[15221.521790] sd 14:0:0:0: [sdh] Attached SCSI removable disk
[15228.204236] FAT-fs (sdh): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[15241.256118] usb 1-2.2: USB disconnect, device number 15
[15241.258353] sd 14:0:0:0: [sdh] Unhandled error code
[15241.258363] sd 14:0:0:0: [sdh]
[15241.258366] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[15241.258370] sd 14:0:0:0: [sdh] CDB:
[15241.258373] Write(10): 2a 00 02 82 32 ca 00 00 f0 00
[15241.258385] end_request: I/O error, dev sdh, sector 42087114
[15241.261756] sd 14:0:0:0: [sdh] Unhandled error code
[15241.261765] sd 14:0:0:0: [sdh]
[15241.261769] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[15241.261773] sd 14:0:0:0: [sdh] CDB:
[15241.261776] Write(10): 2a 00 02 82 33 ba 00 00 f0 00
[15241.261788] end_request: I/O error, dev sdh, sector 42087354
[15241.263842] FAT-fs (sdh): unable to read inode block for updating (i_pos 124393)
[15241.323887] FAT-fs (sdh): FAT read failed (blocknr 2601)
[15241.323915] FAT-fs (sdh): FAT read failed (blocknr 2598)
[15241.515335] usb 1-2.2: new high-speed USB device number 16 using ehci-pci
[15241.613680] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[15241.613688] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15241.613693] usb 1-2.2: Product: Mass Storage Device
[15241.613698] usb 1-2.2: Manufacturer: JetFlash
[15241.613702] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[15241.614883] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[15241.616344] scsi15 : usb-storage 1-2.2:1.0
[15243.263948] scsi 15:0:0:0: Direct-Access JetFlash Transcend 32GB 1100 PQ: 0 ANSI: 4
[15243.266052] sd 15:0:0:0: [sdi] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[15243.266807] sd 15:0:0:0: [sdi] Write Protect is off
[15243.266816] sd 15:0:0:0: [sdi] Mode Sense: 43 00 00 00
[15243.267557] sd 15:0:0:0: [sdi] No Caching mode page present
[15243.267564] sd 15:0:0:0: [sdi] Assuming drive cache: write through
[15243.273103] sd 15:0:0:0: [sdi] No Caching mode page present
[15243.273111] sd 15:0:0:0: [sdi] Assuming drive cache: write through
[15243.274784] sdi:
[15243.277809] sd 15:0:0:0: [sdi] No Caching mode page present
[15243.277818] sd 15:0:0:0: [sdi] Assuming drive cache: write through
[15243.278426] sd 15:0:0:0: [sdi] Attached SCSI removable disk
#
Yep, every time,, now I have a predictable error, I will see what you think of the kernel messages, because I cant make anything of them other than a unhandled error that the driver is unable to recover from. HAs something to do with being unable to flush the cache to disk.
I can write data from urandom to any other drive, even ones plugged into the hub without a error, clearly the Flash drive is to blame, and Windows must handle the error better than Linux for some reason. Funny Windows is able to recover from a error better than Linux, thats a first LOL.