Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 18:13:55 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/28296: change request for sys/i386/conf/NOTES
Message-ID:  <Pine.BSF.4.21.0106211725370.30690-100000@besplex.bde.org>
In-Reply-To: <20010621094757.A3591@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Jun 2001, Ruslan Ermilov wrote:

> On Wed, Jun 20, 2001 at 10:00:03PM -0700, Bruce Evans wrote:
> [...]
> >  
> >  Usage bugs:
> >  - This option should never be used, at least on i386's.  It was superseded
> >    by better support for using the speed set by the boot loader (this
> >    speed is configured by BOOT_COMCONSOLE_SPEED in /etc/make.conf).  It
> >    was removed in 1997 in rev.1.170 of sio.c but unremoved in the next
> >    commit, apparently to work around deficiencies in nonstandard boot
> >    loaders.  There is also a sysctl to change the speed.
> >  
> Not everyone uses loader(8).  :-)

BOOT_COMCONSOLE_SPEED also works for biosboot(old) and boot2(undoc).

Actually, there are cases when CONSPEED should be used.  It has no
effect on the console speed except in broken cases, since sio normally
uses the speed set by the boot loader or BIOS for the console speed.
However, it is the only way to control the speed of the gdb port when
that port is not the console and gdb must be used before the sysctl
to set the speed can be issued.

Broken cases:
- alphas
- serial console but not a forced serial console
- speed set by boot loader or BIOS not in sio's speed table

So CONSPEED was apparently unremoved to work around deficiencies in
gdb port configuration, not to work around deficiencies in boot loaders.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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