From: "Bajo, Allison" <Allison.Bajo@cda.canon.com>
To: linux-hotplug@vger.kernel.org
Subject: usb-storage data transfer anomaly
Date: Thu, 21 Mar 2002 04:53:17 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-101670835213830@msgid-missing> (raw)
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
next reply other threads:[~2002-03-21 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-21 4:53 Bajo, Allison [this message]
2002-03-21 20:49 ` usb-storage data transfer anomaly Matthew Dharm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-101670835213830@msgid-missing \
--to=allison.bajo@cda.canon.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).