Console serial speed

Tim Wilde twilde at dyndns.org
Sat Jul 26 06:53:53 PDT 2003


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 at dyndns.org
Systems Administrator
Dynamic DNS Network Services
http://www.dyndns.org/


More information about the freebsd-hackers mailing list