From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 3 15:33:29 2008 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 BB9CE1065677 for ; Thu, 3 Jul 2008 15:33:29 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id AA1B88FC17 for ; Thu, 3 Jul 2008 15:33:29 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 8FA371CC071; Thu, 3 Jul 2008 08:33:29 -0700 (PDT) Date: Thu, 3 Jul 2008 08:33:29 -0700 From: Jeremy Chadwick To: Danny Braniss Message-ID: <20080703153329.GA58662@eos.sc1.parodius.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org Subject: Re: serial console speed 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, 03 Jul 2008 15:33:29 -0000 On Thu, Jul 03, 2008 at 05:34:27PM +0300, Danny Braniss wrote: > > On Thu, Jul 03, 2008 at 03:21:14PM +0300, Danny Braniss wrote: > > > it seems that there is no way to change the speed/baudrate of the serial > > > console, for example, by turning it off in /etc/ttys, and running > > > tip(1) with different speeds has no effect, it always > > > stays at the kernel configured speed. > > > > > > is this by design? > > > > Yes. > > why? > > to add some more 'issues', setting > hint.sio.1.flags="0x10" > does the redirection correctly but does not fix the speed to CONSPEED, and > stays at 9600. (BTW, this used to work). The 9600 limitation is out-of-the-box. Despite what may seem logical, in my experiences the console serial port speed on FreeBSD is "limited" to a maximum of 9600bps unless you either use the -S flag in /boot.config (e.g. -S115200), or loader.conf variables to adjust the speed. Others will have to answer your remaining questions. > setting the serial speed means, > compiling correctly btx, pxeboot, kernel, ilo. > now it seems that any info in /boot.config or /boot/loader.conf is also > ignored. This part is flat out incorrect. You no longer have to rebuild anything, you can simply place -S115200 in /boot.config and it will work. I know, because every single one of our production servers (RELENG_6 through RELENG_7) use this. We **do not** rebuild boot blocks. Please read this document for my findings. http://jdc.parodius.com/freebsd/pxeboot_serial_install.html -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |