From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 26 08:15:46 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B855E37B401 for ; Sat, 26 Jul 2003 08:15:46 -0700 (PDT) Received: from mail.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EDBC43FB1 for ; Sat, 26 Jul 2003 08:15:46 -0700 (PDT) (envelope-from avwohl@awohl.com) Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 1C07564BC9; Sat, 26 Jul 2003 11:15:45 -0400 (EDT) Received: from 10.202.2.132 ([10.202.2.132] helo=www.fastmail.fm) by messagingengine.com with SMTP; Sat, 26 Jul 2003 11:15:45 -0400 Received: by www.fastmail.fm (Postfix, from userid 99) id D08B03948B; Sat, 26 Jul 2003 11:15:43 -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: "Russell Cattelan" , freebsd-hackers@freebsd.org Date: Sat, 26 Jul 2003 09:15:43 -0600 X-Epoch: 1059232545 X-Sasl-enc: pJRzga4wq4AvYZLU1shcdw References: <1059156388.34654.94.camel@rose.americas.sgi.com> In-Reply-To: <1059156388.34654.94.camel@rose.americas.sgi.com> Message-Id: <20030726151543.D08B03948B@www.fastmail.fm> Subject: Re: Console serial speed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2003 15:15:47 -0000 On 25 Jul 2003 13:06:28 -0500, "Russell Cattelan" said: > How does one set the serial speed of the console. > I changed the boot loader speed to 57600 in make.conf > but the kernel seems to chose random speeds each time > it's booted. > Sometimes it's 9600 sometimes it 115200 other times > it's 38400. > > Note this is on 5.x current > > Russell Cattelan Subject notes on setting up freebsd serial console -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