RM2k
USB-Sticks unusable November 16, 2010 04:26PM |
causing the executed command to exit with an IO-Error and the device to disappear until "replug".Quote
[...] kernel: usb 1-1.3: reset high speed USB device using orion-ehci and address 5
[...] kernel: usb 1-1.3: device descriptor read/64, error -110
[...] kernel: usb 1-1.3: device descriptor read/64, error -110
[...] kernel: usb 1-1.3: reset high speed USB device using orion-ehci and address 5
RM2k
Re: USB-Sticks unusable November 16, 2010 04:39PM |
Nov 16 23:29:41 [...] kernel: usb 1-1.3: new high speed USB device using orion-ehci and address 6 Nov 16 23:29:41 [...] kernel: scsi3 : usb-storage 1-1.3:1.0 Nov 16 23:29:43 [...] kernel: scsi 3:0:0:0: Direct-Access OCZ RALLY2 0100 PQ: 0 ANSI: 0 CCS Nov 16 23:29:43 [...] kernel: sd 3:0:0:0: Attached scsi generic sg1 type 0 Nov 16 23:29:44 [...] kernel: sd 3:0:0:0: [sdb] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB) Nov 16 23:29:44 [...] kernel: sd 3:0:0:0: [sdb] Write Protect is off Nov 16 23:29:44 [...] kernel: sd 3:0:0:0: [sdb] Mode Sense: 4b 00 00 08 Nov 16 23:29:44 [...] kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through Nov 16 23:29:44 [...] kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through Nov 16 23:29:44 [...] kernel: sdb: sdb1 Nov 16 23:29:44 [...] kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through Nov 16 23:29:44 [...] kernel: sd 3:0:0:0: [sdb] Attached SCSI removable disk Nov 16 23:30:14 [...] kernel: usb 1-1.3: reset high speed USB device using orion-ehci and address 6 Nov 16 23:30:19 [...] kernel: usb 1-1.3: device descriptor read/64, error -32 Nov 16 23:30:19 [...] kernel: usb 1-1.3: device descriptor read/64, error -32 Nov 16 23:30:20 [...] kernel: usb 1-1.3: reset high speed USB device using orion-ehci and address 6 Nov 16 23:30:20 [...] kernel: usb 1-1.3: device descriptor read/64, error -32 Nov 16 23:30:20 [...] kernel: usb 1-1.3: device descriptor read/64, error -32 Nov 16 23:30:20 [...] kernel: usb 1-1.3: reset high speed USB device using orion-ehci and address 6 Nov 16 23:30:21 [...] kernel: usb 1-1.3: device not accepting address 6, error -32 Nov 16 23:30:21 [...] kernel: usb 1-1.3: reset high speed USB device using orion-ehci and address 6 Nov 16 23:30:21 [...] kernel: usb 1-1.3: device not accepting address 6, error -32 Nov 16 23:30:21 [...] kernel: sd 3:0:0:0: [sdb] Unhandled error code Nov 16 23:30:21 [...] kernel: sd 3:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00 Nov 16 23:30:21 [...] kernel: sd 3:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 17 1e 00 00 f0 00 Nov 16 23:30:21 [...] kernel: end_request: I/O error, dev sdb, sector 5918 Nov 16 23:30:21 [...] kernel: quiet_error: 38 callbacks suppressed Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 732 Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 733 Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 734 Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 735 Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 736 Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 737 Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 738 Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 739 Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 740 Nov 16 23:30:21 [...] kernel: Buffer I/O error on device sdb1, logical block 741 Nov 16 23:30:21 [...] kernel: usb 1-1.3: USB disconnect, address 6 Nov 16 23:30:21 [...] kernel: sd 3:0:0:0: [sdb] Unhandled error code Nov 16 23:30:21 [...] kernel: sd 3:0:0:0: [sdb] Result: hostbyte=0x01 driverbyte=0x00 Nov 16 23:30:21 [...] kernel: sd 3:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 18 0e 00 00 10 00 Nov 16 23:30:21 [...] kernel: end_request: I/O error, dev sdb, sector 6158 Nov 16 23:30:21 [...] kernel: sd 3:0:0:0: [sdb] Unhandled error code Nov 16 23:30:21 [...] kernel: sd 3:0:0:0: [sdb] Result: hostbyte=0x01 driverbyte=0x00 Nov 16 23:30:21 [...] kernel: sd 3:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 18 1e 00 00 f0 00 Nov 16 23:30:21 [...] kernel: end_request: I/O error, dev sdb, sector 6174 Nov 16 23:30:21 [...] kernel: usb 1-1.3: new high speed USB device using orion-ehci and address 7 Nov 16 23:30:21 [...] kernel: usb 1-1.3: device descriptor read/64, error -32 Nov 16 23:30:22 [...] kernel: usb 1-1.3: device descriptor read/64, error -32 Nov 16 23:30:22 [...] kernel: usb 1-1.3: new high speed USB device using orion-ehci and address 8 Nov 16 23:30:22 [...] kernel: usb 1-1.3: device descriptor read/64, error -32 Nov 16 23:30:22 [...] kernel: usb 1-1.3: device descriptor read/64, error -32 Nov 16 23:30:22 [...] kernel: usb 1-1.3: new high speed USB device using orion-ehci and address 9 Nov 16 23:30:23 [...] kernel: usb 1-1.3: device not accepting address 9, error -32 Nov 16 23:30:23 [...] kernel: usb 1-1.3: new high speed USB device using orion-ehci and address 10 Nov 16 23:30:23 [...] kernel: usb 1-1.3: device not accepting address 10, error -32 Nov 16 23:30:23 [...] kernel: hub 1-1:1.0: unable to enumerate USB device on port 3
RM2k
Re: USB-Sticks unusable December 14, 2010 03:22PM |
Re: USB-Sticks unusable December 14, 2010 04:02PM |
Registered: 13 years ago Posts: 128 |
Re: USB-Sticks unusable December 14, 2010 09:47PM |
Registered: 13 years ago Posts: 261 |
RM2k
Re: USB-Sticks unusable December 15, 2010 07:55AM |
RM2k
Re: USB-Sticks unusable December 15, 2010 01:15PM |
usb 1-1.4: reset high speed USB device using orion-ehci and address 7 usb 1-1.4: device descriptor read/64, error -110 usb 1-1.4: device descriptor read/64, error -110 usb 1-1.4: reset high speed USB device using orion-ehci and address 7 usb 1-1.4: device descriptor read/64, error -110 usb 1-1.4: device descriptor read/64, error -110 usb 1-1.4: reset high speed USB device using orion-ehci and address 7 usb 1-1.4: device not accepting address 7, error -110 usb 1-1.4: reset high speed USB device using orion-ehci and address 7 usb 1-1.4: device not accepting address 7, error -110 sd 3:0:0:0: Device offlined - not ready after error recovery usb 1-1.4: USB disconnect, address 7 sd 3:0:0:0: [sdd] Unhandled error code sd 3:0:0:0: [sdd] Result: hostbyte=0x01 driverbyte=0x00 sd 3:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 ce cf 00 00 f0 00 end_request: I/O error, dev sdd, sector 52943 sd 3:0:0:0: [sdd] Unhandled error code sd 3:0:0:0: [sdd] Result: hostbyte=0x01 driverbyte=0x00 sd 3:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 cf bf 00 00 10 00 end_request: I/O error, dev sdd, sector 53183 FAT: FAT read failed (blocknr 2566) ... FAT: FAT read failed (blocknr 2566) usb 1-1.4: new high speed USB device using orion-ehci and address 8 FAT: FAT read failed (blocknr 2566) ... FAT: FAT read failed (blocknr 2566) usb 1-1.4: device descriptor read/64, error -110 usb 1-1.4: device descriptor read/64, error -110 usb 1-1.4: new high speed USB device using orion-ehci and address 9 usb 1-1.4: device descriptor read/64, error -110 usb 1-1.4: device descriptor read/64, error -110 usb 1-1.4: new high speed USB device using orion-ehci and address 10 usb 1-1.4: device not accepting address 10, error -110 usb 1-1.4: new high speed USB device using orion-ehci and address 11OCZ:
scsi4 : usb-storage 1-1.4:1.0 scsi 4:0:0:0: Direct-Access OCZ RALLY2 0100 PQ: 0 ANSI: 0 CCS sd 4:0:0:0: Attached scsi generic sg1 type 0 sd 4:0:0:0: [sde] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB) sd 4:0:0:0: [sde] Write Protect is off sd 4:0:0:0: [sde] Mode Sense: 4b 00 00 08 sd 4:0:0:0: [sde] Assuming drive cache: write through sd 4:0:0:0: [sde] Assuming drive cache: write through sde: sde1 sd 4:0:0:0: [sde] Assuming drive cache: write through sd 4:0:0:0: [sde] Attached SCSI removable disk usb 1-1.4: reset high speed USB device using orion-ehci and address 12 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: reset high speed USB device using orion-ehci and address 12 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: reset high speed USB device using orion-ehci and address 12 usb 1-1.4: device not accepting address 12, error -32 usb 1-1.4: reset high speed USB device using orion-ehci and address 12 usb 1-1.4: device not accepting address 12, error -32 sd 4:0:0:0: [sde] Unhandled error code sd 4:0:0:0: [sde] Result: hostbyte=0x07 driverbyte=0x00 sd 4:0:0:0: [sde] CDB: cdb[0]=0x28: 28 00 00 00 81 c7 00 00 f0 00 end_request: I/O error, dev sde, sector 33223 usb 1-1.4: USB disconnect, address 12 sd 4:0:0:0: [sde] Unhandled error code sd 4:0:0:0: [sde] Result: hostbyte=0x01 driverbyte=0x00 sd 4:0:0:0: [sde] CDB: cdb[0]=0x28: 28 00 00 00 82 b7 00 00 10 00 end_request: I/O error, dev sde, sector 33463 sd 4:0:0:0: [sde] Unhandled error code sd 4:0:0:0: [sde] Result: hostbyte=0x01 driverbyte=0x00 sd 4:0:0:0: [sde] CDB: cdb[0]=0x28: 28 00 00 00 82 c7 00 00 f0 00 end_request: I/O error, dev sde, sector 33479 usb 1-1.4: new high speed USB device using orion-ehci and address 13 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: new high speed USB device using orion-ehci and address 14 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: new high speed USB device using orion-ehci and address 15 usb 1-1.4: device not accepting address 15, error -32 usb 1-1.4: new high speed USB device using orion-ehci and address 16 usb 1-1.4: device not accepting address 16, error -32 hub 1-1:1.0: unable to enumerate USB device on port 4
Re: USB-Sticks unusable December 15, 2010 03:51PM |
Registered: 13 years ago Posts: 128 |
Re: USB-Sticks unusable December 15, 2010 07:03PM |
Registered: 13 years ago Posts: 261 |
echo 20 >/sys/module/scsi_mod/parameters/inq_timeoutalternatively append the following to the kernel boot option:
scsi_mod.inq_timeout=20-PG
RM2k
Re: USB-Sticks unusable December 16, 2010 07:12AM |
usb 1-1.4: new high speed USB device using orion-ehci and address 4 scsi1 : usb-storage 1-1.4:1.0 scsi 1:0:0:0: Direct-Access OCZ RALLY2 0100 PQ: 0 ANSI: 0 CCS sd 1:0:0:0: Attached scsi generic sg1 type 0 sd 1:0:0:0: [sdb] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB) sd 1:0:0:0: [sdb] Write Protect is off sd 1:0:0:0: [sdb] Mode Sense: 4b 00 00 08 sd 1:0:0:0: [sdb] Assuming drive cache: write through sd 1:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 sd 1:0:0:0: [sdb] Assuming drive cache: write through sd 1:0:0:0: [sdb] Attached SCSI removable disk3. Mount to /media/8gb (already existing), download a testfile, md5sum it
mount /dev/sdb1 /media/8gb cd /media/8gb/ wget http://a23.g.akamai.net/7/23/2740/0002/download.macromedia.com/pub/dreamweaver/esd/Dreamweaver4TBYB.exe md5sum Dreamweaver4TBYB.exe
20ecfb3a30fe26df53fe9fc3ae288f9f Dreamweaver4TBYB.exe4. Everything okay so far. Now dismount, mount again and md5sum
cd .. umount 8gb mount /dev/sdb1 /media/8gb cd 8gb/ md5sum Dreamweaver4TBYB.exe
md5sum: Dreamweaver4TBYB.exe: Input/output error
usb 1-1.4: reset high speed USB device using orion-ehci and address 10 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: reset high speed USB device using orion-ehci and address 10 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: reset high speed USB device using orion-ehci and address 10 usb 1-1.4: device not accepting address 10, error -32 usb 1-1.4: reset high speed USB device using orion-ehci and address 10 usb 1-1.4: device not accepting address 10, error -32 sd 3:0:0:0: [sdb] Unhandled error code sd 3:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00 sd 3:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 80 47 00 00 80 00 end_request: I/O error, dev sdb, sector 32839 usb 1-1.4: USB disconnect, address 10 sd 3:0:0:0: [sdb] Unhandled error code sd 3:0:0:0: [sdb] Result: hostbyte=0x01 driverbyte=0x00 sd 3:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 80 47 00 00 08 00 end_request: I/O error, dev sdb, sector 32839 usb 1-1.4: new high speed USB device using orion-ehci and address 11 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: new high speed USB device using orion-ehci and address 12 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: device descriptor read/64, error -32 usb 1-1.4: new high speed USB device using orion-ehci and address 13 usb 1-1.4: device not accepting address 13, error -32 usb 1-1.4: new high speed USB device using orion-ehci and address 14 usb 1-1.4: device not accepting address 14, error -32 hub 1-1:1.0: unable to enumerate USB device on port 4
echo 200 > /sys/module/scsi_mod/parameters/inq_timeoutseems to help a bit, in terms of getting the error later as described above.
Re: USB-Sticks unusable December 16, 2010 08:22PM |
Registered: 13 years ago Posts: 128 |
[239042.055924] usb 1-1.3: new high speed USB device using orion-ehci and address 13 [239042.173130] usb 1-1.3: New USB device found, idVendor=1307, idProduct=0165 [239042.180141] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [239042.187600] usb 1-1.3: Product: USB Mass Storage Device [239042.192934] usb 1-1.3: Manufacturer: USBest Technology [239042.198193] usb 1-1.3: SerialNumber: 00000000001C31 [239042.205123] usb 1-1.3: configuration #1 chosen from 1 choice [239042.215139] scsi9 : SCSI emulation for USB Mass Storage devices [239042.234094] usb-storage: device found at 13 [239042.234105] usb-storage: waiting for device to settle before scanning [239047.226016] usb-storage: device scan complete [239047.226711] scsi 9:0:0:0: Direct-Access OCZ RALLY2 0.00 PQ: 0 ANSI: 2 [239047.240304] sd 9:0:0:0: [sdc] 7892040 512-byte logical blocks: (4.04 GB/3.76 GiB) [239047.264917] sd 9:0:0:0: [sdc] Write Protect is off [239047.269880] sd 9:0:0:0: [sdc] Mode Sense: 00 00 00 00 [239047.269891] sd 9:0:0:0: [sdc] Assuming drive cache: write through [239047.280644] sd 9:0:0:0: [sdc] Assuming drive cache: write through [239047.286896] sdc: [239047.672287] sd 9:0:0:0: [sdc] Assuming drive cache: write through [239047.678548] sd 9:0:0:0: [sdc] Attached SCSI removable disk rat@redstone:~$
rat@redstone:~$ sudo mount /dev/sdc1 /media/4gb [sudo] password for rat: mount: you must specify the filesystem type rat@redstone:~$ sudo mount -t vfat /dev/sdc1 /media/4gb mount: mount point /media/4gb does not exist rat@redstone:~$ cd /media rat@redstone:/media$ mkdir 4gb rat@redstone:/media$ sudo mount -t vfat /dev/sdc1 /media/4gb rat@redstone:/media$
rat@redstone:/media$ cd /media/4gb rat@redstone:/media/4gb$ ls rat@redstone:/media/4gb$ ls -la total 8 drwxr-xr-x 2 root root 4096 Dec 31 1969 . drwxr-xr-x 3 root root 4096 Dec 16 20:08 .. rat@redstone:/media/4gb$
rat@redstone:/media/4gb$ sudo wget http://a23.g.akamai.net/7/23/2740/0002/download.macromedia.com/pub/dreamweaver/esd/Dreamweaver4TBYB.exe --2010-12-16 20:12:21-- http://a23.g.akamai.net/7/23/2740/0002/download.macromedia.com/pub/dreamweaver/esd/Dreamweaver4TBYB.exe Resolving a23.g.akamai.net... 72.246.43.73, 72.246.43.58 Connecting to a23.g.akamai.net|72.246.43.73|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 25363980 (24M) [application/octet-stream] Saving to: `Dreamweaver4TBYB.exe' 100%[====================================================================================================>] 25,363,980 148K/s in 85s 2010-12-16 20:13:46 (291 KB/s) - `Dreamweaver4TBYB.exe' saved [25363980/25363980] rat@redstone:/media/4gb$ md5sum Dreamweaver4TBYB.exe 20ecfb3a30fe26df53fe9fc3ae288f9f Dreamweaver4TBYB.exe rat@redstone:/media/4gb$
rat@redstone:/media/4gb$ cd .. rat@redstone:/media$ umount 4gb umount: /media/4gb is not in the fstab (and you are not root) rat@redstone:/media$ sudo umount 4gb rat@redstone:/media$ rat@redstone:/media$ sudo mount /dev/sdc1 /media/4gb mount: you must specify the filesystem type rat@redstone:/media$ sudo mount -t vfat /dev/sdc1 /media/4gb mount: special device /dev/sdc1 does not exist
[239996.661784] sd 11:0:0:0: [sdc] Assuming drive cache: write through [239996.668129] sd 11:0:0:0: [sdc] Attached SCSI removable disk rat@redstone:/media$ sudo mount -t vfat /dev/sdc1 /media/4gb mount: special device /dev/sdc1 does not exist rat@redstone:/media$ sudo mount -t vfat /dev/sdc /media/4gb rat@redstone:/media$ cd 4gb rat@redstone:/media/4gb$ ls Dreamweaver4TBYB.exe rat@redstone:/media/4gb$ md5sum Dreamweaver4TBYB.exe 20ecfb3a30fe26df53fe9fc3ae288f9f Dreamweaver4TBYB.exe rat@redstone:/media/4gb$