From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 24 12:47:33 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C92416A4CE for ; Wed, 24 Nov 2004 12:47:33 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A84A43D1D for ; Wed, 24 Nov 2004 12:47:32 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 156245313; Wed, 24 Nov 2004 13:47:31 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id EA9BB5311; Wed, 24 Nov 2004 13:47:15 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 9C1BCB85E; Wed, 24 Nov 2004 13:47:15 +0100 (CET) To: Danny Braniss References: <20041124074757.3B35643D46@mx1.FreeBSD.org> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Wed, 24 Nov 2004 13:47:15 +0100 In-Reply-To: <20041124074757.3B35643D46@mx1.FreeBSD.org> (Danny Braniss's message of "Wed, 24 Nov 2004 09:47:55 +0200") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.64 cc: hackers@freebsd.org Subject: Re: A20/keybord/no-keyboard X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 12:47:33 -0000 Danny Braniss writes: > im using hint.sio.0.flags=3D"0x20", and still, only after i removed > the vga from the config file did i get the console output on the > serial line. 0x20 (COM_FORCECONSOLE) isn't enough, you have to use 0x30 (COM_FORCECONSOLE | COM_CONSOLE). COM_FORCECONSOLE is ignored if COM_CONSOLE isn't set. > i'm using boot0sio, so the boot is also talking via the serial, but > the BTX is still using the vga, compiling it to use the serial gave > errors. There's no need to recompile anything; the third-stage loader will automatically use the serial console if the second-stage loader does (i.e. /boot.config contains -h). The reason why there are two versions of the first-stage loader is that space constraints preclude supporting both VGA and serial in the same code. The second- and third-stage loaders have no such constraints. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no