Hi,

I am seeing this problem with the OHCI driver:

Occasionally, this test in finish_unlinks() ...

>                               /* INTR_WDH may need to clean up first */
>                               if (td->td_dma != head)
>                                       goto skip_ed;

triggers. The problem is that when this statement is hit, the problem
doesn't go away (I verified that with a debug printf which subsequently
triggered 2000 times per second), and communication gets blocked because
finish_unlinks() now becomes a no-op and the driver has a finite number of
outstanding URBs. :-/

Worse: If the URB is a control request with no timeout, the only way
to un-wedge the program in question is to remove the OHCI module -- or
the physical OHCI, if it happens to be hot-swappable.

I tried to add a call to finish_unlinks() to the WDH interrupt, but it
seems that this interrupt is not actually triggered. Enabling the
interrupt in finish_unlinks() likewise had no effect.

Any insights would be greatly appreciated.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [EMAIL PROTECTED]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Linux is obsolete
        -- Andrew Tanenbaum


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to