Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Only 1Gb out of 2Gb RAM recognized by system. Why?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Wed May 24, 2006 12:16 pm    Post subject: [SOLVED] Only 1Gb out of 2Gb RAM recognized by system. Why? Reply with quote

Hi,

I have a PC with 2 gigs of RAM, running the latest stable 2.6 gentoo-sources kernel. The BIOS confirms that it recognizes 2Gb of RAM, however, I get the following output:

Code:
#cat /proc/meminfo
MemTotal:       904880 kB
MemFree:        697488 kB
Buffers:         18448 kB
Cached:          67300 kB
SwapCached:          0 kB
Active:         163252 kB
Inactive:        21708 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       904880 kB
LowFree:        697488 kB
SwapTotal:     1048568 kB
SwapFree:      1048568 kB
Dirty:             236 kB
Writeback:           0 kB
Mapped:         106848 kB
Slab:            15116 kB
CommitLimit:   1501008 kB
Committed_AS:   143704 kB
PageTables:        716 kB
VmallocTotal:   122600 kB
VmallocUsed:     11700 kB
VmallocChunk:   110628 kB


Any ideas what the problem may be?

TIA.


Last edited by rev138 on Wed May 24, 2006 12:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6069
Location: Removed by Neddy

PostPosted: Wed May 24, 2006 12:18 pm    Post subject: Reply with quote

did you enable high-memory support in the kernel?
_________________
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Wed May 24, 2006 12:27 pm    Post subject: Reply with quote

Naib wrote:
did you enable high-memory support in the kernel?


Now why would I go and do something completely sensible like that?! :oops:

Thanks.
Back to top
View user's profile Send private message
Giengaron
n00b
n00b


Joined: 14 Sep 2004
Posts: 26
Location: Boston, MA

PostPosted: Wed May 24, 2006 12:52 pm    Post subject: kernel memory settings Reply with quote

This will show your kernel memory settings (more than you really need but it works)
#grep MEM /usr/src/linux/.config

you probably have:
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set

you probably want:
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set

I just notices that you resloved your problem before I posted. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum