PDA

View Full Version : Help, USB flash doesn't work.



Mark Koshelev
26-01-2005, 21:51
What may be reason of problem with USB flash drive?
The drive is registered:
+++++++++++++++++++++++++++++++++++++
Jan 1 03:00:05 kernel: Initializing USB Mass Storage driver...
Jan 1 03:00:05 kernel: usb.c: registered new driver usb-storage
Jan 1 03:00:05 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan 1 03:00:05 kernel: Vendor: JetFlash Model: TS1GJF2B Rev: 2.00
Jan 1 03:00:05 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 03:00:05 kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Jan 1 03:00:06 kernel: sda : READ CAPACITY failed.
Jan 1 03:00:06 kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jan 1 03:00:06 kernel: Current sd00:00: sns = 70 6
Jan 1 03:00:06 kernel: ASC=28 ASCQ= 0
Jan 1 03:00:06 kernel: Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00
Jan 1 03:00:06 kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jan 1 03:00:06 kernel: Partition check:
Jan 1 03:00:06 kernel: p1 p2 p3 p4
Jan 1 03:00:06 kernel: USB Mass Storage support registered.
+++++++++++++++++++++++++++++++++++
but I cannot access to it through ftp.
ftp 192.168.0.1 from pc gives:
+++++++++++++++++++++++++++++++++++
Jan 27 00:42:25 kernel: usb_control/bulk_msg: timeout
Jan 27 00:42:30 kernel: usb_control/bulk_msg: timeout
Jan 27 00:42:35 kernel: usb_control/bulk_msg: timeout
Jan 27 00:42:40 kernel: usb_control/bulk_msg: timeout
Jan 27 00:42:45 kernel: usb_control/bulk_msg: timeout
Jan 27 00:42:50 kernel: usb-storage: host_reset() requested but not implemented
Jan 27 00:43:00 kernel: scsi: device set offline - command error recover failed: host 0 channel 0 id 0 lun 0
Jan 27 00:43:00 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 6050000
Jan 27 00:43:00 kernel: I/O error: dev 08:01, sector 2
Jan 27 00:43:00 kernel: EXT3-fs: unable to read superblock

RoofCat
12-02-2005, 11:47
Same story with my FlashDrive (Transcend USB 2.0 JetFlash 256 MB) Errors in syslog slightly different (see below). Firmware is custom 1.9.2.7 CR3c

Is it fatal? - I mean it is better to change stick - or am I doing smthg wrong?

Regards,
Roofcat



Jan 1 03:02:59 kernel: Initializing USB Mass Storage driver...
Jan 1 03:02:59 kernel: usb.c: registered new driver usb-storage
Jan 1 03:02:59 kernel: USB Mass Storage support registered.
SSH exited
Jan 1 03:03:15 kernel: hub.c: new USB device 00:04.0-1, assigned address 2
Jan 1 03:03:16 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan 1 03:03:16 kernel: Vendor: JetFlash Model: TS256MJF2B Rev: 2.00
Jan 1 03:03:16 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 03:03:16 kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Jan 1 03:03:16 kernel: SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
Jan 1 03:03:16 kernel: sda: Write Protect is off
Jan 1 03:03:16 kernel: Partition check:
Jan 1 03:03:16 kernel: p1 p2 p3 p4
[... pppd complains skipped...]
Jan 1 03:03:52 kernel: usb_control/bulk_msg: timeout
[...more pppd complains skipped...]
Jan 1 03:04:07 kernel: usb_control/bulk_msg: timeout
Jan 1 03:04:12 kernel: usb_control/bulk_msg: timeout
Jan 1 03:04:17 kernel: usb_control/bulk_msg: timeout
Jan 1 03:04:22 kernel: usb_control/bulk_msg: timeout
Jan 1 03:04:27 kernel: usb_control/bulk_msg: timeout
Jan 1 03:04:32 kernel: usb_control/bulk_msg: timeout
Jan 1 03:04:37 kernel: usb_control/bulk_msg: timeout
Jan 1 03:04:42 kernel: usb-storage: host_reset() requested but not implemented
Jan 1 03:04:52 kernel: scsi: device set offline - command error recover failed: host 0 channel 0 id 0 lun 0
Jan 1 03:04:52 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 6050000
Jan 1 03:04:52 kernel: I/O error: dev 08:01, sector 2
Jan 1 03:04:52 kernel: EXT3-fs: unable to read superblock
[...Later, after connecting and syncing time...]
ed.
Feb 12 13:55:13 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Feb 12 13:55:13 kernel: I/O error: dev 08:00, sector 0
Feb 12 13:55:16 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Feb 12 13:55:16 kernel: I/O error: dev 08:00, sector 0
Feb 12 13:55:35 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Feb 12 13:55:35 kernel: I/O error: dev 08:00, sector 0
Feb 12 13:55:59 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Feb 12 13:55:59 kernel: I/O error: dev 08:00, sector 0
Feb 12 13:56:01 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Feb 12 13:56:01 kernel: I/O error: dev 08:00, sector 0
Feb 12 14:11:34 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Feb 12 14:11:34 kernel: I/O error: dev 08:00, sector 0
Feb 12 14:12:02 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Feb 12 14:12:02 kernel: I/O error: dev 08:00, sector 0
Feb 12 14:12:22 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Feb 12 14:12:22 kernel: I/O error: dev 08:00, sector 0
Feb 12 14:12:45 kernel: usb.c: USB disconnect on device 00:04.0-1 address 2

majx
12-02-2005, 12:02
Did you enable "ftp-server" ?
had a similar prob caused by a disabled one.
enabled it, rebooted and it worked

Oleg
12-02-2005, 18:15
Same story with my FlashDrive (Transcend USB 2.0 JetFlash 256 MB) Errors in syslog slightly different (see below). Firmware is custom 1.9.2.7 CR3c

Is it fatal? - I mean it is better to change stick - or am I doing smthg wrong?

Regards,
Roofcat


Well, looks like some incompatibility (probably due to ancient kernel). Replacing the stick with USB 1.1 one should help, also sticks from other vendors could also work.

wiz
12-02-2005, 18:28
Hook that stick up to a windows machine and reformat it, it might be a corrupted fat table or something stupid like that.