From owner-freebsd-current@FreeBSD.ORG Mon Nov 5 18:18:21 2007 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 3571D16A420 for ; Mon, 5 Nov 2007 18:18:21 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id D327813C4C3 for ; Mon, 5 Nov 2007 18:18:20 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id lA5IIBFr039029; Mon, 5 Nov 2007 11:18:11 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <472F5E62.4080406@samsco.org> Date: Mon, 05 Nov 2007 11:18:10 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: Rui Paulo References: <4A5A9C78-22AC-4480-BDEB-A72F6CF472DB@fnop.net> <20071104231422.GA82337@rink.nu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Mon, 05 Nov 2007 11:18:11 -0700 (MST) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Rink Springer , freebsd-hardware@freebsd.org, freebsd-current@freebsd.org Subject: Re: MacBook users: possible fix for the SMP problem 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: Mon, 05 Nov 2007 18:18:21 -0000 Rui Paulo wrote: > On Nov 4, 2007 11:14 PM, Rink Springer wrote: >> Hi Rui, >> >> On Sun, Nov 04, 2007 at 08:59:28PM +0000, Rui Paulo wrote: >>> Note: this is still a hack. I'm still thinking about a way to >>> correctly identify on which systems we need to apply this fix. >> This indeed looks hackikly - I don't know whether it's possible to >> distinguish between a 'normal' PC or a MacBook - but if this is not >> possible, maybe a kernel option is in order? > > It's possible to distinguish between a MacBook and a PeeCee via smbios > vendor strings. > But what I actually wanted was something more general. > > Regards. Turning this on universally should only affect USB keyboard operation in KDB early in boot (or if the USB drivers were omitted during boot). It sounds like this affects clock calibration on other systems, not just Macs. So I'd vote for this being made into a negative option, i.e. options ENABLE_ICH_USB_LEGACY That'll at least let people boot with a GENERIC kernel and then decide for themselves if they want it enabled or disabled. It could also be made into tunable and set via the loader menu, but I'd only advocate that if there were found to be other side effects that prevented some users from booting with GENERIC. Anyways, good job figuring this out. Talk about an obscure problem. Now I don't feel so bad about spending days in vain going line-by-line through the AP startup code looking for the problem. Scott