-CURRENT kernel panic

Andrew Gallatin gallatin at cs.duke.edu
Thu Mar 4 06:53:12 PST 2004


Vincent Poy writes:
 > 
 > options         VM_KMEM_SIZE_MAX=(768*1048576)
 > options         VM_KMEM_SIZE_SCALE=2
 > 
 > to the kernel config file to fix this.  Is this eventually going to be
 > fixed?  I looked at the coverstation between Terry Lambert and David but

Just add vm.kmem_size=VALUE to /boot/loader.conf.  That way you don't
need to rebuild a kernel.   I run with vm.kmem_size=429391872

Even after bumping the limits, I'm seeing a repeatable panic when
allocating a large amount of kernel memory ("panic: pmap_enter:
attempted pmap_enter on 4MB page").  See yesterday's message
with that subject for details..

Drew


More information about the freebsd-current mailing list