From owner-freebsd-smp@FreeBSD.ORG Fri May 11 10:55:42 2007 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13A7D16A406 for ; Fri, 11 May 2007 10:55:42 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id 8094013C469 for ; Fri, 11 May 2007 10:55:41 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id 10BAE69092C; Fri, 11 May 2007 11:55:36 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id C446A69099D; Fri, 11 May 2007 11:55:35 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=AWL, BAYES_00, FORGED_RCVD_HELO, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-155-78.net.novis.pt [87.196.155.78]) by core.fnop.net (Postfix) with ESMTP id 58BCD69092C; Fri, 11 May 2007 11:55:35 +0100 (WEST) Date: Fri, 11 May 2007 11:55:38 +0100 Message-ID: <86ps57pr2t.wl%rpaulo@fnop.net> From: Rui Paulo To: "Florian C. Smeets" In-Reply-To: <46444339.6030707@kasimir.com> References: <86sla45iq9.wl%rpaulo@fnop.net> <46444339.6030707@kasimir.com> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-smp@freebsd.org Subject: Re: Fixing SMP on MacBooks X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2007 10:55:42 -0000 At Fri, 11 May 2007 12:19:37 +0200, Florian C. Smeets wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Rui Paulo wrote: > > Hi, > > Hi! > > > I would like to bring this discussion to a wider audicence. > > > > So, here's the problem: > > As some of you already know, the second core on Apple's MacBooks fails > > to start. There are two nasty tricks to make it start (both involve > > interactivity from the user) that I know of. > > > > They are: > > 1) Press the power button during the IPI timeout; > > 2) Press a key [1] before the IPIs are sent *OR* during the > > IPI timeout. > > > > [1] This is really an interrupt. Pressing the Fn key doesn't work > > because the Fn key doesn't generate an interrupt. > > > > There tricks don't work on the MacBook Pro. While the source of the > > problem might be the same, it's not clear why the tricks work. > > > > Well i was able to boot a 7-CURRENT snapshot from February or March on a > first rev. MBP and it did recognize the second core when pressing the > power button right after this line: > > ACPI APIC Table: > > This used to work reliably. Have you tried pressing a key? I also have a first rev MBP and it works. > Thanks for working on the MacBook support for FreeBSD! I will be setting > up a partition for FreeBSD again this weekend. So if you have anything > to test you can count me in :-) No problem. I have drivers for the backlight and the CPU temperature if you want to test. I also have a fix for CPU frequency scaling. -- Rui Paulo