From owner-freebsd-questions Wed Apr 12 14:47:04 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA26847 for questions-outgoing; Wed, 12 Apr 1995 14:47:04 -0700 Received: from haven.ios.com (haven.ios.com [198.4.75.45]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA26839 for ; Wed, 12 Apr 1995 14:46:59 -0700 Received: (from rashid@localhost) by haven.ios.com (8.6.9/8.6.9) id RAA06268; Wed, 12 Apr 1995 17:49:16 -0400 From: "Rashid Karimov." Message-Id: <199504122149.RAA06268@haven.ios.com> Subject: Re: Kernel Config for > 16meg To: greg@mn.interact.net (Greg Rowe) Date: Wed, 12 Apr 1995 17:49:15 -0400 (EDT) Cc: freebsd-questions@freefall.cdrom.com In-Reply-To: <9504111554.ZM2420@nevis.oss.interact.net> from "Greg Rowe" at Apr 11, 95 03:54:41 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 977 Sender: questions-owner@FreeBSD.org Precedence: bulk Hi there, > > I have some Compaq systems with EISA memory expansion boards running FreeBSD > 2.0 (next to the latest Snap). The systems have 16 meg on the main board and 8 > meg on the expansion board. The Compaq config utility and DOS both see 24 meg > but FreeBSD only picks up 16. Is there a way to kludge the kernel so that it > uses all 24 meg ? Thanks. Most probably you'll need to hack a kernel code - it determines the memsize via BIOS call , which reports wrong number on certain brands ( Gateway and Micron are two examples). Should be somewhere in sys/kernel/machdep.c ... or alike. Search for the string 'Testing memory' - the code which determines the memory is some 50 lines above. Instead of making the BIOS call just assign some resonable value to extmem or basemem - I don't remember exactly ;) That will be safe , since the kernel verifies the memory and won't use the memory above the first invalid/nonexistent page > > -- > SY RK