From owner-freebsd-stable@FreeBSD.ORG Tue Nov 16 20:30:29 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 482A8106566C; Tue, 16 Nov 2010 20:30:29 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org, freebsd-stable@FreeBSD.org Date: Tue, 16 Nov 2010 15:30:18 -0500 User-Agent: KMail/1.6.2 References: <201011152036.48181.jkim@FreeBSD.org> In-Reply-To: <201011152036.48181.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011161530.20165.jkim@FreeBSD.org> Cc: Ed Schouten , 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: Tue, 16 Nov 2010 20:30:29 -0000 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 Thanks! Jung-uk Kim