From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 28 10:04:03 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2BDF37B401 for ; Mon, 28 Jul 2003 10:04:03 -0700 (PDT) Received: from lips.thebarn.com (lips.borg.umn.edu [160.94.232.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 378D343F85 for ; Mon, 28 Jul 2003 10:04:00 -0700 (PDT) (envelope-from cattelan@thebarn.com) Received: from [10.0.0.10] (c-24-118-121-167.mn.client2.attbi.com [24.118.121.167]) by lips.thebarn.com (8.12.9/8.12.6) with ESMTP id h6SH3jE6090515; Mon, 28 Jul 2003 12:03:46 -0500 (CDT) (envelope-from cattelan@thebarn.com) From: Russell Cattelan To: Daniel Lang In-Reply-To: <20030726121240.GA5511@atrbg11.informatik.tu-muenchen.de> References: <1059156388.34654.94.camel@rose.americas.sgi.com> <20030726090636.GK22295@spc.org> <20030726121240.GA5511@atrbg11.informatik.tu-muenchen.de> Content-Type: text/plain Message-Id: <1059411822.92723.145.camel@lupo.thebarn.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 28 Jul 2003 12:03:43 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: Russell Cattelan Subject: Re: Console serial speed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2003 17:04:04 -0000 On Sat, 2003-07-26 at 07:12, Daniel Lang wrote: > Hi, > > Bruce M Simpson wrote on Sat, Jul 26, 2003 at 10:06:36AM +0100: > > On Fri, Jul 25, 2003 at 01:06:28PM -0500, Russell Cattelan wrote: > > > How does one set the serial speed of the console. > > > > Does specifying BOOT_COMCONSOLE_SPEED=57600 not work? > > No, I've experienced the same problem years ago. > The funny thing is, that it worked on some machines, > while it didn't on others. > > I worked around the problem by putting > machdep.conspeed=38400 > in /etc/sysctl.conf, so the speed is reset to the right > speed, once the system is up. > > Of course this doesn't work for boot2, loader or the kernel > itself. These three components seem to set their console speed > in some cases arbitrarly. Yes this seems to be the case. No matter how hard I try to convince sio.c to default to 57600 (I even went as far at setting static volatile speed_t comdefaultrate = CONSPEED; to 57600) so there would be no confusion. I still end up with random console speed each time. The boot loader did pick up the speed from /etc/make.conf and does come up every time at 57600. > > In my kernel I have the CONSPEED and the BOOT_COMCONSOLE_SPEED > in make.conf set accordingly. > > Anyway its not a big problem for me now any more, so I never > filed a PR. > > Best regards, > Daniel -- Russell Cattelan