From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 26 06:53:52 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 B2F3937B401 for ; Sat, 26 Jul 2003 06:53:52 -0700 (PDT) Received: from manganese.bos.dyndns.org (manganese.bos.dyndns.org [66.151.188.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF6A543F85 for ; Sat, 26 Jul 2003 06:53:51 -0700 (PDT) (envelope-from twilde@dyndns.org) Received: from manganese.bos.dyndns.org (twilde@localhost [127.0.0.1]) h6QDrobx032797; Sat, 26 Jul 2003 09:53:50 -0400 (EDT) (envelope-from twilde@dyndns.org) Received: from localhost (twilde@localhost)h6QDroVp032794; Sat, 26 Jul 2003 09:53:50 -0400 (EDT) X-Authentication-Warning: manganese.bos.dyndns.org: twilde owned process doing -bs Date: Sat, 26 Jul 2003 09:53:50 -0400 (EDT) From: Tim Wilde X-X-Sender: twilde@manganese.bos.dyndns.org To: Daniel Lang In-Reply-To: <20030726121240.GA5511@atrbg11.informatik.tu-muenchen.de> Message-ID: References: <1059156388.34654.94.camel@rose.americas.sgi.com> <20030726121240.GA5511@atrbg11.informatik.tu-muenchen.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Sat, 26 Jul 2003 13:53:53 -0000 On Sat, 26 Jul 2003, Daniel Lang wrote: > 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. > > In my kernel I have the CONSPEED and the BOOT_COMCONSOLE_SPEED > in make.conf set accordingly. Did you re-compile your boot blocks appropriately afterward? cd /sys/boot && make all install clean is the ugly way of doing it (I could never get the "right" way from the docs to work) and it works beautifully. I have a large number of deployed servers using com2 at 38400 for console all the way through boot. Make sure you create /boot.config with the correct flag(s), too - "-P" if you want it to autodetect keyboard vs. serial console on boot. -- Tim Wilde twilde@dyndns.org Systems Administrator Dynamic DNS Network Services http://www.dyndns.org/