From owner-freebsd-current@FreeBSD.ORG Fri Oct 17 09:51:57 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 C01E816A4B3 for ; Fri, 17 Oct 2003 09:51:57 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A07B43FAF for ; Fri, 17 Oct 2003 09:51:57 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 276E22A8D5; Fri, 17 Oct 2003 09:51:57 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Jilles Tjoelker In-Reply-To: <20031017103459.GA8418@stack.nl> Date: Fri, 17 Oct 2003 09:51:57 -0700 From: Peter Wemm Message-Id: <20031017165157.276E22A8D5@canning.wemm.org> cc: freebsd-current@freebsd.org Subject: Re: panic: pmap_enter: attempted pmap_enter on 4MB page 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: Fri, 17 Oct 2003 16:51:57 -0000 Jilles Tjoelker wrote: > Hello, > > Yesterday our 5-CURRENT box panicked with panic: pmap_enter: attempted > pmap_enter on 4MB page. [..] > (kgdb) p va > $1 = 689672192 > (kgdb) p pte > $2 = (pt_entry_t *) 0xbfca46e4 > (kgdb) p origpte > $3 = 3503345872 > (kgdb) p (void *)va > $4 = (void *) 0x291b9000 > (kgdb) p (void *)origpte > $5 = (void *) 0xd0d0d0d0 > (kgdb) # AHA! origpte being 0xd0d0d0d0 means that something really came unstuck because that is the fill pattern that userland malloc(3) uses. The 4MB page thing is a red herring, it just happens that PG_PS (0x80) is a set bit in the fill pattern. Now to find the source. :-( Are you getting this repeatably? If somebody is able to (relatively) easily provoke this, there are a few things I'd like to try (shotgun diagnostics, but its better than nothing). 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