From owner-freebsd-ppc@FreeBSD.ORG Mon Dec 13 02:26:33 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 D3FAA106564A; Mon, 13 Dec 2010 02:26:33 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 66A4A8FC19; Mon, 13 Dec 2010 02:26:33 +0000 (UTC) Received: by qyk8 with SMTP id 8so2588636qyk.13 for ; Sun, 12 Dec 2010 18:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=Nj2LYTQlCVD/ctc+lV6/KevjxFlMhRlIRscLdcfe4V8=; b=M7x559yoP8JsFus/EZOdTOQG/7Ggb6FlOjpNKWznfYMByMRT36IgTQ1fGN4dQjZlDz lUJm7OcwPvA2FVER33CMHtHfqVUTtKVicMYDMB5ankFG97K3Rb/bEw6JKywje/nTkMbH exKRbCKe0WcYGfl5zwCd/+HlJ0EqVUjFMO4mg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=q8ZfqxrbY0Y+A6gUFni5WslVS0aIWRG1eCmAf7nrNCzWBuCQzxYphtiDPV5tcjs/E7 a/Kni6oZeaoDRhYokCGxgMX5XEEjMWvpsSqP+0Gm/5aZ9WQ0HbJV7PkjJt/yKR/fYjlP B2sVjoFUG+kK/h4ifzsaDS/KM6yd3TcEJFP6s= Received: by 10.224.191.196 with SMTP id dn4mr3457984qab.225.1292207192555; Sun, 12 Dec 2010 18:26:32 -0800 (PST) Received: from blackstar.knownspace (216-164-48-50.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com [216.164.48.50]) by mx.google.com with ESMTPS id n7sm3713967qcu.16.2010.12.12.18.26.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 12 Dec 2010 18:26:31 -0800 (PST) Message-Id: <9B622B4D-6F8B-45AD-813A-160CEEABF9D3@gmail.com> From: Justin Hibbits To: Nathan Whitehorn In-Reply-To: <4D056E29.5040404@freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 12 Dec 2010 21:26:29 -0500 References: <7AF92FAC-CE4B-46B4-ACB8-8B9022FEF803@gmail.com> <4D056E29.5040404@freebsd.org> X-Mailer: Apple Mail (2.936) 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 02:26:34 -0000 On Dec 12, 2010, at 7:51 PM, Nathan Whitehorn wrote: > 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 Sorry, the second PTE should be 0x87399bbf.0x570a6012. - Justin