From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 29 00:20:07 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 C205737B404 for ; Tue, 29 Jul 2003 00:20:07 -0700 (PDT) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E6BE43FA3 for ; Tue, 29 Jul 2003 00:20:07 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38lc0dr.dialup.mindspring.com ([209.86.1.187] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19hOmC-0002uE-00; Tue, 29 Jul 2003 00:20:04 -0700 Message-ID: <3F261FE6.D137B326@mindspring.com> Date: Tue, 29 Jul 2003 00:19:02 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Russell Cattelan References: <1059156388.34654.94.camel@rose.americas.sgi.com> <20030726090636.GK22295@spc.org> <1059411822.92723.145.camel@lupo.thebarn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a420d454776054c67aa74d158b67881f4c666fa475841a1c7a350badd9bab72f9c350badd9bab72f9c 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: Tue, 29 Jul 2003 07:20:08 -0000 Russell Cattelan wrote: > On Sat, 2003-07-26 at 07:12, Daniel Lang wrote: > > 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. You also need to modify the /etc/ttys entry to specify std.57600 (see the examples for /dev/ttyd[0-3]) and to set: options CONSPEED=57600 in your config file. -- Terry