Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2006 00:34:01 +0000
From:      Ian Dowse <iedowse@iedowse.com>
To:        Dimitry Andric <dimitry@andric.com>
Cc:        stable@freebsd.org, Ed Maste <emaste@phaedrus.sandvine.ca>
Subject:   Re: RELENG_6: serial console drops back from 115200 to 9600 baud 
Message-ID:  <200602260034.aa33612@nowhere.iedowse.com>
In-Reply-To: Your message of "Sun, 26 Feb 2006 00:23:59 %2B0100." <4400E70F.2020902@andric.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <4400E70F.2020902@andric.com>, Dimitry Andric writes:
>Ed Maste wrote:
>> The way this is supposed to work is that you can put -S<speed>
>> in /boot.config, which gets used by boot2, and the loader then
>> detects that the serial console is already in use and defaults
>> to the existing speed.
>
>Ah, I didn't try that yet.  However, I would expect that the
>BOOT_COMCONSOLE_SPEED override in /etc/make.conf would simply continue
>to work as it had.
>
>
>> comconsole_speed="115200" in loader.conf should override it
>> if you don't want to replace boot2 or change /boot.config.
>
>Yes, I've tried this, but it didn't work, or maybe I just didn't try
>hard enough. :)  I'll try it again with the 1.10.10.1 rev of comconsole.c.

The problem may be that your boot blocks were compiled with
BOOT_COMCONSOLE_SPEED set to 9600. Try reinstalling them with e.g.
`disklabel -B ad0s1' (make sure you get the right device name -
it should be the slice that you boot from).

Previously both /boot/loader and the boot blocks would override the
serial port speed according to BOOT_COMCONSOLE_SPEED, but I believe
that since the recent change, loader will assume that if the boot
blocks requested a serial console, then they will have already set
up the correct speed.

Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602260034.aa33612>