From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Nameer Yarkon" <nameer.yarkon@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Serial problem and request for guidance..
Date: Tue, 17 Jun 2008 22:38:09 +0100 [thread overview]
Message-ID: <20080617223809.56d65635@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <bec9a5870806171433gf74e251m6742e066960d6ab4@mail.gmail.com>
> on ARM (OMAP) with an old 2.6.14 kernel, but only when I enable the
> debug macros of the line discipline code (hci_h4, hci_ldisc,..).
> When a big chunk of data arrives, more than
> half of it is lost. even on 115200. But when I turn of the debug macros (BT_DBG
Not a suprise. The old buffering would struggle in this case.
> macros which are simply a bunch of prinks) the problem disappears. So I suspect
> there are some nasty timing issues which lead to data loss.
>
> I encountered similar problems last year even on a PC, with pre 2.6.21 kernels
> (around 2.6.19 or even earlier IIRC) but it was all gone with 2.6.21 and 2.6.22.
We rewrote the tty buffering around the point it magically started
working so that would fit my suspicion.
Alan
prev parent reply other threads:[~2008-06-17 21:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-16 12:14 Nameer Yarkon
2008-06-16 12:03 ` Alan Cox
2008-06-17 21:33 ` Nameer Yarkon
2008-06-17 21:38 ` Alan Cox [this message]
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=20080617223809.56d65635@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=nameer.yarkon@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®