Re: Problem with 1G RAM

Rik van Riel (H.H.vanRiel@phys.uu.nl)
Thu, 3 Dec 1998 13:19:03 +0100 (CET)


On Wed, 2 Dec 1998, Lei Zhang wrote:

> but i couldn't get any kernel to work with the 1G RAM (i used
> append="mem=1024M" )
>
> How do i get the 1G RAM working?

With the standard Linux kernel, you can only use 1G-64M
since the system uses a bit of 'extra' address space for
administration.

You can run the kernel with mem=960M without any trouble.
If you feel like it you can hack the kernel to change the
3:1 split to something else (ie. a 2:2 split).

To do that you need to change __PAGE_OFFSET in
include/asm-i386/page.h and arch/i386/vmlinux.lds.

All you need to know to succesfully do this operation
is in a big fat comment in page.h.

succes,

Rik -- the flu hits, the flu hits, the flu hits -- MORE
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/