From owner-freebsd-ia64 Fri Jan 3 18:34:44 2003 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B18F37B401; Fri, 3 Jan 2003 18:34:43 -0800 (PST) Received: from caduceus.sc.intel.com (fmr04.intel.com [143.183.121.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3DB143EB2; Fri, 3 Jan 2003 18:34:42 -0800 (PST) (envelope-from adsharma@unix-os.sc.intel.com) Received: from petasus.sc.intel.com (petasus.sc.intel.com [10.3.253.4]) by caduceus.sc.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id h042Xke06916; Sat, 4 Jan 2003 02:33:46 GMT Received: from unix-os.sc.intel.com (unix-os.sc.intel.com [143.183.96.244]) by petasus.sc.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with ESMTP id h042XrO27720; Sat, 4 Jan 2003 02:33:53 GMT Received: (from adsharma@localhost) by unix-os.sc.intel.com (8.11.6/8.11.2) id h042Ygo03450; Fri, 3 Jan 2003 18:34:42 -0800 Date: Fri, 3 Jan 2003 18:34:41 -0800 From: Arun Sharma To: alc@freebsd.org Cc: freebsd-ia64@freebsd.org Subject: Re: Assertion failure in vm_page.c:289 Message-ID: <20030103183441.A3425@unix-os.sc.intel.com> References: <20030103180935.A3170@unix-os.sc.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030103180935.A3170@unix-os.sc.intel.com>; from adsharma on Fri, Jan 03, 2003 at 06:09:35PM -0800 Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Looking at i386 code, this seems to be the missing lock. -Arun --- pmap.c- Sat Jan 4 00:14:49 2003 +++ pmap.c Sat Jan 4 02:30:57 2003 @@ -1694,7 +1694,9 @@ */ if (opa) { int error; + vm_page_lock_queues(); error = pmap_remove_pte(pmap, pte, va, 0, 0); + vm_page_unlock_queues(); if (error) panic("pmap_enter: pte vanished, va: 0x%lx", va); } On Fri, Jan 03, 2003 at 06:09:35PM -0800, Arun Sharma wrote: > Alan, > > It looks like you added this assertion on Dec 28th. > > void > vm_page_flag_clear(vm_page_t m, unsigned short bits) > { > > mtx_assert(&vm_page_queue_mtx, MA_OWNED); <----- > m->flags &= ~bits; > } > > and I'm seeing the assertion failure right at startup (after execing > /sbin/init) on a ia64 box. Is it possible that there was an accompanying > change that was made to i386, but not ia64 ? > > -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message