RELENG_6: serial console drops back from 115200 to 9600 baud

Dimitry Andric dimitry at
Sun Feb 26 12:28:47 PST 2006

Ed Maste wrote:
>> Okay, but why did 4.x through 5.x through 6.x (these have all been on
>> this particular machine) always boot with 115200 until now? :)

> Because now the loader has new behaviour of using the existing speed
> if the previous stage indicates a serial port is in use, instead
> of blindly jamming in a compile-time setting.

Fine, but please be aware that this new behaviour violates POLA, at
least without a stern notice in UPDATING. :)  My idea about hard coded
defaults has always been that they are followed, not ignored...

> comconsole_speed= in /boot/loader.conf
> existing speed, if comconsole is already set by previous stage
> BOOT_COMCONSOLE_SPEED compile time default

Well, the last item will simply never be hit, since there is ALWAYS a
previous stage, isn't there?  So then you might as well remove the
compile time default.  Or at least make clear that the compile time
default only applies to boot[12], and not the loader.

>> Anyway, I also thought that installworld would take care of installing
>> any updated boot blocks, if necessary.  I'll manually install them and
>> see what I end up with.
> It doesn't seem that way.  They'll be placed in /boot, but not
> in the mbr or slice I think.

Indeed, as Ian explained.  FYI, I've just installed new boot blocks with
a configured BOOT_COMCONSOLE_SPEED, commented out the console= and
comconsole_speed= entries in loader.conf, and this works as expected now.

However, please keep in mind that this might hit non-binary upgraders
who use serial consoles, e.g. people with remote boxes in faraway
places.  They should be warned to either upgrade their bootblocks
manually, or set the speed directives in loader.conf.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-stable mailing list