From owner-freebsd-current@FreeBSD.ORG Mon Sep 1 16:29:23 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C24EF16A4BF for ; Mon, 1 Sep 2003 16:29:23 -0700 (PDT) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 5443643FF9 for ; Mon, 1 Sep 2003 16:29:22 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: (qmail 62835 invoked by uid 1002); 1 Sep 2003 23:29:21 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 1 Sep 2003 23:29:21 -0000 Message-ID: <3F53D645.2040501@freebsd.org> Date: Mon, 01 Sep 2003 17:29:09 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aaron Wohl References: <1062445674.59251.1.camel@acheron.livid.de> <3F53CF00.6020304@freebsd.org> <20030901232227.5F1D23A4C3@www.fastmail.fm> In-Reply-To: <20030901232227.5F1D23A4C3@www.fastmail.fm> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: "Scott M. Likens" Subject: Re: Question related to FreeBSD Serial Console... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2003 23:29:23 -0000 Aaron Wohl wrote: > My notes on getting a serial console at 115200 > > -must be com1 > -com1 must be at port 0x3F8 irq 4 > -in bios set the port and irq as above > -in bios set serial redirection to com1 > -in bios set baud rate 115200 > -in bios set RTS/CTS flow control > -edit (or create) /etc/make.conf to add these lines: > BOOT_COMCONSOLE_PORT= 0x3F8 > BOOT_COMCONSOLE_SPEED= 115200 > -cd /sys/boot > -make clean > -make > -make install > -fdisk -B > No im not kidding. Part of the boot knowing baud rate loader lives in > the main disk boot block. > -cd /boot > -edit loader.conf > -add a line: > console=comconsole > -edit /boot.config make it read (with a return after it): > -Dh > (the above is minus D h return, thats 4 characters) > -cd /usr/src/sys/i386/conf > -edit PASODOBLE (or whatever your kernconf is called) > -add: > options CONSPEED=115200 # Console Redirection > -cd /usr/src > -make buildkernel KERNCONF=PASODOBLE > -make installkernel KERNCONF=PASODOBLE > -reboot > -pray > At one time I was working on patches to the loader to make the console speed configurable. At the time, at least, I didn't see any evidence that the settings were stored in the boot0 block, but maybe I was wrong. In any case, finishing this up is on my TODO list. Scott