LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-25-2008, 10:22 PM   #1
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 117

Rep: Reputation: Disabled
trying to get 64 bit ubuntu to recognize all 4 gigs of ram (Intel Core2 Duo CPU)


Hi
I've tried recompiling the kernel to enable highmem. I can search for the option and find it in menuconfig or xconfig. However I can't find it without the search options. I can't even find the dependencies.



this is the result of the search:

Code:
Symbol: HIGHMEM64G [=n]                                                 
 Prompt: 64GB                                                            
  Defined at arch/x86/Kconfig:866                                       
  Depends on: <choice> && !M386 && !M486                                
    Location:                                                             
  -> Processor type and features                                      
        -> High Memory Support(<choice>[=n])                            
     Selects:X86_PAE
the bios and dmidecode can see that are 4 gigs of ram. the "free" command cannot.

lshw: (note the 32 bit width) But, does that make a difference with dual channeling?
Code:
 *-pci                                                                     
  description: Host bridge                                             
   product: Mobile PM965/GM965/GL960 Memory Controller Hub              
 vendor: Intel Corporation                                            
  physical id: 100                                                     
  bus info: pci@0000:00:00.0                                           
  version: 03                                                          
   width: 32 bits                                                       
    clock: 33MHz
Any help would be greatly appreciated.
 
Old 12-25-2008, 10:31 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,053

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
HIGHMEM (and PAE) are 32-bit options - not 64-bit.
There is no problem with Ubuntu 64 bit seeing 4 Gig
Code:
me@ubuntu:~$ free -m 
             total       used       free     shared    buffers     cached
Mem:          3959        846       3112          0         36        295
-/+ buffers/cache:        514       3444
Swap:          925          0        925

     *-memory
          description: System Memory
          physical id: 1000
          slot: System board or motherboard
          size: 4GiB
        *-bank:0
             description: DIMM DDR Synchronous 667 MHz (1.5 ns)
             product: HYMP325S64AMP8-Y5
             vendor: AD00000000000000
             physical id: 0
             serial: 04008027
             slot: DIMM_A
             size: 2GiB
             width: 64 bits
             clock: 667MHz (1.5ns)
        *-bank:1
             description: DIMM DDR Synchronous 667 MHz (1.5 ns)
             product: HYMP325S64AMP8-Y5
             vendor: AD00000000000000
             physical id: 1
             serial: 00007026
             slot: DIMM_B
             size: 2GiB
             width: 64 bits
             clock: 667MHz (1.5ns)

Last edited by syg00; 12-25-2008 at 10:41 PM.
 
Old 12-25-2008, 10:38 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,441
Blog Entries: 3

Rep: Reputation: 182Reputation: 182
coffe king I went through Ubuntu forums and I found there stock kernel is different from the server kernel config and build.Symbol:
HIGHMEM64G [=n] <--- =y sees 64 gig and that was one of the diferences.
Prompt: 64GB
Defined at arch/x86/Kconfig:866
Depends on: <choice> && !M386 && !M486
Location:
-> Processor type and features
-> High Memory Support(<choice>[=n])
Selects:X86_PAE
spent a lot of time researching it today and I really hope the debian and ubuntu to people where not lying to me.
hey why don't you just install the server kernel it is a thought.

Last edited by Drakeo; 12-25-2008 at 10:42 PM.
 
Old 12-25-2008, 10:54 PM   #4
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 117

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
HIGHMEM (and PAE) are 32-bit options - not 64-bit.
There is no problem with Ubuntu 64 bit seeing 4 Gig
Code:
me@ubuntu:~$ free -m 
             total       used       free     shared    buffers     cached
Mem:          3959        846       3112          0         36        295
-/+ buffers/cache:        514       3444
Swap:          925          0        925

     *-memory
          description: System Memory
          physical id: 1000
          slot: System board or motherboard
          size: 4GiB
        *-bank:0
             description: DIMM DDR Synchronous 667 MHz (1.5 ns)
             product: HYMP325S64AMP8-Y5
             vendor: AD00000000000000
             physical id: 0
             serial: 04008027
             slot: DIMM_A
             size: 2GiB
             width: 64 bits
             clock: 667MHz (1.5ns)
        *-bank:1
             description: DIMM DDR Synchronous 667 MHz (1.5 ns)
             product: HYMP325S64AMP8-Y5
             vendor: AD00000000000000
             physical id: 1
             serial: 00007026
             slot: DIMM_B
             size: 2GiB
             width: 64 bits
             clock: 667MHz (1.5ns)
my bios states 4096 ram and "free -m" :
Code:
free -m
             total       used       free     shared    buffers    cached
Mem:          3008        825       2182          0         17       271
-/+ buffers/cache:        536       2471
Swap:         4604          0       4604
So, do you know why there is a gig missing?
 
Old 12-25-2008, 10:56 PM   #5
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 117

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Drakeo View Post
coffe king I went through Ubuntu forums and I found there stock kernel is different from the server kernel config and build.Symbol:
HIGHMEM64G [=n] <--- =y sees 64 gig and that was one of the diferences.
Prompt: 64GB
Defined at arch/x86/Kconfig:866
Depends on: <choice> && !M386 && !M486
Location:
-> Processor type and features
-> High Memory Support(<choice>[=n])
Selects:X86_PAE
spent a lot of time researching it today and I really hope the debian and ubuntu to people where not lying to me.
hey why don't you just install the server kernel it is a thought.
Drakeo
Thanks alot!
I do have the server kernel now but, I'm still getting a gig missing in free -m.
 
Old 12-25-2008, 10:58 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,053

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
No idea - I'd normally reckon on a mobo limitation, but if the BIOS sees it I guess that can't be the reason.
 
Old 12-26-2008, 12:10 AM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,441
Blog Entries: 3

Rep: Reputation: 182Reputation: 182
Quote:
Originally Posted by syg00 View Post
No idea - I'd normally reckon on a mobo limitation, but if the BIOS sees it I guess that can't be the reason.
I guess keeping things vanilla has it's benefits.
so many kernels. I like vanilla. But I did see a shared ram on a intel board ati vidio card steal 64 mb of ram

Last edited by Drakeo; 12-26-2008 at 12:20 AM.
 
Old 12-26-2008, 12:23 AM   #8
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
Is it possible that a portion of your memory is being used for onboard video? I know that my motherboards with onboard video allocate about 800+ MB for video use.
 
Old 12-26-2008, 12:41 AM   #9
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by AuroraCA View Post
Is it possible that a portion of your memory is being used for onboard video? I know that my motherboards with onboard video allocate about 800+ MB for video use.
Yeah that is correct , but you can find it out in youŕe BIOS settings
My Graphic card takes about 640 MB . it is also stated in the BIOS
so from my 4 GB 3.3 GB is left
 
Old 12-26-2008, 10:28 AM   #10
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 117

Original Poster
Rep: Reputation: Disabled
how do I find how much memory the video card is using? and when It really not show up in free -m because of that?
 
Old 12-26-2008, 10:47 AM   #11
Lowell1947
Member
 
Registered: May 2007
Location: Florida
Distribution: Ubuntu, SuSE10.2, LFS, Ubuntu Server (AMD64), Windows 7, Mac OSX
Posts: 30

Rep: Reputation: 16
Drakeo is right. I have one machine I set up with the Ubuntu server edition on it. Then I installed gnome desktop. It recognizes all the ram I've been able to throw at it.You can do a minimal installation and still get the ram to be recognized. Of course I later decided I wanted a server without all the baggage of a GUI and reinstalled the server software with out a gui.
 
Old 12-26-2008, 10:49 AM   #12
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 117

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Lowell1947 View Post
Drakeo is right. I have one machine I set up with the Ubuntu server edition on it. Then I installed gnome desktop. It recognizes all the ram I've been able to throw at it.You can do a minimal installation and still get the ram to be recognized. Of course I later decided I wanted a server without all the baggage of a GUI and reinstalled the server software with out a gui.
I'm running the server kernel now. same problem
 
Old 12-26-2008, 10:50 AM   #13
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 117

Original Poster
Rep: Reputation: Disabled
just to make sure-
I'd like to know how much ram the video card (or onboard video) is being given.

Last edited by CoffeeKing!!!; 12-26-2008 at 11:09 AM.
 
Old 12-26-2008, 12:10 PM   #14
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 117

Original Poster
Rep: Reputation: Disabled
pulling hair out now. Why the difference between "free -m" and

proc/mtrr?
Code:
reg00: base=0xfeda0000 (4077MB), size= 128KB: write-back, count=1
reg01: base=0xbf800000 (3064MB), size=   8MB: uncachable, count=1
reg02: base=0xffe00000 (4094MB), size=   2MB: write-protect, count=1
reg03: base=0x00000000 (   0MB), size=2048MB: write-back, count=1
reg04: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
reg05: base=0xe0000000 (3584MB), size= 256MB: write-combining, count=1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6 64BIT IN INTEL CORE2 DUO+ DG965RY.. Resolve..... ranjith_asp Linux - General 5 02-10-2008 08:42 PM
Installing 64-bit Linux on Intel Core 2 Duo netdiggity LinuxQuestions.org Member Intro 2 11-22-2007 09:13 AM
Installing Fc6 64 Bit On Intel Core2 Duo + 965 Motherboard ranjith_asp Fedora - Installation 1 03-04-2007 02:27 PM
Intel Core2 duo vs AMD X2 dasy2k1 Linux - Hardware 71 01-16-2007 09:43 AM
Anyone know when an nForce 590 board for Intel Core2 Duo processors comes out? spursrule General 0 09-13-2006 08:46 AM


All times are GMT -5. The time now is 07:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration