From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 05:29:41 2003 Return-Path: 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 92E9216A4BF; Tue, 26 Aug 2003 05:29:41 -0700 (PDT) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF4FF43FB1; Tue, 26 Aug 2003 05:29:40 -0700 (PDT) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.12.8p1/8.12.8) with ESMTP id h7QCTdtX062564; Tue, 26 Aug 2003 07:29:39 -0500 (CDT) (envelope-from tinguely@casselton.net) Received: (from tinguely@localhost) by casselton.net (8.12.8p1/8.12.8/Submit) id h7QCTdwN062563; Tue, 26 Aug 2003 07:29:39 -0500 (CDT) Date: Tue, 26 Aug 2003 07:29:39 -0500 (CDT) From: Mark Tinguely Message-Id: <200308261229.h7QCTdwN062563@casselton.net> To: l.ertl@univie.ac.at, tinguely@casselton.net In-Reply-To: <20030826094910.M19846@leelou.in.tern> cc: alc@freebsd.org cc: bmilekic@freebsd.org cc: current@freebsd.org Subject: Re: Another pmap related panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 12:29:41 -0000 It could be a memory problem. Could you also please apply an assert to pmap_enter_quick() + INVARIANTS. This is a quick test that checks all the other paths that call pmap_enter_quick() are locked out so that two processors cannot be using the PADDR1/PMAP1 at the same time. --- pmap.c.orig Mon Aug 25 08:46:03 2003 +++ pmap.c Tue Aug 26 07:16:06 2003 @@ -2056,6 +2056,7 @@ pmap_enter_quick(pmap_t pmap, vm_offset_ pt_entry_t *pte; vm_paddr_t pa; + mtx_assert(&vm_page_queue_mtx, MA_OWNED); /* * In the case that a page table page is not * resident, we are creating it here. --Mark Tinguely tinguely@casselton.net