From owner-freebsd-current@FreeBSD.ORG Fri Oct 8 05:28:05 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 2CAD516A4CE; Fri, 8 Oct 2004 05:28:05 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A53143D2F; Fri, 8 Oct 2004 05:28:05 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i985S7vW018916; Thu, 7 Oct 2004 22:28:07 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i985S7mf018914; Thu, 7 Oct 2004 22:28:07 -0700 Date: Thu, 7 Oct 2004 22:28:07 -0700 From: Brooks Davis To: Don Lewis Message-ID: <20041008052807.GA18359@odin.ac.hmc.edu> References: <20041008043733.GA9549@odin.ac.hmc.edu> <200410080506.i9856m1e060429@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <200410080506.i9856m1e060429@gw.catspoiler.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: current@FreeBSD.org Subject: Re: Installing 5.3-BETA7 without PS/2 keyboard 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: Fri, 08 Oct 2004 05:28:05 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 07, 2004 at 10:06:48PM -0700, Don Lewis wrote: > On 7 Oct, Brooks Davis wrote: > > On Fri, Oct 08, 2004 at 12:12:22AM -0400, Rajappa Iyer wrote: > >> Hi, > >>=20 > >> I hope someone can help me out here. I have a machine with > >> no PS/2 connectors... so I only have USB keyboard. I have turned > >> on the BIOS emulation of keyboard -- the boot loader seems to see > >> it fine. But once FreeBSD boots, then it is no longer able to > >> see the keyboard. > >>=20 > >> I tried disabling the atkbd and atkbdc, but it still finds and > >> attaches kbd0 to atkbd and kbd1 to the USB keyboard. > >>=20 > >> Any way out of this situation? > >=20 > > Sounds like your BIOS is too smart for it's own good. It emulates > > enough of the keyboard for atkbd to to probe, but then ukbd finds the > > keyboard and breaks it. Does the same thing happen if you disable > > emulation? (I suspect it does). If so, you may need to install by > > sticking the disk in something else and installing there. One other > > idea, if you can disable ukbd that may keep the keyboard from being > > initalized which should keep the emulation work. >=20 > This sounds a lot like what I ran into with my Athlon XP machine in the > early days of 5.x. I set up the machine to dual boot FreeBSD 5.x and > RedHat Linux using GRUB to select the OS. If I was using a USB keyboard > and keyboard emulation was off, I couldn't interact with the loader, and > I don't think I could interact with GRUB either. If keyboard emulation > was enabled, FreeBSD stumbled across atkbd and atkbdc and ignored the > USB keyboard once it booted. If I could get in over the network, I > could use kbdcontrol to switch enable access to the USB keyboard. This > was sometimes a problem because neither the BIOS nor FreeBSD saw the fxp > card when the machine was first powered on. Letting the machine boot > part way and hitting the reset button, or logging on and rebooting would > cause fxp0 to appear, though the latter method could not be done > remotely ... >=20 > RedHat 7.3 automagically used the USB keyboard. >=20 > These days I'm using the PS/2 ports via a KVM switch, so I have no idea > if this is still a problem. 5.3 will work fine in multiuser mode once you have it installed. The problem is that a number of machines emulate enough of the AT keyboard that we pick it up. The flags are supposed to prevent attaching a keyboard when none actually exists, but on some systems that don't work. We actually have the flags set on the install media and it does help some people. Unfortunatly, these system with emulation are becoming more and more common. We should have a fix by 5.4. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBZiVmXY6L6fI4GtQRAvYPAKDjY0kq7dhFNgQ2jyQUAh9JVqwkfACfbYWJ B8Z2uu46B47LY4H5yf3zIa4= =/H2m -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--