Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > Why can I not see all 4gb of RAM?

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-27-2006   #1 (permalink)
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
SupaRice is offline  



Reply With Quote
Old 11-27-2006   #2 (permalink)
Linux Guru
 
antidrugue's Avatar
 
Join Date: Oct 2005
Location: Montreal, Canada
Posts: 3,213
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
antidrugue is offline   Reply With Quote
Old 11-27-2006   #3 (permalink)
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?
SupaRice is offline   Reply With Quote
Old 11-28-2006   #4 (permalink)
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!
Zelmo is offline   Reply With Quote
Old 11-28-2006   #5 (permalink)
Linux Guru
 
antidrugue's Avatar
 
Join Date: Oct 2005
Location: Montreal, Canada
Posts: 3,213
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
antidrugue is offline   Reply With Quote
Old 11-28-2006   #6 (permalink)
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?
SupaRice is offline   Reply With Quote
Old 11-28-2006   #7 (permalink)
Linux Guru
 
antidrugue's Avatar
 
Join Date: Oct 2005
Location: Montreal, Canada
Posts: 3,213
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
antidrugue is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:19 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1