Date: Thu, 1 Jul 1999 17:41:13 +0200 (CEST) From: Konrad Heuer <kheuer@gwdu60.gwdg.de> To: jon giles <jong@clinedavis.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: trouble compiling kernel with memory option Message-ID: <Pine.BSF.4.05.9907011737160.21249-100000@gwdu60.gwdg.de> In-Reply-To: <377B85C5.66ADAE96@clinedavis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Jul 1999, jon giles wrote: > Using top, I found that the 128MB of ram we have in our machine was not > being used. Only about 64MB > is being seen by BSD. > > I found a faq on bsd.org that said that the kernel needs to be told > explicitly how much ram there is in the machine. The faq suggested to > channge MYKERNEL config file by adding this line. > > "options "MAXMEM=<n>" > > Where n is your memory in Kilobytes. For a 128 MB machine, you'd want to > use 131072." > > After adding this line, my make came back with this error: > > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -nostdinc -I- -I. -I../.. -I/usr/include > -DAPM_BROKEN_STATCLOCK -DFAILSAFE -DCOMPAT_43 -DCD9660 -DMSDOSFS -DNFS > -DFFS -DINET -DKERNEL ../../i386/i386/machdep.c > ../../i386/i386/machdep.c: In function `init386': > ../../i386/i386/machdep.c:1157: parse error before `<' > *** Error code 1 > > If I take out the line, if makes fine. > > Any help with this would really be apreciated. > > Here is a copy of my MYKERNEL file: > # > # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks > # ... cut a lot here ... > options VISUAL_USERCONFIG #visual boot -c editor > options "MAXMEM=<131072>" #for mem of 128M Try: options MAXMEM=131072 '<' and '>' just indicate that the string <n> shall be replaced by an integer number. Regards // // Konrad Heuer ____ ___ _______ // Gesellschaft für wissenschaftliche / __/______ ___ / _ )/ __/ _ \ // Datenverarbeitung mbH GÖttingen / _// __/ -_) -_) _ |\ \/ // / // Am Faßberg, D-37077 GÖttingen /_/ /_/ \__/\__/____/___/____/ // Deutschland (Germany) ----- The Power to Serve ----- // http://www.freebsd.org // kheuer@gwdu60.gwdg.de // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9907011737160.21249-100000>
