From owner-freebsd-questions@FreeBSD.ORG Fri Aug 22 08:34:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D35216A4BF for ; Fri, 22 Aug 2003 08:34:47 -0700 (PDT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5E8F43FB1 for ; Fri, 22 Aug 2003 08:34:46 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[66.30.200.37]) by comcast.net (sccrmhc12) with ESMTP id <20030822152253012009mfg9e>; Fri, 22 Aug 2003 15:22:53 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h7MFMqMe097204; Fri, 22 Aug 2003 11:22:53 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h7MFMqnE097201; Fri, 22 Aug 2003 11:22:52 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Mike Hunter References: <20030820181346.GA21829@ack.Berkeley.EDU> From: Lowell Gilbert Date: 22 Aug 2003 11:22:52 -0400 In-Reply-To: <20030820181346.GA21829@ack.Berkeley.EDU> Message-ID: <44u189yawj.fsf@be-well.ilk.org> Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Can't build kernel with 4GB of memory (MAXDSIZE) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 15:34:47 -0000 Mike Hunter writes: > I can't seem to get a new kernel working with increased memory parameters: > > I tried adding the following to my KERNCONF: > > options MAXDSIZ="(4096UL*1024*1024)" > options DFLDSIZ="(2048UL*1024*1024)" > > On 5-current (as of about 6 months ago) this produced an ungraceful > init.conf bomb-out. > > I tried again yesterday with a 4.8 box > > uname -a > FreeBSD mynewserver.net.berkeley.edu 4.8-RELEASE-p3 FreeBSD > 4.8-RELEASE-p3 #1: Tue Aug 19 14:24:09 GMT 2003 > root@mynewserver.net.berkeley.edu:/usr/obj/usr/src/sys/raeu i386 > > (cvsup'd some time after August 11) > > It gave me a similar but slightly more graceful bomb-out "I'm not going > anywhere without my init!\n\nRebooting in 15 seconds....") > > So, I think I'm missing something here :) The machine in question has 4GB > of ram, and I'd like to be able to use all of it for some nasty > number-crunching I'm trying to do. Any suggestions? I'm sorry, but you need to leave some space for the kernel and its data structures. I'm not sure how close to the edge you can tune it, but much beyond 3GB or so will probably need some real hacker knowledge...