From owner-freebsd-current@FreeBSD.ORG Fri Oct 29 09:55:25 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 6114F16A4CE for ; Fri, 29 Oct 2004 09:55:25 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3440C43D2F for ; Fri, 29 Oct 2004 09:55:25 +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 i9T9trI9025416; Fri, 29 Oct 2004 02:55:53 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i9T9tpDj025412; Fri, 29 Oct 2004 02:55:51 -0700 Date: Fri, 29 Oct 2004 02:55:51 -0700 From: Brooks Davis To: Joe Marcus Clarke Message-ID: <20041029095551.GA23911@odin.ac.hmc.edu> References: <1098850867.51833.14.camel@shumai.marcuscom.com> <1098862658.1062.3.camel@localhost> <20041027110528.T91011@treo.operax.com> <20041028123001.GF8588@odin.ac.hmc.edu> <418138D0.6090304@marcuscom.com> <20041028210448.GC2411@odin.ac.hmc.edu> <1099011448.40994.7.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <1099011448.40994.7.camel@shumai.marcuscom.com> 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: Vladimir Grebenschikov cc: "current@freebsd.org" cc: Johan Larsson Subject: Re: Installing on a machine with no PS/2 ports (USB only) 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, 29 Oct 2004 09:55:25 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 28, 2004 at 08:57:29PM -0400, Joe Marcus Clarke wrote: > On Thu, 2004-10-28 at 17:04, Brooks Davis wrote: > > On Thu, Oct 28, 2004 at 02:22:08PM -0400, Joe Marcus Clarke wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > >=20 > > > Brooks Davis wrote: > > > | On Wed, Oct 27, 2004 at 11:06:04AM +0200, Johan Larsson wrote: > > > | > > > |>Hello! > > > |> > > > |>On Wed, 27 Oct 2004, Vladimir Grebenschikov wrote: > > > |> > > > |> > > > |>>? ??, 27/10/2004 ? 00:21 -0400, Joe Marcus Clarke ?????: > > > |>> > > > |>>>The more I look into this, the more it looks like I'm screwed. I= 'm > > > |>>>trying to install FreeBSD 5.3-RC1 from CD on a machine without an= y PS/2 > > > |>>>ports. All I have is a USB keyboard. Yes, the BIOS has legacy U= SB > > > |>>>support enabled, and the keyboard works to hit enter at the initi= al boot > > > |>>>prompt. However, once I'm in sysinstall, I'm out of luck. > > > |>>> > > > |>>>I tried disconnecting the keyboard at boot time to see if I could= get a > > > |>>>serial console to do the installation, but that didn't work. The > > > |>>>console was still detected as internal video. Any ideas on how I= can > > > |>>>get FreeBSD on this machine (Dell OptiPlex GX280)? Thanks. > > > |>> > > > |>>Yes, instruct kernel to put console on serial from loader prompt > > > |>>( I guess something like > > > |>> OK set hint.sio.0.flags=3D"0x10" > > > |>> OK boot -h > > > |>> or like > > > |>> ) > > > |>> > > > |> > > > |>We installed RC1 on a GX280 recently, and the only thing we had to = do to > > > |>get the usb keyboard working was to set the following in the loader: > > > |> > > > |>set hint.atkbd.0.flags=3D"0x1" > > > |> > > > |>And to make it resident, put it in the /boot/device.hints after the > > > |>installation. > > > | > > > | > > > | This is supposed to be being set on the release CDs. The test CD I > > > | posted links to uses nearly the same code I committed. I'm going > > > | to have to see if I can tear an ISO apart to verify what's on it. > > > | Unfortunately, my hotel has a 150MB cap (f-ing ridiculous for 29 Eu= ros). > > >=20 > > > Did your changes make it into 5.3-RC1? > >=20 > > Yes, they should have made it in to BETA 3 or 4, I can't remember which. >=20 > Well, I can confirm that the mini-ISO for 5.3-RC1 did not have support > for a USB keyboard. As soon as I set atkbd.0.flags to 0x1 (thanks to > Vladimir and Johan's suggestions), it worked flawlessly. It appears the changes I committed were a no-op. I'll try and figure out what happened, but at four hours per run that's quite time consuming. I've added code to your patch to only display this menu on i386 (amd64 thinks it's an i386 in the loader). -- 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 --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBghOnXY6L6fI4GtQRAur3AJ9fEyTHX5a/yosDOFUMFEMm9yElHQCgi9ex 9bsv4nudtaBVcXSBFolOMTc= =amXM -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--