Re: Firewire

From: Ben Collins (bcollins@debian.org)
Date: Thu Jul 24 2003 - 20:29:08 EST


On Thu, Jul 24, 2003 at 06:27:24PM -0700, Chris Ruvolo wrote:
> On Thu, Jul 24, 2003 at 06:13:37PM -0700, Torrey Hoffman wrote:
> > Sometimes the driver seems to go into an loop of "unsolicted packet
> > received" messages and attempted resets. Here's what the log looks like
> > when that happens: (this was on 2.5.75)
> [..]
> > (this sequence repeats until I turn off or unplug the drive.)
>
> This sounds like what happens to me when I turn on my DV cam. CPU usage
> goes up to 40% kernel and loops like that until the device goes off.
>
> What hardware do you have? lspci?
>
> Marcello's latest 2.4.22-pre8 updates to rev 1010 of the 1394 modules, so
> I'm curious if I can reproduce this in 2.4 now.

Could both you guys try this workaround? Should prove or disprove my
theory.

Index: linux-2.6/drivers/ieee1394/ohci1394.c
===================================================================
--- linux-2.6/drivers/ieee1394/ohci1394.c (revision 1013)
+++ linux-2.6/drivers/ieee1394/ohci1394.c (working copy)
@@ -2366,7 +2366,7 @@
                         ohci1394_stop_context(ohci, d->ctrlClear,
                                               "respTxComplete");
                 else
- tasklet_schedule(&d->task);
+ dma_trm_tasklet ((unsigned long)d);
                 event &= ~OHCI1394_respTxComplete;
         }
         if (event & OHCI1394_RQPkt) {

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:24 EST