[lkml]   [2005]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject"Spy'ing" characters sent thru serial port ?

We have a machine connected to a modem using the serial port, and from
time to time, the modem complains the machine sent him a full 2K buffer
(in fact, 2047 bytes) which were already sent.

We've been investigating at the application level, using strace to
monitor what is sent to the serial port, and at no time such a buffer is

This problem is occuring on a random basis, and attempts to reproduce
it in a test environment failed to date.

Is it possible to '(log|copy|...)' the chars that are sent on the
serial port to some other place (without altering too much the performance
of the machine, we are running the port a 9600bps), at the lowest level ?

Or is there a known issue of the serial port (or tty) buffer being
resent on the line in some weird conditions ? Any change done on
->head and ->tail handling that could fix that ?

This problem is with Linux 2.4.27 (I know 2.4.31 is out, but nothing
related to that is present in the Changelog)


Paul Rolland, rol(at)
ex-AS2917 Network administrator and Peering Coordinator


Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un navigateur
"Some people dream of success... while others wake up and work hard at it"

"I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry that
10 or 15 years from now, she will come to me and say 'Daddy, where were
you when they took freedom of the press away from the Internet?'"
--Mike Godwin, Electronic Frontier Foundation

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-07-07 04:51    [W:0.048 / U:5.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site