From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 19:02:35 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93BFA16A418 for ; Thu, 25 Oct 2007 19:02:35 +0000 (UTC) (envelope-from lab@mailgate.gta.com) Received: from mailgate.gta.com (mailgate.gta.com [199.120.225.20]) by mx1.freebsd.org (Postfix) with SMTP id 0558513C4B8 for ; Thu, 25 Oct 2007 19:02:34 +0000 (UTC) (envelope-from lab@mailgate.gta.com) Received: (qmail 89716 invoked by uid 1000); 25 Oct 2007 18:35:53 -0000 Date: 25 Oct 2007 18:35:53 -0000 Message-ID: <20071025183553.89715.qmail@mailgate.gta.com> From: Larry Baird To: freebsd-hackers@freebsd.org In-Reply-To: <107924.235636.88011@localhost> User-Agent: tin/1.5.9-20010723 ("Chord of Souls") (UNIX) (FreeBSD/4.10-RELEASE (i386)) X-Mailman-Approved-At: Thu, 25 Oct 2007 21:02:32 +0000 Cc: Jeremy Chadwick Subject: Re: Serial speed for boot device selection prompt X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 19:02:35 -0000 In article <107924.235636.88011@localhost> you wrote: > On Wed, Oct 24, 2007 at 10:50:21AM -0700, Sean Bruno wrote: >> I have a drive that contains two seperate bootable partitions(ad0s1a and >> ad0s2a). The boot device selection menu(boot0?) appears to only be able to >> support 9600 8N1. I wanted to run the serial console at 115200, but I >> currently have to switch to 9600 if I need to change the boot device. Is >> there a way around this that I can't see? Could I get around this with a >> BIOS that can do console redirection? > > Which "boot device selection menu" are you referring to? "boot0?" > implies you don't know. Here's the difference: > > boot0 is this stage: > > F1 FreeBSD > F5 Drive 1 > Default: F1 > > boot2 is this stage: > >>> FreeBSD/i386 BOOT > Default: 0:ad(0,a)/boot/loader > boot: > > If you want serial capability in boot0, you should set > BOOT_COMCONSOLE_SPEED=115200 in your make.conf. After you do that, > you'll need to rebuild the boot blocks. The procedure for doing that is > step 4 of Section 24.6.5.2 in the Handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html The BIOS call that boot.S is using (int 0x14) only supports a maximum speed of 9600. To get speeds greater that 9600, it needs to do the I/O itself. There used to be a version floating around that did this. I have a extemely modified version that uses this method. If you can't find a version that does this, let mw know and I'll see if I can cleanup what I have. Larry -- ------------------------------------------------------------------------ Larry Baird | http://www.gta.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080