From owner-freebsd-stable@FreeBSD.ORG Mon Nov 22 18:09:12 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 9A2C81065675; Mon, 22 Nov 2010 18:09:12 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: "army.of.root" Date: Mon, 22 Nov 2010 13:08:55 -0500 User-Agent: KMail/1.6.2 References: <201011152036.48181.jkim@FreeBSD.org> <201011191354.25486.jkim@FreeBSD.org> <4CE9A83E.8010005@googlemail.com> In-Reply-To: <4CE9A83E.8010005@googlemail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011221308.58119.jkim@FreeBSD.org> Cc: Ed Schouten , freebsd-current@FreeBSD.org, freebsd-stable@FreeBSD.org, Hans Petter Selasky Subject: Re: [Call for Tests] PAT issue on Apple hardware X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 18:09:12 -0000 On Sunday 21 November 2010 06:16 pm, army.of.root wrote: > On 10\11\19 19:54, Jung-uk Kim wrote: > > On Tuesday 16 November 2010 03:30 pm, Jung-uk Kim wrote: > >> On Monday 15 November 2010 08:36 pm, Jung-uk Kim wrote: > >>> 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 > >>> > >>> If you are one of those lucky people, please test the attached > >>> patch and report your hardware model and any improvement or > >>> regression. > >>> > >>> Also, I added a new tunable "vm.pmap.pat_works" so that you can > >>> turn it off from loader (i.e., "set vm.pmap.pat_works=0") and > >>> restore old behaviour without recompiling a new kernel. > >> > >> I revised this patch to make it more robust. > >> > >> http://people.freebsd.org/~jkim/pat-current.diff > >> > >> Also, I prepared a patch for stable/8. If you have recent Apple > >> hardware and it hangs with 8.1 or stable/8, please test this > >> patch. > >> > >> http://people.freebsd.org/~jkim/pat-stable.diff > > > > Anyone? I don't want to commit it blindly. :-( > > > > Jung-uk Kim > > > > Hi, > > I patched the current 8.1-STABLE snapshot CD's kernel and baked it > back into the iso. > > Before the patch, the kernel would hang, now the livefs cd boots > fine on my MacBookPro5,5 (2009 13" alu). > > Thank you so much ! - I love it. > > I attached a dmesg. - Please ask if you need more information, I'd > be happy to help. > > Keep up the awesome work :) I'll commit the patch to -current shortly. Thanks for testing! Jung-uk Kim