From owner-freebsd-current Tue Sep 17 11: 4:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40FBC37B401 for ; Tue, 17 Sep 2002 11:04:51 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35F5443E88 for ; Tue, 17 Sep 2002 11:04:43 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 0C6B62A7D6; Tue, 17 Sep 2002 11:04:43 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Nate Lawson Cc: Martin Blapp , current@freebsd.org Subject: Re: Crashdumps available for download ... please help In-Reply-To: Date: Tue, 17 Sep 2002 11:04:43 -0700 From: Peter Wemm Message-Id: <20020917180443.0C6B62A7D6@canning.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nate Lawson wrote: > On Tue, 17 Sep 2002, Martin Blapp wrote: > > Hope this helps people. After I've disabled the secondlevel > > CPU cache, the panic is now always at the same place: > > > > 0xc02fd315 is in pmap_remove_pages (/usr/src/sys/i386/i386/pmap.c:2941). > > 2936 #ifdef PMAP_REMOVE_PAGES_CURPROC_ONLY > > 2937 pte = vtopte(pv->pv_va); > > 2938 #else > > 2939 pte = pmap_pte_quick(pv->pv_pmap, pv->pv_va); > > 2940 #endif > > 2941 tpte = *pte; > > 2942 > > 2943 if (tpte == 0) { > > 2944 printf("TPTE at %p IS ZERO @ VA %08x\n", > > 2945 pte, pv->pv_va); > > Try building your kernel with "options PMAP_REMOVE_PAGES_CURPROC_ONLY" and > see if the panic goes away. If that works, the problem is > pmap_pte_quick(). The problem is that this is hardwired.. line 2902 of pmap.c is: #define PMAP_REMOVE_PAGES_CURPROC_ONLY ie: we always use vtopte(), not pmap_pte_quick(). > In looking at pmap_pte_quick, either it is wrong or line 2941 is wrong in > always dereferencing pte. pmap_pte_quick can return NULL (well 0). It > seems like pmap_pte_quick is wrong because vtopte() never returns NULL, > just (PTmap + i386_btop(va)) i.e. a valid base plus some offset. > > -Nate > > > Kernelfile: > > > > http://people.freebsd.org/~mbr/crashes/kernel.debug.bz2 (8 Mb) > > > > Kernelconfig: > > > > http://people.freebsd.org/~mbr/crashes/kernel.CONFIG > > > > Cores: > > > > http://people.freebsd.org/~mbr/crashes/vmcore.1.bz2 (5 Mb) > > http://people.freebsd.org/~mbr/crashes/vmcore.2.bz2 (7 Mb) > > http://people.freebsd.org/~mbr/crashes/vmcore.3.bz2 (26 Mb) > > > > Descriptions: > > > > http://people.freebsd.org/~mbr/crashes/vmcore.1.txt > > http://people.freebsd.org/~mbr/crashes/vmcore.2.txt > > http://people.freebsd.org/~mbr/crashes/vmcore.3.txt > > > > Martin > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message