From owner-freebsd-stable@FreeBSD.ORG Sun Feb 26 00:34:05 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 BD8A216A420 for ; Sun, 26 Feb 2006 00:34:05 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from nowhere.iedowse.com (nowhere.iedowse.com [82.195.144.75]) by mx1.FreeBSD.org (Postfix) with SMTP id C7EB043D45 for ; Sun, 26 Feb 2006 00:34:04 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from localhost ([127.0.0.1] helo=iedowse.com) by nowhere.iedowse.com via local-iedowse id ; 26 Feb 2006 00:34:02 +0000 (GMT) To: Dimitry Andric In-Reply-To: Your message of "Sun, 26 Feb 2006 00:23:59 +0100." <4400E70F.2020902@andric.com> Date: Sun, 26 Feb 2006 00:34:01 +0000 From: Ian Dowse Message-ID: <200602260034.aa33612@nowhere.iedowse.com> Cc: stable@freebsd.org, Ed Maste 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: Sun, 26 Feb 2006 00:34:05 -0000 In message <4400E70F.2020902@andric.com>, Dimitry Andric writes: >Ed Maste wrote: >> The way this is supposed to work is that you can put -S >> in /boot.config, which gets used by boot2, and the loader then >> detects that the serial console is already in use and defaults >> to the existing speed. > >Ah, I didn't try that yet. However, I would expect that the >BOOT_COMCONSOLE_SPEED override in /etc/make.conf would simply continue >to work as it had. > > >> comconsole_speed="115200" in loader.conf should override it >> if you don't want to replace boot2 or change /boot.config. > >Yes, I've tried this, but it didn't work, or maybe I just didn't try >hard enough. :) I'll try it again with the 1.10.10.1 rev of comconsole.c. The problem may be that your boot blocks were compiled with BOOT_COMCONSOLE_SPEED set to 9600. Try reinstalling them with e.g. `disklabel -B ad0s1' (make sure you get the right device name - it should be the slice that you boot from). Previously both /boot/loader and the boot blocks would override the serial port speed according to BOOT_COMCONSOLE_SPEED, but I believe that since the recent change, loader will assume that if the boot blocks requested a serial console, then they will have already set up the correct speed. Ian