From owner-freebsd-current@FreeBSD.ORG Sun Jan 4 23:13:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9C3316A4CE for ; Sun, 4 Jan 2004 23:13:28 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B99243D1D for ; Sun, 4 Jan 2004 23:13:27 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 4F71F65339; Mon, 5 Jan 2004 07:13:25 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 69139-02-2; Mon, 5 Jan 2004 07:13:24 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.189]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 0F18465319; Mon, 5 Jan 2004 07:13:24 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 3F0CB1D; Mon, 5 Jan 2004 07:13:21 +0000 (GMT) Date: Mon, 5 Jan 2004 07:13:21 +0000 From: Bruce M Simpson To: Bruce Evans Message-ID: <20040105071321.GA63069@saboteur.dek.spc.org> References: <20040103233044.N17367@root.org> <20040104.003330.54786488.imp@bsdimp.com> <20040104150929.Y19715@root.org> <20040104.164103.03383403.imp@bsdimp.com> <20040105003803.GB59922@saboteur.dek.spc.org> <20040105162219.A3687@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040105162219.A3687@gamplex.bde.org> cc: current@freebsd.org cc: nate@root.org Subject: Re: Serial console only works after reboot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 07:13:28 -0000 On Mon, Jan 05, 2004 at 04:50:13PM +1100, Bruce Evans wrote: > It should use BOOT_COMCONSOLE_PORT and BOOT_CONSOLE_SPEED like boot2 > does. Ideally, yes. However an assembly language macro would be needed to stuff the appropriate divisor value into the BIOS call used to set the speed. There are hardly any bytes free in boot0; I had to shave strings to get enough space as it is. Doing sio directly bypassing the BIOS would require that the MBR be enlarged to 1024, rather than 512, bytes. This is one of the issues I originally had with the code being imported as-is however obrien was happy to take it anyway. I'm all for this being added if someone is willing to provide patches. BMS