Find the answer to your Linux question:
Results 1 to 7 of 7
Hi, How come if I actually have 4gb of memory installed in my box, I can't see it all? root@fs01:~# uname -r 2.6.8-3-686 root@fs01:~# cat /proc/meminfo MemTotal: 2856864 kB MemFree: ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    13

    Why can I not see all 4gb of RAM?

    Hi,

    How come if I actually have 4gb of memory installed in my box, I can't see it all?

    root@fs01:~# uname -r
    2.6.8-3-686

    root@fs01:~# cat /proc/meminfo
    MemTotal: 2856864 kB
    MemFree: 1024668 kB
    Buffers: 117088 kB
    Cached: 1553536 kB
    SwapCached: 0 kB
    Active: 126500 kB
    Inactive: 1565792 kB
    HighTotal: 1965760 kB
    HighFree: 1020160 kB
    LowTotal: 891104 kB
    LowFree: 4508 kB
    SwapTotal: 3903752 kB
    SwapFree: 3903752 kB
    Dirty: 4 kB
    Writeback: 0 kB
    Mapped: 35304 kB
    Slab: 128136 kB
    Committed_AS: 83528 kB
    PageTables: 596 kB
    VmallocTotal: 114680 kB
    VmallocUsed: 5532 kB
    VmallocChunk: 108948 kB
    root@fs01:~#

    root@fs01:~# cat /boot/config-2.6.8-3-686 | grep CONFIG_HIGHMEM4G
    CONFIG_HIGHMEM4G=y

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Does the BIOS sees it all ? What kind of machine is that ? Did you try a newer kernel ?
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    13
    Quote Originally Posted by antidrugue
    Does the BIOS sees it all ? What kind of machine is that ? Did you try a newer kernel ?
    Yeah, BIOS sees it all, so does Windoze if I use it. It's an ASUS motherboard in a machine that I built. Should I try an SMP kernel, it's only got a single P4 processor?

  4. #4
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    Maybe the kernel isn't configured for more than 1GB.
    What do you get from this command?
    Code:
    cat /boot/config* | grep HIGHMEM
    Stand up and be counted as a Linux user!

  5. #5
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Quote Originally Posted by Zelmo
    Maybe the kernel isn't configured for more than 1GB.
    I'm afraid it is :
    Quote Originally Posted by SupaRice
    root@fs01:~# cat /boot/config-2.6.8-3-686 | grep CONFIG_HIGHMEM4G
    CONFIG_HIGHMEM4G=y
    About this :
    Quote Originally Posted by SupaRice
    Should I try an SMP kernel, it's only got a single P4 processor?
    If that CPU is hyperthreading enabled, yes you should use a SMP kernel. Then again, trying another kernel is what you should do anyway.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  6. #6
    Just Joined!
    Join Date
    Oct 2006
    Posts
    13
    Quote Originally Posted by antidrugue
    If that CPU is hyperthreading enabled, yes you should use a SMP kernel. Then again, trying another kernel is what you should do anyway.

    OK, tried the SMP kernel, get the same results....


    root@fs01:~# uname -r
    2.6.8-3-686-smp

    root@fs01:~# cat /proc/meminfo
    MemTotal: 2856380 kB
    MemFree: 2654912 kB
    Buffers: 123208 kB
    Cached: 40060 kB
    SwapCached: 0 kB
    Active: 38840 kB
    Inactive: 134884 kB
    HighTotal: 1965760 kB
    HighFree: 1910272 kB
    LowTotal: 890620 kB
    LowFree: 744640 kB
    SwapTotal: 3903752 kB
    SwapFree: 3903752 kB
    Dirty: 24 kB
    Writeback: 0 kB
    Mapped: 20912 kB
    Slab: 16212 kB
    Committed_AS: 70352 kB
    PageTables: 500 kB
    VmallocTotal: 114680 kB
    VmallocUsed: 5252 kB
    VmallocChunk: 109176 kB

    root@fs01:~# cat /boot/config-2.6.8-3-686-smp | grep CONFIG_HIGHMEM4G
    CONFIG_HIGHMEM4G=y


    Any ideas?

  7. #7
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    You can try to pass the mem boot parameter in GRUB :
    Code:
    mem=4096M
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •