From owner-freebsd-stable@FreeBSD.ORG Mon Feb 27 17:17:15 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7381416A420 for ; Mon, 27 Feb 2006 17:17:15 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A03F043D67 for ; Mon, 27 Feb 2006 17:17:12 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k1RHHBLg035223; Mon, 27 Feb 2006 19:17:11 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 67003-01; Mon, 27 Feb 2006 19:17:10 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k1RHH2fM035219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 27 Feb 2006 19:17:02 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k1RHHCpk045089; Mon, 27 Feb 2006 19:17:12 +0200 (EET) (envelope-from ru) Date: Mon, 27 Feb 2006 19:17:12 +0200 From: Ruslan Ermilov To: Rong-En Fan Message-ID: <20060227171712.GA42677@ip.net.ua> References: <200602260156.aa34941@nowhere.iedowse.com> <440200F2.9010106@andric.com> <20060227083820.GK42677@ip.net.ua> <6eb82e0602270901n703ac969g5c4af69f1563317@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XeHo0rFSNt4mQX/E" Content-Disposition: inline In-Reply-To: <6eb82e0602270901n703ac969g5c4af69f1563317@mail.gmail.com> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at ip.net.ua Cc: stable@freebsd.org Subject: Re: RELENG_6: serial console drops back from 115200 to 9600 baud X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 17:17:15 -0000 --XeHo0rFSNt4mQX/E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 27, 2006 at 12:01:08PM -0500, Rong-En Fan wrote: > On 2/27/06, Ruslan Ermilov 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 an= ymore. > > > > > Have you checked with documentation? > > > > : comconsole_speed > > : Defines the speed of the serial console (i386 and amd64 onl= y). > > : If the previous boot stage indicated that a serial console = is > > : in use then this variable is initialized to the current spe= ed > > : of the console serial port. Otherwise it is set to 9600 un= less > > : this was overridden using the BOOT_COMCONSOLE_SPEED variable > > : when loader was compiled. Changes to the comconsole_speed > > : variable take effect immediately. >=20 > Which way is preferred: setting comconsole_speed, -S in > boot.config, or using harded code BOOT_COMCONSOLE_SPEED in make.conf? >=20 -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. >=20 Someone with doc/-fu should pick it up I think. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --XeHo0rFSNt4mQX/E Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEAzQXqRfpzJluFF4RAt/nAJkB5Gdk7HCHKtXIgz0FVbrpeQhXFwCgiwpr jv1HIqY2Qz8wd+zrNxAB0jU= =Vr52 -----END PGP SIGNATURE----- --XeHo0rFSNt4mQX/E--