Re: USB Storage: data transfer failing with Status code -71

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Please configure your email client to wrap long lines after about 75 
columns.

On Mon, 19 Feb 2007, Mukesh Kohli wrote:

> > After seeing the transactions by hooking analyzer in between I am seeing
> > the failure happening due to ACK not being sent by the controller in
> > response to data (512 bytes) being sent by the device. And hence reset
> > command is being issue.
> 
> ACK not being sent is a symptom, not a cause.
> 
> [Mukesh] What could be the cause. Could it be realated to some issue in
> the USB driver. Or its the issue in the hardware as described down.

Probably the cause is the hardware.  I don't think it's a problem in the
driver.

> > Linux OS version used: 2.6.11
> 
> That's pretty old.  You should try to use a more recent kernel.
> [Mukesh] Thats the one needs to be used for our customers. Will it help if I pick USB code from one of  the latest kernel  verions? 

You can't move the USB code from a new kernel back into 2.6.11; it won't 
work.  It won't even compile.

> You see that "devpath 1 ep2in 3strikes" hidden in amongst all the stuff
> you added?  It means that the EHCI controller on your computer did not
> receive the 512-byte DATA packet correctly, even though your bus analyzer
> did.  That's why the controller didn't send an ACK, and it is the real
> reason for the reset.
> 
> [Mukesh] I am seeing that some times the transfer do happen completly.

Because sometimes the hardware works correctly.

> So could there be any timinig related issue during memory allocation. I
> am trying to isolate the problem and want to rule out any issues in the
> hardware.

You should try to _fix_ the hardware, not rule it out!  These problems
have nothing to do with memory allocation or other timing issues.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.