From owner-freebsd-current@FreeBSD.ORG Fri May 27 17:45:16 2011 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 3D3631065670; Fri, 27 May 2011 17:45:16 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C9E9C8FC08; Fri, 27 May 2011 17:45:15 +0000 (UTC) Received: by vws18 with SMTP id 18so2140166vws.13 for ; Fri, 27 May 2011 10:45:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=f8l4DiXZg5p3Qe62CCKp+wbpA7FtrDMbNQRgG4IMJAg=; b=bHUBjDA02K7GLuZ9hTilS+SWAG4FWcMrS8JrhgU2Bof98KtmlVmDuzk+O1iT9MRiA8 +bfnX3O9HY1ME3FJrPhL9zwCtYqO6P/Ql3sgotlVPsM4ET1XHSGpK93x8yEaldUchpYh eIkFm7KDKnlZuO0KqR5far76d/oOQdRW8rbaI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DW9LjIDKXOanRDeYraO1H65qhMmeB6HHaMsTUnvqT/oMt+VQf6w97dX0MyEu6rZ7Rv QyEJ3Lew70WUH1rnJCceeoHi2hPxs2aVOqTEsGr6+9z+anwNKinxLwy8FUMI/S9bzdGW CcbsOh9IY/ovNgCXrJWLkvjA6HP+2UDq2ZoYg= MIME-Version: 1.0 Received: by 10.52.97.7 with SMTP id dw7mr3276420vdb.109.1306516460293; Fri, 27 May 2011 10:14:20 -0700 (PDT) Received: by 10.52.114.165 with HTTP; Fri, 27 May 2011 10:14:20 -0700 (PDT) In-Reply-To: References: <4DD4048F.8030207@delphij.net> Date: Fri, 27 May 2011 10:14:20 -0700 Message-ID: From: Xin LI To: Johannes Dieterich Content-Type: text/plain; charset=UTF-8 Cc: "George V. Neville-Neil" , freebsd-current@freebsd.org, Jung-uk Kim Subject: Re: Boot halts on Thinkpad X220 (Sandy Bridge) 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: Fri, 27 May 2011 17:45:16 -0000 On Thu, May 19, 2011 at 5:18 AM, Johannes Dieterich wrote: > On Wed, May 18, 2011 at 7:40 PM, Xin LI wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> Try this patch? >> > The attached patch makes 9-CURRENT-amd64 boot on the X220 w/o any hints or > BIOS fixes needed. Thanks a lot! :-) > > > >> >> (I'm still opted to disable the typematic rate detection by default at >> least for amd64, as we don't do it in the past for amd64) >> > What does this mean concerning getting the fix into CURRENT? Well, that's not a perfect fix and we do lose the ability of detecting typematic rate (by default), so technically it's a workaround (sufficient to make the kernel boot and work, though) and doesn't fix anything. I have committed it anyway since we do not have better fix (yet), and have updated atkbd(4) manual page so one can enable it again when wanted. The problem we had was that it seems that running the BIOS in the x86emu emulator on amd64 would cause problem. This doesn't seem to be fixable without hands-on experiments on a system in question, it's either a BIOS bug or an emulator bug. The strange part of the problem is that the functionality is quite common in the Good Old Days (TM). Cheers, -- Xin LI http://www.delphij.net