LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-03-2018, 08:29 AM   #1
theOakBaron
LQ Newbie
 
Registered: Feb 2018
Posts: 1

Rep: Reputation: Disabled
Why is my Debian computer only using 2GB RAM? (i686 2013 Macbook Pro running Debian KDE)


The computer originally had 4GB of RAM in it, and I thought that maybe half it had been damaged somehow. The computer is relatively old, after all. I got 4GB of working ram and popped it in but "vmstat -s" command still only shows 2GB of total RAM. Why is this and can I fix it?
 
Old 02-03-2018, 09:02 AM   #2
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
32 bit cannot address 4GB as far as I remember.
 
1 members found this post helpful.
Old 02-03-2018, 03:01 PM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Lysander666 View Post
32 bit cannot address 4GB as far as I remember.
Yes it can.

https://www.linuxquestions.org/quest...-limit-707762/

However, if the kernel is PAE-enabled and the CPU supports it, which almost all do nowadays, this rises to 64GB.

https://en.wikipedia.org/wiki/Physic...xtension#Linux

It sounds to me as if the OP's problem is hardware-related.
 
1 members found this post helpful.
Old 02-03-2018, 03:44 PM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by theOakBaron View Post
The computer originally had 4GB of RAM in it, and I thought that maybe half it had been damaged somehow. The computer is relatively old, after all. I got 4GB of working ram and popped it in but "vmstat -s" command still only shows 2GB of total RAM. Why is this and can I fix it?
While I can see you have marked this thread as "[SOLVED]", I have to agree with hydrurga.

Also, if it's only showing 2GB when you run the command in the link below, into the "Open Firmware interface" shell, then it's probably the RAM that has gone bad. I would check that anyway.

https://superuser.com/questions/3975...mware-ram-size
 
1 members found this post helpful.
Old 02-03-2018, 04:18 PM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by theOakBaron View Post
The computer originally had 4GB of RAM in it, and I thought that maybe half it had been damaged somehow. The computer is relatively old, after all. I got 4GB of working ram and popped it in but "vmstat -s" command still only shows 2GB of total RAM. Why is this and can I fix it?
Unless you're running a very old release of Debian, then a 686 kernel will have PAE enabled (686-pae). The old 686 non-PAE kernels were removed, probably around the squeeze (6.0) release as I recall (from that point on you had to install the 486 kernel to get a non NX/PAE kernel).
 
  


Reply



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
Wireless Connection on MacBook Pro 8,1 running Debian hosstoid Linux - Wireless Networking 2 05-02-2014 11:09 PM
[SOLVED] Debian - Networking doesn't work after upgrading RAM to more than 2GB? Mavman Linux - Hardware 20 04-10-2014 10:54 PM
[SOLVED] i686 Linux only using 2GB of ram... ryan858 Linux - Hardware 23 08-27-2009 02:29 PM
Upgraded ram to 2gb and debian only sees 1 still AgentD Debian 12 01-24-2009 01:29 PM
Debian 64 bit sees only 2GB RAM jay73 Debian 1 08-02-2007 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration