*BSD News Article 52602


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.EDU.AU!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!uunet!in1.uu.net!news.erinet.com!inquo!inquo.net!pete
From: pete@inquo.net (Pete Kruckenberg)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD > 64MB
Date: 14 Oct 1995 00:41:05 GMT
Organization: inQuo Internet (801) 530-7160
Lines: 25
Distribution: world
Message-ID: <45n0v1$1ea@xymox.dsw.com>
References: <44df6k$2rh@news.csie.nctu.edu.tw>
NNTP-Posting-Host: inquo.net
X-Newsreader: TIN [version 1.2 PL2]

Robert Wang (robert@xenon.yzit.edu.tw) wrote:
: hi, we have 72MB ram and aha1542 isa scsi card on FreeBSD 2.2-CURRENT,
: but we only can get 64mb, how to get more?
: if we added 'options "MAXMEM=72M"' in kernel config,
: we have error message...
: kmem_suballoc: bad status return of 3.
: panic: kmem_suballoc
: then automatic reboot.

Try 'options "MAXMEM=73728"' instead. MAXMEM uses the number of KB, not 
MB. 72 * 1024 = 73728. I'm trying the same thing right now with 96MB, and 
it'll hopefully work. 

One other thing: be sure to recompile *without* the memory, as gcc seems
to have problems if you have more memory in there than is detected. After
you finish building the kernel, power down, put the new memory in, then 
power it back up with the new kernel. And be *sure* to save the old 
kernel ("mv /kernel /kernel.save") in case things don't work, so you can 
at least pull the memory and come back up with the old kernel.

Good luck.
Pete Kruckenberg
pete@inquo.net