lkml.org 
[lkml]   [1999]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [gphoto-kodak] Re: Kodak DC-265 overrunning linux serial driver?
On Fri, Nov 19, 1999 at 06:44:57PM -0500, Theodore Y. Ts'o wrote:
> The problem is that certain other device drivers (and the IDE PIO driver
> is the prime example) keeps interrupts off to long, thus increasing the
> interrupt latency to the point where you start overflowing the FIFO.
> Increasing the buffer which the interrupt routine uses to copy
> characters out of the FIFO isn't going to help, because they're getting
> lost before the interrupt routine even has a chance to run.


I did some testing on my laptop with linux 2.2.13.

So far as I can tell my HD on the laptop is running in DMA mode.
Additionally, the 'hdparm -u 1 /dev/hda' had no effect on the overrun
problem.

It acted pretty much as Jim has described. With the FIFO level mod,
Nearly 100% failure at 115200, 10% failure at 57600.

At 115200 it always fails, so far as I can tell, right away. Long
before any data is actually written to disk.

One of the "other" drivers must be holding of the serial interrupt
for too long.

--
Brian Litzinger <brian@litzinger.com>

Copyright (c) 1999 By Brian Litzinger, All Rights Reserved

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.070 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site