From owner-freebsd-questions Thu Dec 11 13:44:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA18366 for questions-outgoing; Thu, 11 Dec 1997 13:44:04 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from niobium.compecon.com (niobium.compecon.com [205.230.18.41]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA18323 for ; Thu, 11 Dec 1997 13:43:57 -0800 (PST) (envelope-from erich@compecon.com) Received: from compecon.com (molybdenum.compecon.com [205.230.18.42]) by niobium.compecon.com (8.8.7/8.8.5) with ESMTP id NAA29628; Thu, 11 Dec 1997 13:41:26 -0800 (PST) Message-ID: <34905E67.B0A0F92A@compecon.com> Date: Thu, 11 Dec 1997 13:43:03 -0800 From: Eric Hedstrom X-Mailer: Mozilla 4.04 [en] (Win95; U) MIME-Version: 1.0 To: ringlord@bbs.dcoisp.net CC: freebsd-questions@freebsd.org Subject: Re: Memory and kernel question. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Jeremy, Check LINT rather than GENERIC for the MAXMEM explanation and example. Eric Hedstrom Erich@compecon.com ringlord@bbs.dcoisp.net wrote: > > Hello to all. > I am running freebsd 2.2.5. I have recently upgraded my freebsd box > from 32 megs of ram to 128 megs of ram. The first time the 2.2.5 > GENERIC kernel saw the new memory, the memory was reported correctly. I > thought I was on easy street then. > After halting the system and rebooting the machine, the kernel only > reported about 100 megs of ram and only had about 94 megs availible. I > am not sure what happened between the initial detection and the halting > rebooting to cause the kernel to see less ram. > I next went to the freebsd mailing list archives and did some searching > to see if I could find anything related. There was a message from June > of this year that talked about building a kernel with option MEMSIZE > equal to the amount of ram he had in his machine. > Oh great. Time to build a new kernel? :) > After reading the handbook and looking at /usr/src/sys/i386/conf/GENERIC, > I realized that option MEMSIZE is not there! :) > So. My assumption is that it is no longer needed and freebsd determines > this on its' own. > So. What would cause ram to be reported correctly on one attempt, and > be miss reported the next time? > I have tried rebooting several times, with the same effect now, still > only 94 megs avail. > Any assistance or pointers would be greatly appreciated. > BTW. I will send log files if needbe, just didn't want to clutter up > the list if something was simply fixed. > Thanks. > Jeremy