Subject: Re: yamt-km branch
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 02/16/2005 19:40:21
On Thu, Feb 17, 2005 at 07:34:58AM +0900, YAMAMOTO Takashi wrote:
> hi,
> 
> > I tried sparc, alpha and mac68k this morning.  the first two are working,
> > but mac68k crashes while starting init.  I tried a vanilla -current from
> > a couple days ago and that works.
> 
> does m68k pmap rely on pm_ptab demand-paged?
> i assumed page table pages are always entered by pmap_enter_ptpage.

hmm, I think it's worse than that.  I turned on DEBUG and got:

Loaded initial symtab at 0x2bdba4, strtab at 0x30d2f0, # entries 19482
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

panic: uvm_map_km_check_empty: has page mapped at 0x880000


further investigation shows that this mapping is not being created by
any of the pmap interfaces that use pmapdebug, so it's probably coming from
pmap_bootstrap().  it'll take me a bit to figure out what all that's doing,
it's a bit of a monster.

-Chuck