Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2006 22:55:01 +0100
From:      Dimitry Andric <dimitry@andric.com>
To:        stable@freebsd.org
Subject:   RELENG_6: serial console drops back from 115200 to 9600 baud
Message-ID:  <4400D235.9030807@andric.com>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig34FFA8039EBACBD99F72B524
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

I believe this MFC commit:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i386/libi386/comconsol=
e.c?rev=3D1.10.10.1&content-type=3Dtext/x-cvsweb-markup
broke the speed-setting of the serial console at boot time, for RELENG_6.=


At least for me, it doesn't set the speed to 115200 (as specified in
make.conf) anymore, it always stays at 9600, even when I put
comconsole_speed=3D115200 in loader.conf.

I noticed this, when I upgraded from 6.0-STABLE built around december
last year, to 6.1-PRERELEASE from last week.  The serial console on this
particular machine had been working flawlessly for years now...

There's a new comment added by the commit in this file that says:

	/*
  	 * Assume that the speed was set by an earlier boot loader if
  	 * comconsole is already the preferred console.
  	 */

whereas in the previous version it was set (hardcoded) to COMSPEED,
which in its turn came from BOOT_COMCONSOLE_SPEED in
boot/i386/libi386/Makefile.

Anyone know of a way to restore the old behaviour?  I'll experiment here
with reverting the comconsole.c file to the previous version, to see if
that helps, but a permanent solution would be better. :)

Cheers,
Dimitry



--------------enig34FFA8039EBACBD99F72B524
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iD8DBQFEANI4sF6jCi4glqMRA5nuAKCmjAcAIHC6tz/Te52rzJM/fXFeaACeIr0f
zmBvB+QLJlpkNIqzZwvTwq4=
=YO0M
-----END PGP SIGNATURE-----

--------------enig34FFA8039EBACBD99F72B524--



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