From owner-freebsd-ppc@FreeBSD.ORG Mon Dec 13 00:51:56 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B793106564A for ; Mon, 13 Dec 2010 00:51:56 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF378FC13 for ; Mon, 13 Dec 2010 00:51:55 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 0B33C582C0; Sun, 12 Dec 2010 18:51:55 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id FxP0ljpAUoPZ; Sun, 12 Dec 2010 18:51:54 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-71-150-248-187.dsl.mdsnwi.sbcglobal.net [71.150.248.187]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 6576E582A6; Sun, 12 Dec 2010 18:51:54 -0600 (CST) Message-ID: <4D056E29.5040404@freebsd.org> Date: Sun, 12 Dec 2010 18:51:53 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101108 Thunderbird/3.0.10 MIME-Version: 1.0 To: Justin Hibbits References: <7AF92FAC-CE4B-46B4-ACB8-8B9022FEF803@gmail.com> In-Reply-To: <7AF92FAC-CE4B-46B4-ACB8-8B9022FEF803@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: Kernel panic in moea_pvo_to_pte X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2010 00:51:56 -0000 On 12/08/10 16:08, Justin Hibbits wrote: > On Dec 7, 2010, at 9:56 AM, Nathan Whitehorn wrote: > >> >> On Dec 7, 2010, at 7:23 AM, Justin Hibbits wrote: >> >>> Since I started rebuilding ports yesterday, I've been hit by this panic >>> (copied from a low-res camera): >>> >>> panic: moea_pvo_to_pte: pvo 0x17e6810 pte does not match pte >>> 0x26e0740 in >>> moea_pteg_table >>> >>> 0xe52f68a0: at panic+0x13c >>> 0xe52f68f0: at moea_pvo_to_pte+0x154 >>> 0xe52f6910: at moea_pvo_remove+0x20 >>> 0xe52f6930: at moea_remove+0x94 >>> 0xe52f6960: at pmap_remove+0x80 >>> 0xe52f6980: at vm_map_delete+0x1d0 >>> 0xe52f69e0: at vm_map_remove+0x74 >>> 0xe52f6a00: at vmspace_exit+0x108 >>> 0xe52f6a30: at exit1+0x48c >>> 0xe52f6a70: at sys_exit+0x1c >>> 0xe52f6a80: at syscallenter+0x258 >>> ... >>> >>> The svn version is r215752, I'm currently building r216254 hoping >>> that might >>> fix something. This panic seems to occur after about 1-2 hours of >>> ports >>> building, so is reproducible to me. I also have the crash dumps >>> available >>> (2). >> >> This is a serious bug. Could you rebuild the kernel with the attached >> patch? That should provide some information on why the kernel has >> triggered this panic. Also, could you provide some more details on >> your system? I'm guessing it is some variety of G4, but knowing the >> specific CPU model and whether it is SMP would be very helpful. >> -Nathan >> > > Took a couple days, it seems to only crash while building packages > within the x11/xorg metapackage umbrella, which is odd.... I built all > of Qt and the rest of my desktop with no crash. > > Anyway, the details are: > > panic: moea_pvo_to_pte: pvo 0x413f5960 pte does not match pte > 0x2a33340 in moea_pteg_table (0x87399bbf.0x570a0180, > 0x87399bf.0x570a6012) > > And, it is fully reproducible for me just by backing up ports and > building x11/xorg. Weird. These are mappings for different, but nearby, pages, and the second mapping looks totally bogus (all WIMG bits are zero). It looks like you missed a character transcribing the second PTE values. Could you check them? -Nathan