From owner-freebsd-stable@FreeBSD.ORG Mon Sep 28 17:25:17 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E4C21065670; Mon, 28 Sep 2009 17:25:17 +0000 (UTC) (envelope-from alc@cs.rice.edu) Received: from mail.cs.rice.edu (mail.cs.rice.edu [128.42.1.31]) by mx1.freebsd.org (Postfix) with ESMTP id 122DB8FC1F; Mon, 28 Sep 2009 17:25:16 +0000 (UTC) Received: from mail.cs.rice.edu (localhost.localdomain [127.0.0.1]) by mail.cs.rice.edu (Postfix) with ESMTP id 6FF6C2C2C56; Mon, 28 Sep 2009 12:25:16 -0500 (CDT) X-Virus-Scanned: by amavis-2.4.0 at mail.cs.rice.edu Received: from mail.cs.rice.edu ([127.0.0.1]) by mail.cs.rice.edu (mail.cs.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LQLlEJ-x50Td; Mon, 28 Sep 2009 12:25:08 -0500 (CDT) Received: from adsl-216-63-78-18.dsl.hstntx.swbell.net (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.rice.edu (Postfix) with ESMTP id 4849A2C2AEB; Mon, 28 Sep 2009 12:25:08 -0500 (CDT) Message-ID: <4AC0F173.10300@cs.rice.edu> Date: Mon, 28 Sep 2009 12:25:07 -0500 From: Alan Cox User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Daniel O'Connor References: <200909232322.51060.doconnor@gsoft.com.au> <200909260824.39985.doconnor@gsoft.com.au> <4ABE81C5.2010009@cs.rice.edu> <200909281134.04010.doconnor@gsoft.com.au> In-Reply-To: <200909281134.04010.doconnor@gsoft.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Attilio Rao , alc@freebsd.org, freebsd-stable@freebsd.org, John Baldwin Subject: Re: 8.0-RC1 panic attaching ppc 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, 28 Sep 2009 17:25:17 -0000 Daniel O'Connor wrote: > On Sun, 27 Sep 2009, Alan Cox wrote: > >> Ok, now I can explain what is happening. The kernel is using 1GB >> pages to implement the direct map. Unfortunately, pmap_extract() >> doesn't know how to handle a 1GB page mapping. pmap_kextract() only >> works by an "accident" of its different implementation. In other >> words, it should not be relied upon to work either. >> >> Please revert whatever patch John gave you and try the attached >> patch. It simply disables the use of 1GB page mapping by the direct >> map. >> > > Your patch fixes (works around?) the problem. > Thanks. I've committed the patch. Yes, it's a work around. Fortunately(?), on my test machine, I don't see any measurable effect from disabling the use of 1GB pages by the direct map. Alan