Re: overlaping printk

From: Ricky Beam
Date: Wed May 19 2004 - 10:43:58 EST


On Wed, 19 May 2004, Tigran Aivazian wrote:
>It happens to me often (on SMP) too. Originally I thought that printk is
>broken but having looked at the code I see that it has sufficient locking
>in place to prevent this from happening (on printk side). However, the
>fact that it only happens on a serial console (especially at low baud
>rates like 9600) points in the direction of the serial driver.

(the port's @ 115.2k, btw)

That doesn't make sense. printk is putting things in it's ring buffer
correctly, however the process that reads out of the buffer is reading
from two different points and unpredictably pushing them out the serial
port.

I'll go look at the code behind kseriod.

--Ricky


-
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/