From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 11:30:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F07E16A4CE for ; Thu, 4 Mar 2004 11:30:35 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28BEF43D1D for ; Thu, 4 Mar 2004 11:30:35 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i24JUYF6012664 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Mar 2004 14:30:34 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i24JUSGb082311; Thu, 4 Mar 2004 14:30:28 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16455.33748.860265.157572@grasshopper.cs.duke.edu> Date: Thu, 4 Mar 2004 14:30:28 -0500 (EST) To: Vincent Poy In-Reply-To: <20040304084600.I8264-100000@oahu.WURLDLINK.NET> References: <16455.17105.820332.248316@grasshopper.cs.duke.edu> <20040304084600.I8264-100000@oahu.WURLDLINK.NET> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: current@freebsd.org Subject: Re: -CURRENT kernel panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 19:30:35 -0000 Vincent Poy writes: > On Thu, 4 Mar 2004, Andrew Gallatin wrote: > > > 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 > > Does that actually work since I thought unless you alter the > kernel, it won't use more than 200KB for the kmem_map? Sure.. read the code (kern/kern_malloc.c:kmeminit) The VM_KMEM_SIZE_MAX comes first, then the tunable from the loader. > > 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.. > > Just checked the archives and yours seems to jhave more variables > than mines from the panic message. Can you describe the panic you see? Drew