On Fri, 25 Aug 2006, Anton Litvinov wrote:

> >
> > It looks like some driver is crashing the device.  Please turn on
> > CONFIG_USB_STORAGE_DEBUG, rebuild usb-storage, and post the resulting
> > dmesg log.  That ought to pinpoint the offending command.
> >
> > Alan Stern
> 
> 
> Hello
> This is new dmesg log:

Here is the only command that caused an error:

> usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes)
> usb-storage:  1e 00 00 00 01 00
> usb-storage: Bulk Command S 0x43425355 T 0x8 L 0 F 0 Trg 0 LUN 0 CL 6
> usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
> usb-storage: Status code 0; transferred 31/31
> usb-storage: -- transfer complete
> usb-storage: Bulk command transfer result=0
> usb-storage: Attempting to get CSW...
> usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
> usb-storage: Status code 0; transferred 13/13
> usb-storage: -- transfer complete
> usb-storage: Bulk status result = 0
> usb-storage: Bulk Status S 0x53425355 T 0x8 R 0 Stat 0x1
> usb-storage: -- transport indicates command failure

So I'll guess the device doesn't like this command.  The patch below will 
prevent Linux from sending that command.  Let us know if it helps.

Alan Stern


Index: usb-2.6/drivers/usb/storage/unusual_devs.h
===================================================================
--- usb-2.6.orig/drivers/usb/storage/unusual_devs.h
+++ usb-2.6/drivers/usb/storage/unusual_devs.h
@@ -1281,6 +1281,13 @@ UNUSUAL_DEV(  0x1370, 0x6828, 0x0110, 0x
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_IGNORE_RESIDUE ),
 
+/* Reported by Anton Litvinov <[EMAIL PROTECTED]> */
+UNUSUAL_DEV(  0x13fe, 0x1a21, 0x0100, 0x0100,
+               "Patriot",
+               "USB DISK Pro",
+               US_SC_DEVICE, US_PR_DEVICE, NULL,
+               US_FL_NOT_LOCKABLE ),
+
 /* patch submitted by Davide Perini <[EMAIL PROTECTED]>
  * and Renato Perini <[EMAIL PROTECTED]>
  */


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to