Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Oct 2010 23:46:15 -0500
From:      Alan Cox <alc@rice.edu>
To:        Dave Hayes <dave@jetcafe.org>
Cc:        alc@freebsd.org, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Panic: attempted pmap_enter on 2MB page
Message-ID:  <4CAD5097.4060403@rice.edu>
In-Reply-To: <201010070202.o9722onH012781@hugeraid.jetcafe.org>
References:  <201010030211.o932Bd4C048116@hugeraid.jetcafe.org> <AANLkTikenQoA7UBo_N3bzQJ9ABJSTGL89_Qda_Tu7Wa0@mail.gmail.com> <201010040512.o945CTor092854@hugeraid.jetcafe.org> <4CAABCFD.6050709@rice.edu> <201010050918.o959IR05065727@hugeraid.jetcafe.org> <4CACB601.6060205@rice.edu> <201010070202.o9722onH012781@hugeraid.jetcafe.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dave Hayes wrote:
> Alan Cox <alc@rice.edu> writes:
>   
>> When you build your kernel for this ISO are you increasing the value of 
>> NKPT?
>>     
>
> No. I was under the impression that this value auto-tunes on amd64,
> is that correct?
>   

After initialization, yes.  However, the kernel starts out with just 
NKPT page table pages.  With a 600MB MFS root in your kernel, the 
default setting for NKPT won't provide enough page table pages to map 
your entire kernel during initialization.

Try setting NKPT to 320, and let me know if the strange crashes go away.

Alan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CAD5097.4060403>