[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Memory recognition problem / large mem



--begin quoted message from dman, 
> On Sat, Jan 19, 2002 at 01:54:04PM -0500, Noah Massey wrote:
> | --begin quoted message from dman, 
>  
> | > On my system I have 256MB real RAM.
> | > 
> | > It shows a total of only 249MB.  dmesg shows :
> | > 
> | > $ dmesg | grep Memory
> | > Memory: 255676k/262080k available (1111k kernel code, 6016k reserved,
> | >             300k data, 228k init, 0k highmem)
> | 
> | 2.4.16-k7 shows:
> | Memory: 897676k/917504k available (815k kernel code, 19440k reserved, 233k data, 212k init, 0k highmem)
> | 
> | 2.2.20 shows:
> | Memory: 970628k/983040k available (1756k kernel code, 412k reserved, 10092k data, 152k init)
> | 
> | neither of which is the 1048576k that I'd expect.
> |
> | given that each kernel consistently shows the same amount of mem, and
> | that they disagree with each other on what that amount is, does this
> | look like a kernel bug?  or is there something that I'm just not doing?
> 
> I just went back to the manual
> (/usr/src/kernel-source-2.4.17/Documentation/Configure.help) and I
> this must be your problem.  Kernel 2.2.20 gives exactly 960MB for you.  I don't know why 2.4.16 shows a little less.

duh!  that's the something that I'm just not doing.
re-compiling kernel now.  Thanks a bundle.

> # Choice: himem
> High Memory support
> CONFIG_NOHIGHMEM
> 
>   If you are compiling a kernel which will never run on a machine with
>   more than 960 megabytes of total physical RAM, answer "off" here (default
>   choice and suitable for most users). This will result in a "3GB/1GB"
>   split: 3GB are mapped so that each process sees a 3GB virtual memory
>   space and the remaining part of the 4GB virtual memory space is used
>   by the kernel to permanently map as much physical memory as
>   possible.
> 
>   If the machine has between 1 and 4 Gigabytes physical RAM, then
>   answer "4GB" here.
> 
>   If more than 4 Gigabytes is used then answer "64GB" here. This
>   selection turns Intel PAE (Physical Address Extension) mode on.
>   PAE implements 3-level paging on IA32 processors. PAE is fully
>   supported by Linux, PAE mode is implemented on all recent Intel
>   processors (Pentium Pro and better). NOTE: If you say "64GB" here,
>   then the kernel will not boot on CPUs that don't support PAE!
> 
>   The actual amount of total physical memory will either be auto
>   detected or can be forced by using a kernel command line option such
>   as "mem=256M". (Try "man bootparam" or see the documentation of your
>   boot loader (grub, lilo or loadlin) about how to pass options to the
>   kernel at boot time.)
> 
>   If unsure, say "off".

<snip>


-- 
Noah Massey  | fingerprint : 90AD 7AAB 0768 46AF 8C52 0695 03A2 C74D E1ED C2BF
   The goal of Computer Science is to build something that will last at
   least until we've finished building it.
Attached is a digital signature which can be used to authenticate this email.
For details consult www.gnupg.org or www.pgpi.org

Attachment: pgpHvUyjBlEg7.pgp
Description: PGP signature


Reply to: