Subject: Re: kern/5789: kernel fault in gdb/ptrace
To: None <raeburn@raeburn.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 07/18/1998 10:48:16
On Sat, 18 Jul 1998 04:42:39 -0400 (EDT)
Ken Raeburn <raeburn@raeburn.org> wrote:
> (gdb) fr 4
> #4 0xf01ed985 in pmap_enter (pmap=0xf0969a00, va=4898816, pa=38051840,
> prot=7, wired=0) at ../../../../arch/i386/i386/pmap.c:1251
> 1251 panic("ptdi %x", pmap->pm_pdir[PTDPTDI]);
> (gdb) list
> 1246 /*
> 1247 * Page Directory table entry not valid, we need a new PT page
> 1248 */
> 1249 pte = pmap_pte(pmap, va);
> 1250 if (!pte)
> 1251 panic("ptdi %x", pmap->pm_pdir[PTDPTDI]);
> 1252
> 1253 #ifdef DEBUG
> 1254 if (pmapdebug & PDB_ENTER)
> 1255 printf("enter: pte %p, *pte %x ", pte, *pte);
> (gdb) p/x va
> $10 = 0x4ac000
> (gdb)
This bug is known, and is fixed in -current if you use UVM + PMAP_NEW.
It is an i386-specific bug.
If you're satisfied with this, I'll go ahead and close the PR.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 940 5942