Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 10:38:20 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Dimitry Andric <dimitry@andric.com>
Cc:        Ian Dowse <iedowse@iedowse.com>, Ed Maste <emaste@phaedrus.sandvine.ca>, stable@freebsd.org
Subject:   Re: RELENG_6: serial console drops back from 115200 to 9600 baud
Message-ID:  <20060227083820.GK42677@ip.net.ua>
In-Reply-To: <440200F2.9010106@andric.com>
References:  <200602260156.aa34941@nowhere.iedowse.com> <440200F2.9010106@andric.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--V3eawNQxI9TAjvgi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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? :)
>=20
> > 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.
>=20
> 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 anymor=
e.
>=20
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.

> > Boot blocks need to be installed manually - installworld installs
> > the boot blocks as files in /boot/boot{1,2}, but when booting, it
> > is the boot blocks in the first 8k of the slice that are used, not
> > the /boot/boot{1,2} files.
>=20
> Okay.  I still think it would be wiser to just reinstall them during
> installworld, just to be sure there's no incompatibilities...
>=20
It's not always possible to do: there can be different boot locations,
the root FS can be a remote one, it can be a diskless system, etc.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--V3eawNQxI9TAjvgi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFEArp8qRfpzJluFF4RApXGAJ4sHxEJDZ56bCuVq1gyvUjNuQjUnwCcCgLV
CChSJMGh2UWS7XgUEqg1MEs=
=4UA+
-----END PGP SIGNATURE-----

--V3eawNQxI9TAjvgi--



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