From owner-freebsd-current@FreeBSD.ORG Sun Jan 4 15:11:12 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 5096616A4CE for ; Sun, 4 Jan 2004 15:11:12 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id AFCD343D41 for ; Sun, 4 Jan 2004 15:11:09 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 19746 invoked by uid 1000); 4 Jan 2004 23:10:41 -0000 Date: Sun, 4 Jan 2004 15:10:41 -0800 (PST) From: Nate Lawson To: "M. Warner Losh" In-Reply-To: <20040104.003330.54786488.imp@bsdimp.com> Message-ID: <20040104150929.Y19715@root.org> References: <20040103184934.V16815@root.org> <20040103.201530.04738741.imp@bsdimp.com> <20040104.003330.54786488.imp@bsdimp.com> 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: Sun, 04 Jan 2004 23:11:12 -0000 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. -Nate