From owner-freebsd-bugs Wed Jun 12 22:42:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA19631 for bugs-outgoing; Wed, 12 Jun 1996 22:42:05 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.eu.org [193.56.58.253]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA19603; Wed, 12 Jun 1996 22:42:00 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.eu.org [193.56.58.33]) by mexico.brainstorm.eu.org (8.7.5/8.7.3) with ESMTP id HAA27992; Thu, 13 Jun 1996 07:41:45 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.6.12/8.6.12) with UUCP id HAA24850; Thu, 13 Jun 1996 07:41:07 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.Alpha.4/keltia-uucp-2.8) id AAA06852; Thu, 13 Jun 1996 00:27:01 +0200 (MET DST) From: Ollivier Robert Message-Id: <199606122227.AAA06852@keltia.freenix.fr> Subject: Re: BIOS poke for memsize(2) on SuperMicro P6DOF? To: jko@vivid.autometric.com Date: Thu, 13 Jun 1996 00:27:01 +0200 (MET DST) Cc: bugs@freebsd.org, questions@freebsd.org In-Reply-To: <9606121005.ZM27898@khan.autometric.com> from John Ko at "Jun 12, 96 10:05:15 am" X-Operating-System: FreeBSD 2.2-CURRENT ctm#2103 X-Mailer: ELM [version 2.4ME+ PL19 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk It seems that John Ko said: > Should the kernel be poking at a another location, is there > another place ??? For FreeBSD, did you followed the FAQ's advice ? 8.6. I have 128 MB of RAM but it seems that the system use only the first 64 MB. What's going on ? Due to the manner in which FreeBSD gets the memory size from the BIOS, it can only detect 16 bits worth of Kbytes in size (65535 Kbytes = 64MB). If you have more than 64MB, FreeBSD will only see the first 64MB. To work around this problem, you need to use the kernel option specified below. There is a way to get complete memory information from the BIOS, but we don't have room in the bootblocks to do it. Someday when lack of room in the bootblocks is fixed, we'll use the extended BIOS functions to get the full memory information...but for now we're stuck with the kernel option. ______________________________________________________________________ options "MAXMEM=" ______________________________________________________________________ Where n is your memory in Kilobytes. For a 128 MB machine, you'd want to use 131072 -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #10: Tue Jun 11 13:36:57 MET DST 1996