Re: OHCI hangs after failing to free resources

"Mike Nuss" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
David Brownell wrote: 
> So, trying for some (bad) ASCII art here
> 
>   TDs 1-4 submitted to ED,
>   HC completed a few (say, 1 & 2)
> 
>         ed.tail ---------------------------+
>         ed.head ----------+                I
>                           I                I
>                           v                v
>         td1 -->  td2 --> td3 --> td4 --> dummy
> 
> Where "td" is like td1, and clearly is not the first TD in
> the queue.
> 
> One problem being that by now td1 and td2 should have shown up in
> the donelist, through an IRQ.  That would explain the symprom of
> data transfers seeming to stop.
> 
> It'd be interesting to see whether there's anything in that donelist;
> if so, that might suggest that the driver somehow lost an IRQ.  Try
> printing its value in that "sanitize" path.

It looks like the donelist is empty.

user.warn kernel: ohci_hcd 0000:00:13.0: IRQ INTR_SF lossage
user.err kernel: ohci_hcd 0000:00:13.0: done_head:0
user.warn kernel: finish_unlinks
user.warn kernel: finish_unlinks: 0x2daa480 != 0x2daa440
user.warn kernel: finish_unlinks:skip ed
user.err kernel: ohci_hcd 0000:00:13.0: leak ed c2b8f140 (#82) state 0
(has tds)
user.err kernel: ohci_hcd 0000:00:13.0: free td c2daa440

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[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.