Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261806AbVCYVBz (ORCPT ); Fri, 25 Mar 2005 16:01:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261804AbVCYVBz (ORCPT ); Fri, 25 Mar 2005 16:01:55 -0500 Received: from mail-relay-2.tiscali.it ([213.205.33.42]:42904 "EHLO mail-relay-2.tiscali.it") by vger.kernel.org with ESMTP id S261800AbVCYVBm (ORCPT ); Fri, 25 Mar 2005 16:01:42 -0500 Date: Fri, 25 Mar 2005 22:01:32 +0100 From: Luca To: David Woodhouse , Linux Serial , linux-kernel@vger.kernel.org Subject: Re: Garbage on serial console after serial driver loads Message-ID: <20050325210132.GA11201@dreamland.darkstar.lan> References: <20050325202414.GA9929@dreamland.darkstar.lan> <20050325203853.C12715@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050325203853.C12715@flint.arm.linux.org.uk> User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1307 Lines: 32 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/