From owner-freebsd-i386@FreeBSD.ORG Sun Nov 18 18:26:29 2007 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D74F16A419; Sun, 18 Nov 2007 18:26:29 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id F197C13C467; Sun, 18 Nov 2007 18:26:28 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id C86BA1CCB1; Sun, 18 Nov 2007 19:26:23 +0100 (CET) Date: Sun, 18 Nov 2007 19:26:23 +0100 From: Ed Schouten To: Rui Paulo Message-ID: <20071118182623.GX17028@hoeg.nl> References: <4A5A9C78-22AC-4480-BDEB-A72F6CF472DB@fnop.net> <200711121351.58616.jhb@freebsd.org> <200711121611.37781.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8VKnE9k7k7imdYv5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Current , freebsd-i386@freebsd.org, John Baldwin , freebsd-hardware@freebsd.org Subject: Re: MacBook users: possible fix for the SMP problem X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 18:26:29 -0000 --8VKnE9k7k7imdYv5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, * Rui Paulo wrote: > On Nov 12, 2007 9:11 PM, John Baldwin wrote: > > I'm not sure where exactly one would add it, but I don't think the RTC = clock > > routine is the right place. Maybe do it at the start of cpu_startup() = in > > machdep.c instead? >=20 > That works for me. >=20 > See the attached patch. I'm the proud owner of a 3rd generation MacBook (the ones that got released about two weeks ago). For some reason, pressing the power button won't help on those models, so we really need to patch the kernel in those cases. I just merged the patch on AMD64 and I'm currently compiling a new install CD to test it. I'll let you know whether it works. Thanks a lot! --=20 Ed Schouten WWW: http://g-rave.nl/ --8VKnE9k7k7imdYv5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHQIPP52SDGA2eCwURAhncAJ4jCg4yFVgukieh1dbLp5zTw5X6LwCeMswx BIJ3S9SRJsgZUK9fIOIWaSA= =9rat -----END PGP SIGNATURE----- --8VKnE9k7k7imdYv5--