From owner-freebsd-stable Tue May 16 9:42:18 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail.surfree.cl (machine66.justicecorp.com [204.254.85.66]) by hub.freebsd.org (Postfix) with ESMTP id C091737B93C for ; Tue, 16 May 2000 09:42:10 -0700 (PDT) (envelope-from marcelo@msm.cl) Received: from marcelo.msm.cl (unknown [204.254.85.118]) by mail.surfree.cl (Postfix) with SMTP id 582B5EB14D for ; Tue, 16 May 2000 12:46:05 -0400 (CLT) Message-Id: <4.3.1.2.20000516122849.00cdb150@msm.cl> X-Sender: miturbe@msm.cl X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Tue, 16 May 2000 12:39:25 -0400 To: freebsd-stable@FreeBSD.ORG From: "Marcelo J. Iturbe" Subject: Memory recongnition problem... In-Reply-To: <3.0.3.32.20000516122832.0143ca30@tristo.netinc.ca> References: <3.0.3.32.20000516120205.0143a1b0@tristo.netinc.ca> <14625.24103.852889.9589@trooper.velocet.net> <200005161242.IAA60977@misha.privatelabs.com> <200005152346.QAA11498@freeway.dcfinc.com> <200005161242.IAA60977@misha.privatelabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I sent this message orrinally to "questions" but got no reply.. sorry for the cross-post... I have a compaq server with 256 megs in RAM, so I recompiled GENERIC kernel with the option "MAXMEM=262144", Once the new kernel was configured I ran a grep just to make sure. su-2.03# grep -i maxmem * config.c:___options \"MAXMEM=262144\" \n\ opt_maxmem.h:#define MAXMEM 262144 I proceeded to compile and install the kernel, The new Kernel boots up just fine. But when I do a "top" i see the following: Mem: 34M Active, 8344K Inact, 11M Wired, 2544K Cache, 7456K Buf, 4188K Free 67 Megs of RAM! Why?! I made sure that the new kernel was indeed the one that booted checking out dmesg. Does the system actually use 256M but top only recognises the first 64?? Thanks for your insight! At 05:07 PM 5/10/00 +0200, Karel J. Bosschaart wrote: >On Wed, May 10, 2000 at 10:32:26AM -0400, Marcelo Iturbe wrote: > > > > When I run top under freebsd I get: > > > > Mem: 37M Active, 3848K Inact, 15M Wired, 3424K Cache, 7458K Buf, 532K Free > > > > All those numbers add up to 67.262Megs of RAM. this machine has a total of > > 256Megs of RAM. > > It also has 768 megs of swap and that is showed in a more friendly manner: > > > > Swap: 768M Total, 372M Used, 396M Free, 48% Inuse, 100K In, 128K Out > > > > It seems to me that the FreeBSD is not recognizing the total RAM that the > > machine has. > > SO, I was trying to download the 3.3-Release kernel source so that I could > > do as recomended. ( I have no clue who took my 3.3-release CD) > > > > "Sounds like its not seeing all of you ram - you will need to set maxmem in > > the config and recompile it." > >See http://www.nl.freebsd.org/FAQ/troubleshoot.html#REALLYBIGRAM which >describes the problem that you most probably have. You need to recompile >the kernel with the option > >options "MAXMEM=262144" > >for 256 MB of RAM. There is an entry in the handbook how to recompile >your kernel (http://www.freebsd.org/handbook/kernelconfig.html). > >If you don't have the CD anymore, you need to download the kernel sources, >which is most easily done by using /stand/sysinstall (FTP) and selecting the >kernel source there ('post-install configuration of FreeBSD', >'install additional distribution sets', 'sources for everything but >encryption', '/usr/src/sys'). Be sure to grab the kernel source version >matching your FreeBSD version (3.3-RELEASE). > >Good luck, > >Karel. *********************************************** ICQ 22921676 MSM Interactive. El Bosque Norte 0134, Las Condes, Chile. Phone: (56-2) 234-9852 Fax: (56-2) 233-8912 Email: marcelo@msm.cl http://www.msm.cl ******************************************* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message