From: Paul Fulghum <paulkf@microgate.com>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Strange problem with tty layer
Date: Fri, 26 Jan 2007 08:51:02 -0600 [thread overview]
Message-ID: <45BA1556.8080808@microgate.com> (raw)
In-Reply-To: <20070126142041.GD7584@csclub.uwaterloo.ca>
Lennart Sorensen wrote:
> Well it turns out that didn't help. Neither does 2.6.18 (that one was
> the easiest newer one to try). It does seem as if the error rate is
> lower with 2.6.18 than with 2.6.16, so perhaps there was more than one
> place that could cause losses in the tty buffering. I had only 2
> failures in 15 hours with 2.6.18, rather than a whole lot of failures
> with 2.6.16. I guess I will have to try 2.6.19 or even something newer.
You can eliminate the tty buffering altogether
by observing what gets passed to the line discipline.
I assume you are using the default line discipline N_TTY.
Look at what is passed to drivers/char/n_tty.c:n_tty_receive_buf()
If all the data gets that far, then there is some issue
with the line discipline or something further downstream.
If not, then the problem is with the tty buffering (assuming
you are correct that all data gets to the tty buffering code
followed by a tty_flip_buffer_push call).
--
Paul Fulghum
Microgate Systems, Ltd.
next prev parent reply other threads:[~2007-01-26 14:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-24 20:40 Strange problem with tty layer Lennart Sorensen
2007-01-24 21:20 ` Paul Fulghum
2007-01-24 21:48 ` Lennart Sorensen
2007-01-25 15:16 ` Lennart Sorensen
2007-01-26 14:20 ` Lennart Sorensen
2007-01-26 14:51 ` Paul Fulghum [this message]
2007-01-26 14:56 ` Lennart Sorensen
2007-01-26 15:06 ` Paul Fulghum
2007-01-26 16:08 ` Lennart Sorensen
2007-01-29 19:27 ` Lennart Sorensen
2007-02-17 16:09 ` Lennart Sorensen
-- strict thread matches above, loose matches on Subject: below --
2007-01-24 21:19 Kilau, Scott
2007-01-24 21:34 ` Lennart Sorensen
2007-01-25 14:31 ` Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45BA1556.8080808@microgate.com \
--to=paulkf@microgate.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lsorense@csclub.uwaterloo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.