Panic: attempted pmap_enter on 2MB page

Alan Cox alc at rice.edu
Thu Oct 7 04:46:20 UTC 2010


Dave Hayes wrote:
> Alan Cox <alc at 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



More information about the freebsd-stable mailing list