*BSD News Article 57789


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!in1.uu.net!fdn.fr!jussieu.fr!ensta!itesec!sidhe.frmug.fr.net!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 128MB Ram
Date: 1 Jan 1996 18:12:37 GMT
Organization: Usenet Canal Historique
Lines: 38
Message-ID: <4c986l$4p3@keltia.freenix.fr>
References: <4bv73t$faa@sundog.tiac.net>
NNTP-Posting-Host: keltia.freenix.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <4bv73t$faa@sundog.tiac.net>,
Pete Davis <pete@millenium.tiac.net> wrote:
> 
> Does anybody know if there is a real way to make a machine recognize 128MB
> of ram?  It appears that my kernel only recognizes 64MB.  Is there anyway
> to do this without hacking?  If I need to hack it, what is the best
> way to go about doing so?

The answer is in the FAQ:

  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=<n>"
  ______________________________________________________________________


  Where n is your memory in Kilobytes. For a 128 MB machine, you'd want
  to use 131072

[ cc'ed to Pete ]

FreeBSD FAQ: <URL:http://www.freebsd.org/How/faq/>
-- 
Ollivier ROBERT  -=- FreeBSD: The daemon is FREE! -=-  roberto@freebsd.org
-=-=-=-=-=-=-=-=-=-=- FreeBSD 2.x FAQ maintainer -=-=-=-=-=-=-=-=-=-=-=-=-