From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 21:14:18 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 A052237B401 for ; Thu, 31 Jul 2003 21:14:18 -0700 (PDT) Received: from tolkor.sgi.com (tolkor.sgi.com [198.149.18.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id B93ED43F3F for ; Thu, 31 Jul 2003 21:14:15 -0700 (PDT) (envelope-from cattelan@xfs.org) Received: from flecktone.americas.sgi.com (flecktone.americas.sgi.com [192.48.203.135])ESMTP id h6VKY4sR000884; Thu, 31 Jul 2003 15:34:04 -0500 Received: from daisy-e236.americas.sgi.com (daisy-e236.americas.sgi.com [128.162.236.214])ESMTP id h6VKEdQK3638563; Thu, 31 Jul 2003 15:14:39 -0500 (CDT) Received: from [128.162.232.98] (rose.americas.sgi.com [128.162.232.98]) by daisy-e236.americas.sgi.com (8.12.9/SGI-server-1.8) with ESMTP id h6VKEcRn198502801; Thu, 31 Jul 2003 15:14:39 -0500 (CDT) From: Russell Cattelan To: Doug Ambrisko In-Reply-To: <200307302158.h6ULwieJ059063@www.ambrisko.com> References: <200307302158.h6ULwieJ059063@www.ambrisko.com> Content-Type: text/plain Message-Id: <1059682298.87235.3.camel@rose.americas.sgi.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 31 Jul 2003 20:11:38 +0000 Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org 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: Fri, 01 Aug 2003 04:14:18 -0000 On Wed, 2003-07-30 at 21:58, Doug Ambrisko wrote: > Russell Cattelan writes: > | 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 > > You might want to check sys/isa/sio.c in function siocngetspeed. > I comment out the "return (rclk / (16UL * divisor));" on some of my > stable boxes. I've seen a few motherboards that result in a messed > up console if I don't do it (ie. wrong speed). I changed the return val to be CONSPEED. The machine now boots with the console speed correctly set to 57600 Thanks... suppose a proper fix would be good :-) > > Doug A.