View previous topic :: View next topic |
Author |
Message |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed May 24, 2006 12:16 pm Post subject: [SOLVED] Only 1Gb out of 2Gb RAM recognized by system. Why? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Naib Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/10548223558c42f2887453.jpg)
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Wed May 24, 2006 12:18 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed May 24, 2006 12:27 pm Post subject: |
|
|
Naib wrote: | did you enable high-memory support in the kernel? |
Now why would I go and do something completely sensible like that?!
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Giengaron n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Sep 2004 Posts: 26 Location: Boston, MA
|
Posted: Wed May 24, 2006 12:52 pm Post subject: kernel memory settings |
|
|
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. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|