From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bajo, Allison" Date: Thu, 21 Mar 2002 04:53:17 +0000 Subject: usb-storage data transfer anomaly Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I was debugging 2.4.19-pre3 using a SanDisk SDDR-31 CF Card Reader when I observed the following behavior: 1. The device (SDDR-31) was intermittently disconnected by the hub and then reconnected even though the device was present all the time. The trigger for this event was plugging in a CF card into the reader. 2. As a result of (1), I receive a CSW from a previous CBW before the disconnect and reconnect in (1). 3. When usb_stor_Bulk_transport ( ) returns with a USB_STOR_TRANPORT_ERROR, usb_stor_invoke_transport ( ) tries to reset the device but fails on the reset. 4. Any subsequent CBW and CSW pair will be skewed. The CBW will receive the CSW of a previous CBW. At this point it is not recoverable except a reboot. Example traffic: CBW 0 CSW 0 Disconnect Reconnect CBW 1 CSW 0 CBW 2 CSW 1 ... I think you get the picture. Any ideas. - Allison B _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel