On Mon, 27 Jun 2005, Dag Nygren wrote: > Well, I just checked a bit more and it seems like the OHCI device has already > tried 3 times before it reports a failure. What is interesting though is that > the OHCI > specs states that a field called ErrorCount in the should be initialized to 0 > by the > host driver when the General TD is queued and I haven't been able to locate > this > in the code so far. This ErrorCount is what the hardware use as the counter > of > how > many retries we had so far.
I would guess that it is initialized to 0 along with everything else in the TD at the time the memory for the TD is allocated and cleared. > > > Additionally there really seems to be (as you pointed out) problems > > > in the whole SCSI (and possibly USB) layer in the way it handles > > > error conditions. > > > > There definitely are some bugs in the SCSI layer. They are being worked > > on. > > Just tell me if I can help. You could try out the patch in http://marc.theaimsgroup.com/?l=linux-scsi&m=111929641211418&w=2 to see if it helps with your troublesome device. Alan Stern ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
