From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 24 07:47:57 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 91AEA16A4CE for ; Wed, 24 Nov 2004 07:47:57 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B35643D46 for ; Wed, 24 Nov 2004 07:47:57 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1CWrsZ-000D3U-V4; Wed, 24 Nov 2004 09:47:56 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-Reply-To: Message from des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) of "Tue, 23 Nov 2004 15:33:47 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Wed, 24 Nov 2004 09:47:55 +0200 From: Danny Braniss Message-Id: <20041124074757.3B35643D46@mx1.FreeBSD.org> 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 07:47:57 -0000 > The console driver (sc) currently requires you to have at least one > keyboard driver compiled in. Since your board doesn't have a display > adapter, you can simply remove 'device sc'. > = the kbd.c was getting compiled in, and complained, but i think that's taken care of. I solved it by adding hint.atkbdc.0.disabled=3D"1". As I wrote before, 'it would be nice', if such fantom devices could be detected at boot time, so the same fs/root/kernel could work on 'similar' platforms out-of-the-box. with the kbd, i found where it was lo= oping, in 'atkbdc.c: empty_both_buffers', but got lost trying to figure out how to get out of it (specialy since there is no kbd/buffer :-). > from an earlier message: > = > > btw, this board doesn't have a vga either, and only after i removed > > it from the kernel config did i begin to see some output on the > > serial line. > = > If the VGA driver is present, the system will assume you want to use a > VGA console, unless you force one of the serial ports to become the > system console by setting the appropriate hint in device.hints or > loader.conf as documented in the sio(4) man page. For instance: > = > hint.sio.0.flags=3D"0x30" > = > forces sio0 to become the system console regardless of the presence of > a display adapter. > = > You may also have to tell the boot code and loader to use the serial > console; see their respective manual pages. > im using hint.sio.0.flags=3D"0x20", and still, only after i removed the v= ga from the config file did i get the console output on the serial line. i'm using boot0sio, so the boot is also talking via the serial, but the B= TX is still using the vga, compiling it to use the serial gave errors. danny