linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Albrecht Dre? <albrecht.dress@arcor.de>
Cc: linux-serial@vger.kernel.org
Subject: Re: [PPC/MPC5200B] strange data loss on uart reception
Date: Tue, 2 Nov 2010 21:02:48 -0700	[thread overview]
Message-ID: <20101103040248.GA7305@kroah.com> (raw)
In-Reply-To: <1288721170.1923.0@antares>

On Tue, Nov 02, 2010 at 07:06:02PM +0100, Albrecht Dre? wrote:
> Am 01.11.10 15:41 schrieb(en) Albrecht Dre?:
>> Am 01.11.10 04:10 schrieb(en) Greg KH:
>>> On Sun, Oct 31, 2010 at 06:27:00PM +0100, Albrecht Dre? wrote:
>>>> Am I simply too dumb to use the uart correctly, or is there some issue in the kernel causing this effect?  I noticed that the function mpc52xx_uart_int_rx_chars() does not check the return value of tty_insert_flip_char().  If the system runs out of space (actually, the maximum buffer size used should be limited, in particular on embedded systems!), might this go undetected?  This might explain the bigger "chunks", as the '5200's uart has a rather big fifo (512 bytes).
>>>
>>> That might help, have you tried changing this and seeing if it fixes anything?
>
> Ummm.  Apparently this was a hardware problem.  No errors on a 2nd board, and re-soldering the chip on the 1st fixed it there, too.  Probably a "cold" soldering.

Ah, good, I like the "buggy hardware" type resolutions :)

thanks for letting us know.

greg k-h

      reply	other threads:[~2010-11-03  4:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31 17:27 [PPC/MPC5200B] strange data loss on uart reception Albrecht Dreß
2010-11-01  3:10 ` Greg KH
2010-11-01 14:41   ` Albrecht Dreß
2010-11-02 18:06     ` Albrecht Dreß
2010-11-03  4:02       ` Greg KH [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=20101103040248.GA7305@kroah.com \
    --to=greg@kroah.com \
    --cc=albrecht.dress@arcor.de \
    --cc=linux-serial@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).