From owner-freebsd-current@FreeBSD.ORG Sun Jan 4 20:47:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B325616A4CE for ; Sun, 4 Jan 2004 20:47:41 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD4BC43D1D for ; Sun, 4 Jan 2004 20:47:40 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 9EE5772DBF; Sun, 4 Jan 2004 20:47:40 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 9CE3372DB5; Sun, 4 Jan 2004 20:47:40 -0800 (PST) Date: Sun, 4 Jan 2004 20:47:40 -0800 (PST) From: Doug White To: Nate Lawson In-Reply-To: <20040104150929.Y19715@root.org> Message-ID: <20040104204700.J77465@carver.gumbysoft.com> References: <20040103184934.V16815@root.org> <20040103.201530.04738741.imp@bsdimp.com> <20040104150929.Y19715@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: Serial console only works after reboot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 04:47:41 -0000 On Sun, 4 Jan 2004, Nate Lawson wrote: > On Sun, 4 Jan 2004, M. Warner Losh wrote: > > In message: <20040103233044.N17367@root.org> > > Nate Lawson writes: > > : On Sat, 3 Jan 2004, M. Warner Losh wrote: > > : > In message: <20040103184934.V16815@root.org> > > : > Nate Lawson writes: > > : > : I have a laptop (IBM T23) and use sio0 as my console/gdb port. One thing > > : > : I noticed is if I power up the laptop and boot -h, I get garbage out the > > : > : serial port. However, if I boot fully and then just warm reboot, the > > : > : serial console works fine. I'm only using 9600 bps. Ideas? > > : > > > : > weird. Is the garbage data at some different rate? > > : > > : Nope, checked everything from 1200 up to 38400, different garbage but > > : always garbage. This is with -current as of 2003/12/30, no patches. > > > > Try 115200. > > That works. Now the question is "why". Note that I have no "options > CONSPEED" so according to /sys/dev/sio/sioreg.h, it should default to 9600 > and indeed does, after a reboot. But not on a cold startup. Are you setting BOOT_COMCONSOLE_SPEED anywhere? That also impacts the serial console speed setting. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org