You have to be careful with this one. It is recommended that before you
add the line "append="mem=128M" to lilo.conf that you test it first. When
Linux first boots, at the boot: prompt, type in "Linux mem=128M" & boot that
way. You might have to change the way that Linux boots to give you some time
to type. On my computer, it only saw 64 of 128MB RAM. I added the line Linux
mem=128M at the prompt & got "KERNEL PANIC", not a good thing. So I fiddled
with the settings & added Linux mem=127M & everything was fine. Then I could
safely add this line to the top of lilo.conf.
Here is the documentation from REDHAT: "7.1 Problems with Linux finding
all of a machine's RAM
Question:
My machine has 128 MB of RAM, however Linux only sees 64 MB of it. What is
going on, and how can I fix it?
Answer:
On most systems, the reason is that the BIOS has a limit of how much memory
it will tell the OS is present in the machine, even though the board can
have more. Common limits seen with this problem are 16M, 32M, 64M, and 128M.
To get around this, we need to explicitly specify the amount of memory to
the kernel at boot time via the mem=< actual memory goes here > flag.
In the following example, we have a 128M machine but only 64M are being seen
by Linux. At the LILO prompt, we type
LILO: linux mem=128M
After the machine boots, we use the free command to see if the larger amount
of memory was recognized by the kernel. If so, we can add an append line to
the /etc/lilo.conf file and rerun LILO to make it happen permanently. The
example from above could look like the following:
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.2.12-20
label=linux
root=/dev/sda1
initrd=/boot/initrd-2.2.12-20.img
read-only
append="mem=128M"
Do not forget to run /sbin/lilo -v after editing the file. "
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 29, 2000 10:43 AM
Subject: Re: [newbie] Ram dectection
>
>
>
> Start linux with either "linux mem=128M" or....
>
> As root, edit /etc/config
>
> and code a line like the following in each stanza:
>
> append="mem=128M"
>
> Now run /sbin/lilo and next time you restart you'll have your full 128 meg
> available
>
>
> Steve Flynn
> IBM MVS Operations Analyst
>
>
>
> Lincong Wang <[EMAIL PROTECTED]> on 29/02/2000 16:39:46
>
> Please respond to [EMAIL PROTECTED]
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Steve Flynn/UK/Contr/IBM)
> Subject: [newbie] Ram dectection
>
>
>
>
>
> Hello. everyone
>
> I have an Athalon 600 computer with 128Mb Micron PC100 memory.
> Somehow Linux can only recognize about 64 Mb. Can anybody tell me how to
> fix it.
>
> Thanks in advance
>
> Lincong Wang from Ann Arbor MI
>
>
>
>
>
>