From owner-freebsd-stable@FreeBSD.ORG Thu Jun 4 18:28:45 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CEB7106572D for ; Thu, 4 Jun 2009 18:28:45 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from mail.bestunion.it (mail.bestunion.it [85.18.201.87]) by mx1.freebsd.org (Postfix) with ESMTP id A04DB8FC2B for ; Thu, 4 Jun 2009 18:28:43 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from [192.168.33.30] (nbcommit.home.commit.it [192.168.33.30] (may be forged)) (authenticated bits=0) by mail.bestunion.it (8.14.3/8.14.3) with ESMTP id n54ISbeQ018453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Jun 2009 20:28:38 +0200 (CEST) (envelope-from aturetta@commit.it) Message-ID: <4A281250.5050306@commit.it> Date: Thu, 04 Jun 2009 20:28:32 +0200 From: Angelo Turetta User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Tim Chase References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.1 at mail.bestunion.it X-Virus-Status: Clean Cc: freebsd-stable@FreeBSD.org Subject: Re: kmem map too small panic after updating to STABLE-7 r192996 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 18:28:46 -0000 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