Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2009 20:28:32 +0200
From:      Angelo Turetta <aturetta@commit.it>
To:        Tim Chase <tim@chase2k.com>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: kmem map too small panic after updating to STABLE-7 r192996
Message-ID:  <4A281250.5050306@commit.it>
In-Reply-To: <alpine.LFD.2.00.0906040932280.27799@localhost.localdomain>
References:  <alpine.LFD.2.00.0906040932280.27799@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
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

in your kernel. I remember trying the loader.conf settings on a GENERIC 
kernel, found it worked and forgot to add KVA_PAGES. It seems that 
recently the memory allocated by a ZFS kernel on startup has become 
larger than the default KVA_PAGES in GENERIC.

Hope this helps,
Angelo Turetta



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