Re: How to avoid serial port buffer overruns?

From: Russell King
Date: Wed Aug 16 2006 - 19:17:01 EST


On Wed, Aug 16, 2006 at 07:15:06PM -0400, Lee Revell wrote:
> On Thu, 2006-08-17 at 00:10 +0100, Russell King wrote:
> > MIDI uses its own driver - sound/drivers/serial-u16550.c. My guess
> > is there's something in the system starving interrupt servicing.
> > Serial is very sensitive to that, and increases in other system
> > latencies tends to have an adverse impact on serial.
>
> Have you seen many other reports of serial working reliably in 2.4 but
> not in 2.6? Right now this is the only clue I have to go on...

There have been one or two, but the above is basically as far as I've
got. Unfortunately, I don't have any machines slow enough (or maybe
with the right hardware) to exhibit the problem.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/