On Tue, 23 Aug 2005, craig qu wrote: > Alan, > > I dumpped out those 13-byte long packets and found out > that most of the status byte is 0x00, 0x08 and 0x80. I > treated 0x08 and 0x80 as valid status as a work > around, then I am able to read the partition table, > mount the device and copy a small file(~5 MB). > However, when copy a bigger file, usb bus got reset > and copy process failed.
Either the device really is sending those 0x08 and 0x80 bytes, or else your HCD is reporting the data wrongly. If the device is sending them then the device is broken. If the device isn't sending them but your HCD reports them then the HCD is broken. > Any suggestions? Find out why the reset took place and fix the cause. > Thanks, > --Craig > > len=0xd actual length=0xd status=0x0 > 55 53 42 53 02 05 00 00 00 00 00 00 00 > len=0xd actual length=0x0 status=0xffffff7d > len=0xd actual length=0x0 status=0xffffff7d > usb_set_addr dev=0x91242000 pipe=0x80000000 devnum=0x2 > len=0xd actual length=0x0 status=0xffffff7d I don't know what those messages are supposed to mean. Are those status values the error codes from your HCD? What does 0xffffff7d = -131 = -EUNRECOVERABLE mean? > scsi: device set offline - not ready or command retry > failed after bus reset: > host 0 channel 0 id 0 lun 0 > SCSI disk error : host 0 channel 0 id 0 lun 0 return > code = 50000 > I/O error: dev 08:01, sector 284394 > I/O error: dev 08:01, sector 284396 > I/O error: dev 08:01, sector 284648 Apparently changing the driver to accept those status codes wasn't enough to make it start working. How do you expect me to help if you don't supply the debugging log? Alan Stern ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel