Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System detects incorrect amount of memory [SOLVED]
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
JollyRoger
n00b
n00b


Joined: 24 Mar 2006
Posts: 24

PostPosted: Tue Jun 12, 2007 6:19 am    Post subject: System detects incorrect amount of memory [SOLVED] Reply with quote

Hello,

I just purchased an extra 1GB stick of DDR2 memory for my laptop (Dell Latitude D610). 512MB of memory was already present in the system. After installing the new memory, Windows detects 1.5Gb of memory as being available. However, Linux only detects 881Mb.

Code:

lithium@darkstar ~ $ free -m
             total       used       free     shared    buffers     cached
Mem:           881        647        233          0        222         81
-/+ buffers/cache:        344        537
Swap:          980          0        980


What's going on here?


Last edited by JollyRoger on Wed Jun 13, 2007 4:50 am; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Jun 12, 2007 6:28 am    Post subject: Reply with quote

Is CONFIG_HIGHMEM4G set to yes in your kernel config?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Mr_Shameless
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2006
Posts: 90
Location: sumwhere in Asia

PostPosted: Tue Jun 12, 2007 6:30 am    Post subject: Reply with quote

I guess it's a setting in the kernel configuration.

You should recompile the kernel with this option:

"Processor type and features" --> "High memory support" (choose 4G)

In case you dont have a kernel source yet, this page is a comprehensive guide on how to do everything.
Back to top
View user's profile Send private message
JollyRoger
n00b
n00b


Joined: 24 Mar 2006
Posts: 24

PostPosted: Tue Jun 12, 2007 6:39 am    Post subject: Reply with quote

Yea, that option is not set but I thought that was only necessary if you have over 2GB or 4GB of memory. I'll try it and let you know.

Thanks.
Back to top
View user's profile Send private message
Mr_Shameless
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2006
Posts: 90
Location: sumwhere in Asia

PostPosted: Tue Jun 12, 2007 7:00 am    Post subject: Reply with quote

Quote:
Yea, that option is not set but I thought that was only necessary if you have over 2GB or 4GB of memory.

No. If you press "?", it will tell you to choose "OFF" if you don't have more than 1G :)
Back to top
View user's profile Send private message
JollyRoger
n00b
n00b


Joined: 24 Mar 2006
Posts: 24

PostPosted: Wed Jun 13, 2007 3:28 am    Post subject: Reply with quote

That worked.

Code:

lithium@darkstar ~ $ free -m
             total       used       free     shared    buffers     cached
Mem:          1507        313       1194          0         26        158
-/+ buffers/cache:        128       1379
Swap:          980          0        980


Thanks.
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