tech-multimedia archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems (panics) with using my uvideo... Help please..



On Mon, Oct 27, 2008 at 02:58:31AM +0100, Jeremy Morse wrote:
> (..)
> One thing to try with ehci, is to remove the patch I attached before,
> then on the line:
> 
> +                         (trans_count % 64 == 0 && trans_count != 0))
> 
> Change 64 to 16, and apply again. (..)

So my ehci.c's diff towards anoncvs right now is...

Index: ehci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/ehci.c,v
retrieving revision 1.154
diff -u -r1.154 ehci.c
--- ehci.c      14 Oct 2008 18:32:53 -0000      1.154
+++ ehci.c      28 Oct 2008 01:15:48 -0000
@@ -3932,7 +3932,9 @@
                        offs += xfer->frlengths[trans_count];
                        trans_count++;
 
-                       if (trans_count >= xfer->nframes) { /*Set IOC*/
+                       if (trans_count >= xfer->nframes ||
+                           (trans_count % 16 == 0 && trans_count != 0))
+                       { /*Set IOC*/
                                itd->itd.itd_ctl[j] |= htole32(EHCI_ITD_IOC);
                                break;
                        }

...which still triggers the NMI. continue'ing twice from ddb from there
keeps mplayer (and system) running.

Regards,

-Martin


Home | Main Index | Thread Index | Old Index