From owner-freebsd-stable@FreeBSD.ORG Sun Feb 26 01:56:23 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFDBC16A420 for ; Sun, 26 Feb 2006 01:56:23 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from nowhere.iedowse.com (nowhere.iedowse.com [82.195.144.75]) by mx1.FreeBSD.org (Postfix) with SMTP id F386943D46 for ; Sun, 26 Feb 2006 01:56:22 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from localhost ([127.0.0.1] helo=iedowse.com) by nowhere.iedowse.com via local-iedowse id ; 26 Feb 2006 01:56:20 +0000 (GMT) To: Dimitry Andric In-Reply-To: Your message of "Sun, 26 Feb 2006 02:40:17 +0100." <44010701.1050007@andric.com> Date: Sun, 26 Feb 2006 01:56:20 +0000 From: Ian Dowse Message-ID: <200602260156.aa34941@nowhere.iedowse.com> Cc: stable@freebsd.org, Ed Maste Subject: Re: RELENG_6: serial console drops back from 115200 to 9600 baud X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 01:56:23 -0000 In message <44010701.1050007@andric.com>, Dimitry Andric writes: >Okay, but why did 4.x through 5.x through 6.x (these have all been on >this particular machine) always boot with 115200 until now? :) They probably used 9600 for the boot blocks, and then switched to 115200 when /boot/loader started, so you didn't notice. Now the settings from the boot blocks get used by /boot/loader. >Anyway, I also thought that installworld would take care of installing >any updated boot blocks, if necessary. I'll manually install them and >see what I end up with. Boot blocks need to be installed manually - installworld installs the boot blocks as files in /boot/boot{1,2}, but when booting, it is the boot blocks in the first 8k of the slice that are used, not the /boot/boot{1,2} files. >Ah, but notice that I didn't use boot0sio, but the regular boot0. It >seems the serial port speed setting is compiled out in the latter >version. Hence the port speed will be the BIOS default, which I alas >can't change; it's always 9600n1. The boot blocks in question here are the ones installed inside the slice (boot1 and boot2), rather than the boot0 MBR boot code, which is installed in the very first sector of the disk. The boot0 boot manager selects which slice to boot from, and then it invokes the boot{1,2} blocks within the slice, they load /boot/loader and it loads the kernel. Ian