Linux Serial subsystem development
 help / color / mirror / Atom feed
From: Luca <kronos@kronoz.cjb.net>
To: David Woodhouse <dwmw2@infradead.org>,
	Linux Serial <linux-serial@vger.kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re: Garbage on serial console after serial driver loads
Date: Fri, 25 Mar 2005 22:01:32 +0100	[thread overview]
Message-ID: <20050325210132.GA11201@dreamland.darkstar.lan> (raw)
In-Reply-To: <20050325203853.C12715@flint.arm.linux.org.uk>

Il Fri, Mar 25, 2005 at 08:38:53PM +0000, Russell King ha scritto: 
> On Fri, Mar 25, 2005 at 09:24:15PM +0100, Luca wrote:
> > I attached a null modem cable to my notebook and I'm seeing garbage as
> > soon as the serial driver is loaded. I tried booting with init=/bin/bash
> > to be sure that it's not some rc script doing strange things to the
> > serial port, but this didn't solve the problem.
> 
> I'm uncertain how this problem can occur, unless you have one of:
> 
> * serial debugging enabled (which isn't compatible with serial console)

Do you mean #define DEBUG in serial_core.c? No.

> * a NS16550A, in which case dwmw2 needs to rework his autodetect code to
>   adjust the baud rate appropriately.

Well, serial_core seems to think so:

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A

Luca
-- 
Home: http://kronoz.cjb.net
La mia opinione puo` essere cambiata, ma non il fatto che ho ragione.

  reply	other threads:[~2005-03-25 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-25 20:24 Garbage on serial console after serial driver loads Luca
2005-03-25 20:38 ` Russell King
2005-03-25 21:01   ` Luca [this message]
     [not found]     ` <Pine.LNX.4.61.0503261115480.28431@yvahk01.tjqt.qr>
2005-03-26 14:35       ` Luca

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=20050325210132.GA11201@dreamland.darkstar.lan \
    --to=kronos@kronoz.cjb.net \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --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