From owner-freebsd-current@FreeBSD.ORG Tue Feb 23 13:29:37 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D58EB106566B for ; Tue, 23 Feb 2010 13:29:37 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 929E48FC16 for ; Tue, 23 Feb 2010 13:29:26 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA24377; Tue, 23 Feb 2010 15:29:11 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B83D821.6000207@icyb.net.ua> Date: Tue, 23 Feb 2010 15:29:05 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20100211) MIME-Version: 1.0 To: Renato Botelho References: <747dc8f31002220835g481b0baeqb1d6df32a79b7da2@mail.gmail.com> <747dc8f31002230318v384e0259mcfddbf137c0d5057@mail.gmail.com> In-Reply-To: <747dc8f31002230318v384e0259mcfddbf137c0d5057@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Chris Hedley , FreeBSD Current Subject: Re: Can't use USB keyboard during boot menu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 23 Feb 2010 13:29:37 -0000 on 23/02/2010 13:18 Renato Botelho said the following: > On Mon, Feb 22, 2010 at 7:35 PM, Chris Hedley > wrote: [snip] >> Do you have USB legacy support enabled in your BIOS? I'm not sure if >> there's an option for the loader to use USB devices natively, but the BIOS's >> legacy option where it provides AT/PS2 emulation is probably the easiest way >> to get the keyboard working. > > Yes, I do, but it seems to be a regression on FreeBSD itself, I had this problem > in the past and I checked the same things i need to check in the past again and > everything is fine. A more precise way to state that would be "a regression in FreeBSD boot/loader". I think that you are referring to the issue that was fixed by r189017. It might be worthwhile investigating what was done in that revision and what happened in sys/boot code since then. One possibility is that your BIOS uses memory above 1MB for USB emulation, but doesn't mark that memory as used in system memory map. In that case that memory could be overwritten by the loader. If that's true then the blame is on the BIOS. Alternatively, our code might be parsing the system memory map incorrectly. But I am just making wild guesses here. -- Andriy Gapon