Date: Tue, 07 Dec 2010 08:56:21 -0600 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: Justin Hibbits <jrh29@alumni.cwru.edu> Cc: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Re: Kernel panic in moea_pvo_to_pte Message-ID: <F61DEFCA-7028-415D-B8D3-3ED63FC017D7@freebsd.org> In-Reply-To: <AANLkTi=4Ay%2BxRFiyJopbGjf-nUQ9y6h0QJTT8oncNSZ6@mail.gmail.com> References: <AANLkTi=4Ay%2BxRFiyJopbGjf-nUQ9y6h0QJTT8oncNSZ6@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary_(ID_UlkK1XXgH3nPGhGNjYtmpg) Content-type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes Content-transfer-encoding: 7BIT 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 --Boundary_(ID_UlkK1XXgH3nPGhGNjYtmpg) Content-type: application/octet-stream; x-unix-mode=0644; name=test.diff Content-transfer-encoding: 7bit Content-disposition: attachment; filename=test.diff Index: mmu_oea.c =================================================================== --- mmu_oea.c (revision 216174) +++ mmu_oea.c (working copy) @@ -2116,7 +2116,9 @@ if (((pt->pte_lo ^ pvo->pvo_pte.pte.pte_lo) & ~(PTE_CHG|PTE_REF)) != 0) { panic("moea_pvo_to_pte: pvo %p pte does not match " - "pte %p in moea_pteg_table", pvo, pt); + "pte %p in moea_pteg_table (%#x.%#x, %#x.%#x)", + pvo, pt, pt->pte_hi, pt->pte_lo, + pvo->pvo_pte.pte.pte_hi, pvo->pvo_pte.pte.pte_lo); } mtx_assert(&moea_table_mutex, MA_OWNED); --Boundary_(ID_UlkK1XXgH3nPGhGNjYtmpg)--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F61DEFCA-7028-415D-B8D3-3ED63FC017D7>