From owner-freebsd-stable@FreeBSD.ORG Tue Sep 29 19:38:09 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 3F3671065672; Tue, 29 Sep 2009 19:38:09 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id EAFE98FC13; Tue, 29 Sep 2009 19:38:08 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 18FD11E006D4; Tue, 29 Sep 2009 21:38:08 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n8TJZmek053615; Tue, 29 Sep 2009 21:35:48 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id n8TJZlpi053614; Tue, 29 Sep 2009 21:35:47 +0200 (CEST) (envelope-from nox) Date: Tue, 29 Sep 2009 21:35:47 +0200 (CEST) From: Juergen Lock Message-Id: <200909291935.n8TJZlpi053614@triton8.kn-bremen.de> To: alc@cs.rice.edu X-Newsgroups: local.list.freebsd.stable In-Reply-To: <4AC0F173.10300@cs.rice.edu> References: <200909232322.51060.doconnor@gsoft.com.au> <200909260824.39985.doconnor@gsoft.com.au> <4ABE81C5.2010009@cs.rice.edu> <200909281134.04010.doconnor@gsoft.com.au> Organization: home 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: Tue, 29 Sep 2009 19:38:09 -0000 In article <4AC0F173.10300@cs.rice.edu> you write: >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. Btw I had reported the same issue back in June already, http://lists.freebsd.org/pipermail/freebsd-current/2009-June/008709.html and yes your patch fixes it for me too. Thanx! (And of the other two issues mentioned in the next posting, http://lists.freebsd.org/pipermail/freebsd-current/2009-June/008711.html the tdq_notify trap appears to be solved, but the ata issue was never fixed, I had to work around it by putting the affected optical drive on a pcie sata card driven by siis(4).) Cheers, Juergen