From owner-freebsd-current@FreeBSD.ORG Tue Nov 16 20:05:16 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id CB79D106564A; Tue, 16 Nov 2010 20:05:14 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Patrick Lamaiziere Date: Tue, 16 Nov 2010 15:05:05 -0500 User-Agent: KMail/1.6.2 References: <201011152036.48181.jkim@FreeBSD.org> <20101116203348.3c1e6b4e@davenulle.org> In-Reply-To: <20101116203348.3c1e6b4e@davenulle.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <201011161505.07740.jkim@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: Re: [Call for Tests] PAT issue on Apple hardware 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, 16 Nov 2010 20:05:16 -0000 On Tuesday 16 November 2010 02:33 pm, Patrick Lamaiziere wrote: > Le Mon, 15 Nov 2010 20:36:42 -0500, > > Jung-uk Kim a écrit : > > Often times I hear complaints like "my Mac hangs after upgrading > > to 8.1" or "snapshot CD hangs on my brand new Mac". I know some > > of these complaints started happening when we switched to new PAT > > layout. It is so puzzling because it never happened on non-Apple > > hardware, AFAIK. I really like to fix this problem but I cannot > > afford a Mac. :-P > > Thanks. > > > If you are one of those lucky people, please test the attached > > patch and report your hardware model and any improvement or > > regression. > > Shall we test if the model is not listed in the patch and already > works fine? (I'm using a MacBookPro3,1 on FreeBSD 8.1) > > if (strncmp(sysenv, "MacBook5,1", 10) > strncmp(sysenv, "MacBookPro5,5", > strncmp(sysenv, "Macmini3,1", 10) > strncmp(sysenv, "iMac9,1", 7) == 0) There's no need if it already works fine. It seems the new PAT layout only broke recent models with NVidia chipset. Also, this patch won't apply to stable pmap.c. Actually, I am working on more complex version now. When I am done, I'll make patches for both branches. Thanks, Jung-uk Kim