Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2003 09:53:50 -0400 (EDT)
From:      Tim Wilde <twilde@dyndns.org>
To:        Daniel Lang <langd-freebsd-hackers@leo.org>
Cc:        Russell Cattelan <cattelan@xfs.org>
Subject:   Re: Console serial speed
Message-ID:  <Pine.BSF.4.53.0307260951480.29717@manganese.bos.dyndns.org>
In-Reply-To: <20030726121240.GA5511@atrbg11.informatik.tu-muenchen.de>
References:  <1059156388.34654.94.camel@rose.americas.sgi.com> <20030726121240.GA5511@atrbg11.informatik.tu-muenchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0307260951480.29717>