Hi,

I'm currently trying to get my Freecom 64MB stick to work with my
embedded board. The device id reports as:

  idVendor           0x0c76
  idProduct          0x0005

Which doesn't actually match the Freecom devices listed on
linux-usb.org's compatibility list (but matches a number of other flash
storage devices).

I can mount the disk and read files already there but if I try and store
files it fails (sometime corrupting the filesystem). It seems that at
least some of the WRITE_CMD's are failing (see attached log). If I could
ask a few questions of the more knowledgeable usb hackers:

1. Could this a transport problem? I'm using a hacked up version of the
ISP116x driver which seems to work in all other respects. Do the
WRITE_CMD's and READ_CMD's use the same low level USB transport?

2. Could this be a protocol problem? I googled for the device ID and saw
several patches floating about from last year that added unusual_devs
entries. The changes for this device don't seem to exist in the latest
tree's (I'm currently on 2.4.22). Where they bogus changes or did they
conflict with other devices?

3. Does anything sptring out of the attached log? I can see the -110
failures on the commands but basically I understand none of the details.
If someone could at least point to a protocol vs transport problem I'd
be flying a little less blind :-)

usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 00 00 04 24 00 00 01 00 13 c0
usb-storage: Bulk command S 0x43425355 T 0x13 Trg 0 LUN 0 L 512 F 128 CL
10
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 512 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 512/512
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x13 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command WRITE_10 (10 bytes)
usb-storage: 2a 00 00 00 07 fa 00 00 01 00 13 c0
usb-storage: Bulk command S 0x43425355 T 0x14 Trg 0 LUN 0 L 512 F 0 CL
10
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 512 bytes
usb-storage: usb_stor_bulk_msg() returned -110 xferred 128/512
usb-storage: usb_stor_transfer_partial(): device NAKed
usb-storage: Bulk data transfer result 0x2
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = -110
usb-storage: -- transport indicates error, resetting
usb-storage: Bulk reset requested
usb-storage: Bulk soft reset failed -110
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command WRITE_10 (10 bytes)
usb-storage: 2a 00 00 00 07 fa 00 00 01 00 13 c0
usb-storage: Bulk command S 0x43425355 T 0x15 Trg 0 LUN 0 L 512 F 0 CL
10
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 512 bytes
usb-storage: usb_stor_bulk_msg() returned -110 xferred 448/512
usb-storage: usb_stor_transfer_partial(): device NAKed
usb-storage: Bulk data transfer result 0x2
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = -110
usb-storage: -- transport indicates error, resetting
usb-storage: Bulk reset requested
usb-storage: Bulk soft reset failed -110
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command WRITE_10 (10 bytes)
usb-storage: 2a 00 00 00 07 fa 00 00 01 00 13 c0
usb-storage: Bulk command S 0x43425355 T 0x16 Trg 0 LUN 0 L 512 F 0 CL
10
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 512 bytes
usb-storage: usb_stor_bulk_msg() returned -110 xferred 0/512
usb-storage: usb_stor_transfer_partial(): device NAKed
usb-storage: Bulk data transfer result 0x2
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = -110
usb-storage: -- transport indicates error, resetting
usb-storage: Bulk reset requested
usb-storage: Bulk soft reset failed -110
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command WRITE_10 (10 bytes)
usb-storage: 2a 00 00 00 07 fa 00 00 01 00 13 c0
usb-storage: Bulk command S 0x43425355 T 0x17 Trg 0 LUN 0 L 512 F 0 CL
10
usb-storage: Bulk command transfer result=-110
usb-storage: -- transport indicates error, resetting
usb-storage: Bulk reset requested
usb-storage: Bulk soft reset failed -110
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command WRITE_10 (10 bytes)
usb-storage: 2a 00 00 00 07 fa 00 00 01 00 13 c0
usb-storage: Bulk command S 0x43425355 T 0x18 Trg 0 LUN 0 L 512 F 0 CL
10
usb-storage: Bulk command transfer result=-110
usb-storage: -- transport indicates error, resetting
usb-storage: Bulk reset requested
usb-storage: Bulk soft reset failed -110
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
 I/O error: dev 08:01, sector 2000


-- 
Alex, homepage: http://www.bennee.com/~alex/
Live free or die.



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to