Skip site navigation (1)Skip section navigation (2)
Date:      22 Aug 2003 11:22:52 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        Mike Hunter <mhunter@ack.Berkeley.EDU>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't build kernel with 4GB of memory (MAXDSIZE)
Message-ID:  <44u189yawj.fsf@be-well.ilk.org>
In-Reply-To: <20030820181346.GA21829@ack.Berkeley.EDU>
References:  <20030820181346.GA21829@ack.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Hunter <mhunter@ack.Berkeley.EDU> 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...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44u189yawj.fsf>