More than 64MB RAM under Linux?

More than 64MB RAM under Linux?

Post by Kevin Sawy » Thu, 12 Sep 1996 04:00:00



I recently upgraded my news server (a Linux-2.0.18 box running inn1.4unoff4)
from 64MB to 128MB of RAM.  BIOS counts the new RAM just fine, but Linux
still insists that I have only 64MB.  What gives?

Kevin

 
 
 

More than 64MB RAM under Linux?

Post by Byron A Je » Thu, 12 Sep 1996 04:00:00



>I recently upgraded my news server (a Linux-2.0.18 box running inn1.4unoff4)
>from 64MB to 128MB of RAM.  BIOS counts the new RAM just fine, but Linux
>still insists that I have only 64MB.  What gives?

The BIOS. It doesn't look like the culprit but it is. See, your BIOS counts
all the memory, then the OS (Linux in this case) asks the BIOS via a
BIOS call how much memory there is. The BIOS returns the number of 1K blocks
in a 16 bit variable. If you do the math you'll see that's 64 Megs max.
Linux faithfully uses the BIOS returned amount.

The solution: you (the user) tells the kernel exactly how much memory you
actually have. Easiest way if you're using LILO is to add the line:

mem=128M

to your lilo.conf file and rerun lilo.

Hope this helps,

BAJ
--
Another random extraction from the mental bit stream of...
Byron A. Jeff - PhD student operating in parallel - And Using Linux!


 
 
 

More than 64MB RAM under Linux?

Post by Frank Sweets » Mon, 16 Sep 1996 04:00:00



: The solution: you (the user) tells the kernel exactly how much memory you
: actually have. Easiest way if you're using LILO is to add the line:

: mem=128M

I think you mean

append="mem=128M"

or entering mem=128M at the actual lilo bootprompt after whatever your kernel
image label is.

: --
: Another random extraction from the mental bit stream of...
: Byron A. Jeff - PhD student operating in parallel - And Using Linux!

--
Frank Sweetser

Unix Wizard, (n):
                Someone who can type `cat > /unix` and get away with it!

 
 
 

More than 64MB RAM under Linux?

Post by Byron A Je » Tue, 17 Sep 1996 04:00:00




-
-: The solution: you (the user) tells the kernel exactly how much memory you
-: actually have. Easiest way if you're using LILO is to add the line:
-
-: mem=128M
-
-I think you mean
-
-append="mem=128M"
-
-or entering mem=128M at the actual lilo bootprompt after whatever your kernel
-image label is.

Yeah, yeah, that second thing there!!! ;-)

BAJ
--
Another random extraction from the mental bit stream of...
Byron A. Jeff - PhD student operating in parallel - And Using Linux!