kmem map too small panic after updating to STABLE-7 r192996

Alexandre "Sunny" Kovalenko gaijin.k at gmail.com
Mon Jun 8 00:27:03 UTC 2009


On Thu, 2009-06-04 at 20:28 +0200, Angelo Turetta wrote:
> Tim Chase wrote:
> > Hello,
> > 
> > I decided to give the new zfs code a try and upgraded my stable-7 system
> > and discovered a panic that I can reproduce at will.
> 
> I just had the same problem, and it turned out I was not diligent when I 
> first set my zfs pool up :)
> 
> To use vm.kmem_size="512M" you need to put
> 
>   options         KVA_PAGES=512

Are you sure this is the case?

RabbitsDen# uname -a
FreeBSD RabbitsDen.RabbitsLawn.verizon.net 7.2-STABLE FreeBSD 7.2-STABLE
#0: Sun Jun  7 12:25:08 EDT 2009
root at RabbitsDen.RabbitsLawn.verizon.net:/usr/obj/usr/src/sys/TPX60  i386
RabbitsDen# grep KVA_PAGES /sys/i386/conf/TPX60
options		KVA_PAGES=256                         <=========
RabbitsDen# grep kmem /boot/loader.conf
vm.kmem_size_max="512M"
vm.kmem_size="512M"
RabbitsDen# sysctl vm.kmem_size_max
vm.kmem_size_max: 536870912                           <=========
RabbitsDen# sysctl vm.kmem_size
vm.kmem_size: 536870912
RabbitsDen# grep arc /boot/loader.conf
vfs.zfs.arc_min="128M"
vfs.zfs.arc_max="256M"

-- 
Alexandre Kovalenko (Олександр Коваленко)




More information about the freebsd-stable mailing list