From owner-freebsd-questions@FreeBSD.ORG Mon May 12 05:15:08 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6764637B401 for ; Mon, 12 May 2003 05:15:08 -0700 (PDT) Received: from smtp.us2.messagingengine.com (ny2.fastmail.fm [66.111.4.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 775DF43F85 for ; Mon, 12 May 2003 05:15:07 -0700 (PDT) (envelope-from freebsd@soith.com) Received: from www.fastmail.fm (server1.internal [10.202.2.132]) by server2.messagingengine.com (Postfix) with ESMTP id DF4FC4E608; Mon, 12 May 2003 08:15:05 -0400 (EDT) Received: from 127.0.0.1 ([127.0.0.1] helo=www.fastmail.fm) by messagingengine.com with SMTP; Mon, 12 May 2003 08:15:05 -0400 Received: by www.fastmail.fm (Postfix, from userid 99) id A5ECA283E6; Mon, 12 May 2003 08:15:05 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Aaron Wohl" To: "Ryan Merrick" , "Dirk-Willem van Gulik" Date: Mon, 12 May 2003 06:15:05 -0600 X-Epoch: 1052741705 X-Sasl-enc: ZsOgEQEPzdCVl4vCXOT2Sg References: <20030511122715.A903-100000@foem> <3EBEF59A.70009@attbi.com> In-Reply-To: <3EBEF59A.70009@attbi.com> Message-Id: <20030512121505.A5ECA283E6@www.fastmail.fm> cc: freebsd-questions@freebsd.org Subject: Re: Serial Console woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 12:15:08 -0000 notes on setting up freebsd serial console for 115200 baud -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 XXX(or whatever your kernconf is called) -add: options CONSPEED=115200 # Console Redirection -cd /usr/src -make buildkernel KERNCONF=XXX -make installkernel KERNCONF=XXX -reboot