From owner-freebsd-stable@FreeBSD.ORG Sun Feb 26 02:14:59 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 EADD116A420 for ; Sun, 26 Feb 2006 02:14:58 +0000 (GMT) (envelope-from emaste@phaedrus.sandvine.ca) Received: from mailserver.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BD3143D45 for ; Sun, 26 Feb 2006 02:14:58 +0000 (GMT) (envelope-from emaste@phaedrus.sandvine.ca) Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by mailserver.sandvine.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 25 Feb 2006 21:13:15 -0500 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id 7763F13654; Sat, 25 Feb 2006 21:14:57 -0500 (EST) Date: Sat, 25 Feb 2006 21:14:57 -0500 From: Ed Maste To: Dimitry Andric Message-ID: <20060226021457.GB55658@sandvine.com> References: <4400D235.9030807@andric.com> <20060225225621.GA42888@sandvine.com> <4400E70F.2020902@andric.com> <20060226005712.GA48900@sandvine.com> <44010644.4000504@andric.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44010644.4000504@andric.com> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 26 Feb 2006 02:13:15.0515 (UTC) FILETIME=[33BE04B0:01C63A7A] 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: Sun, 26 Feb 2006 02:14:59 -0000 On Sun, Feb 26, 2006 at 02:37:08AM +0100, Dimitry Andric wrote: > Ed Maste wrote: > > What's in your /boot.config? > > In my case, I use -P, because I usually don't have a keyboard hooked up, > but ocasionally do use it. Additionally, I had console="comconsole" in > my /boot/loader.conf. However, commenting that out doesn't help either. > > I guess the -P option causes the console variable to be set too? In > that case comc_probe might pick it up, and never change the speed from > what the BIOS configured. (Note that I've never used boot0sio, and > AFAICs the 'normal' boot0 doesn't mess with the serial port speed.) True, but boot.config is processed by boot1/2 that's installed in the slice. That boot does have knowedge of the serial port and sets the speed as Ian points out. So I suspect that the following happens when you boot: - your BIOS sets the serial port to 9600 - boot0 does nothing with the serial pot - boot1/2 reads the -P in /boot.config and detects no keyboard, and then sets the serial port to 9600 and the console to comconsole - the loader detects that the serial port is enabled and is already set to 9600 Thus, I'm not surprised that you get a 9600 baud console without an rc.conf setting. The thing that concerns me is your report that the console does not run at 115200 even if /boot/loader.conf contains comconsole_speed="115200". -ed