RELENG_6: serial console drops back from 115200 to 9600 baud

Ruslan Ermilov ru at freebsd.org
Mon Feb 27 09:17:15 PST 2006


On Mon, Feb 27, 2006 at 12:01:08PM -0500, Rong-En Fan wrote:
> On 2/27/06, Ruslan Ermilov <ru at freebsd.org> wrote:
> > On Sun, Feb 26, 2006 at 08:26:42PM +0100, Dimitry Andric wrote:
> > > Ian Dowse 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? :)
> > >
> > > > They probably used 9600 for the boot blocks, and then switched to
> > > > 115200 when /boot/loader started, so you didn't notice. Now the
> > > > settings from the boot blocks get used by /boot/loader.
> > >
> > > Ah, but this still means that /boot/loader used to use a hardcoded
> > > default specified in /etc/make.conf, and now it doesn't honor that anymore.
> > >
> > Have you checked with documentation?
> >
> > : comconsole_speed
> > :           Defines the speed of the serial console (i386 and amd64 only).
> > :           If the previous boot stage indicated that a serial console is
> > :           in use then this variable is initialized to the current speed
> > :           of the console serial port.  Otherwise it is set to 9600 unless
> > :           this was overridden using the BOOT_COMCONSOLE_SPEED variable
> > :           when loader was compiled.  Changes to the comconsole_speed
> > :           variable take effect immediately.
> 
> Which way is preferred: setting comconsole_speed,  -S in
> boot.config, or using harded code BOOT_COMCONSOLE_SPEED in make.conf?
> 
-S is the most convenient, as it will cause the serial port's speed
to be consistent throughout all stages, boot2, loader, and kernel.

> If now the most preferred way is to using -S or
> comconsole_speed in loader.conf, please update that in Handbook
> 22.6.5.1 Setting a Faster Serial Port Speed.
> 
Someone with doc/-fu should pick it up I think.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060227/91bc7453/attachment.bin


More information about the freebsd-stable mailing list