Subject: Re: panic in pmap_enter w/ 1.2.1 kernel
To: Laine Stump <laine@morningstar.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-users
Date: 05/05/1997 10:38:04
On Mon, 5 May 1997 10:43:43 -0400 (EDT) 
 Laine Stump <laine@MorningStar.Com> wrote:

 > I just built 4 new machines all with Intel Providence motherboards and
 > 128MB, and 2 of them with triple striped Seagate Cheetah U/W disks. They
 > seem to be running fine, except that one of the machines with disks is
 > panicking about once a day in pmap_enter in the following place:
 > 
 > 	/*
 > 	 * Page Directory table entry not valid, we need a new PT page
 > 	 */
 > 	pte = pmap_pte(pmap, va);
 > 	if (!pte)
 > 		panic("ptdi %x", pmap->pm_pdir[PTDPTDI]);

...this was fixed some time ago in NetBSD-current.  As a stopgap, you
can change the NKPDE constant in i386/include/pmap.h ... for 128M, a
value of 24 is appropriate.  (24 is the highest you can effectively use.)

 > Also, how do I feed the kernel dump that was collected into gdb? It
 > isn't recognized as a coredump file.

.... gdb -k netbsd.gdb netbsd.core

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939