From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 22:23:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E52B01065670 for ; Thu, 10 Nov 2011 22:23:43 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from chimaera.otenet.gr (chimaera.otenet.gr [83.235.69.15]) by mx1.freebsd.org (Postfix) with ESMTP id 981418FC0A for ; Thu, 10 Nov 2011 22:23:43 +0000 (UTC) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by chimaera.otenet.gr (ESMTP) with ESMTP for ; Fri, 11 Nov 2011 00:23:41 +0200 (EET) Received: from [192.168.0.150] (athedsl-4364788.home.otenet.gr [79.130.9.228]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id pAAMNcqO020745 for ; Fri, 11 Nov 2011 00:23:41 +0200 Message-ID: <4EBC4EF3.3080404@otenet.gr> Date: Fri, 11 Nov 2011 00:23:47 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: changing baud rate without recompiling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 22:23:44 -0000 On 9/11/2011 11:11 πμ, saeedeh motlagh wrote: > i know adding the "COM_CONSOLE_SPEED=115200" to make.conf and > recompile it, change the baud rate but i want to know if there is a > way to change it without recompiling. > please let me know if there is any way to do that. > my FreeBSD is 8.0 > > thanks. I am using a serial console at 115200 bps. Like you, I've added comconsole_speed="115200" to /boot/loader.conf and nothing happened. After booting, the serial terminal works at 115200 - but that's because of the /etc/ttys entry (which of course is not used until the end of booting). For the actual console to work at this speed so you can see the boot messages, it seems the only way is to recompile and reinstall the boot blocks. This takes very little time however: # cd /usr/src/sys/boot # make clean # make BOOT_COMCONSOLE_SPEED=115200 # make install No need to recompile the kernel or any other part of the base system.