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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-20-2019, 08:10 AM
|
#1
|
LQ Newbie
Registered: Sep 2019
Posts: 19
Rep: 
|
Centos 7 not seeing memory upgrade
Getting into Linux, installed Centos 7 on an old workstation that had Vista on it. System has four memory slots where the system had 2 x 1 gig sticks, and 2 x 512 meg sticks, for a total of 3 gigs (DDR 2).
I took three sticks out and put 3 x 2 gig memory sticks, and left one of the original 1 gig sticks. This should equal 7 gigs.
Centos still sees the system as having 3 gigs.
The thing is, I do not know if the motherboard supports more than 3 gigs of memory.
I was playing around with this until bedtime last night and will get back on it when I get home.
When I get home I will get into the bios and see if the motherboard is seeing the 7 gigs of memory.
Until I get home this evening, the question is:
Will Centos 7 see added memory, or do I need to change something on the OS?
This is an older Gateway FX desktop with a core 2 quad cpu. I do not remember who made the motherboard.
|
|
|
09-20-2019, 08:21 AM
|
#2
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Quote:
Originally Posted by Kevin68
Will Centos 7 see added memory, or do I need to change something on the OS?
|
Yes. If the computer (the BIOS) knows about it, so does normally Centos. You could check for error or warning messages in the message buffer at early boot time. Use the dmesg command.
|
|
1 members found this post helpful.
|
09-20-2019, 08:27 AM
|
#3
|
Senior Member
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674
|
Quote:
Originally Posted by Kevin68
I took three sticks out and put 3 x 2 gig memory sticks, and left one of the original 1 gig sticks. This should equal 7 gigs.
|
No, at most 6 GB as "pairs" of memory sticks should be identical, so AT MOST it is seen as 2x2G plus 2x1G (if the motherboard accepts those 2 GB sticks).
Also make sure the (better keep both 1 GB sticks in the system) first two slots are filled with the larger sticks, so slot 0 and 1 with 2 GB, 2 and 3 with 1 GB to reach that total of 6 GB
Or, IF the motherboard can handle 2 GB sticks: buy a 4th one for 8 GB total (at least all the sticks then are identical).
|
|
|
09-20-2019, 08:33 AM
|
#4
|
LQ Newbie
Registered: Sep 2019
Posts: 19
Original Poster
Rep: 
|
Quote:
Originally Posted by ehartman
No, at most 6 GB as "pairs" of memory sticks should be identical, so AT MOST it is seen as 2x2G plus 2x1G (if the motherboard accepts those 2 GB sticks).
Also make sure the (better keep both 1 GB sticks in the system) first two slots are filled with the larger sticks, so slot 0 and 1 with 2 GB, 2 and 3 with 1 GB to reach that total of 6 GB
Or, IF the motherboard can handle 2 GB sticks: buy a 4th one for 8 GB total (at least all the sticks then are identical).
|
Seems you like to go by the book. Yes, that is the way things are "supposed" to go.
In real life I have been mixing memory on computers for close to two decades and rarely if ever have an issue.
Motherboards usually do good at sensing the memory and getting things to work.
|
|
|
09-20-2019, 10:06 AM
|
#5
|
Senior Member
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674
|
Quote:
Originally Posted by Kevin68
Seems you like to go by the book. Yes, that is the way things are "supposed" to go.
|
And does with an Intel Core 2 cpu, as that is a two-way interleave processor, so needs its memory in matched sizes.
|
|
|
09-20-2019, 10:13 AM
|
#6
|
LQ Newbie
Registered: Sep 2019
Posts: 19
Original Poster
Rep: 
|
Quote:
Originally Posted by ehartman
And does with an Intel Core 2 cpu, as that is a two-way interleave processor, so needs its memory in matched sizes.
|
You think using the single one gig stick is preventing the system from seeing the other 4 gigs? Maybe it would be better to take that single stick out with the matching stick on the other slot and see if I can at least get 4 gigs.
I found the system on an old Cnet page, which says the computer supports 8 gigs of memory.
|
|
|
09-20-2019, 10:17 AM
|
#7
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,028
|
I would at least start the troubleshooting there. Make sure it sees 2x2 first, then see if you can add an additional 2x1.
|
|
1 members found this post helpful.
|
09-20-2019, 10:24 AM
|
#8
|
LQ Newbie
Registered: Sep 2019
Posts: 19
Original Poster
Rep: 
|
Quote:
Originally Posted by Timothy Miller
I would at least start the troubleshooting there. Make sure it sees 2x2 first, then see if you can add an additional 2x1.
|
Sounds like a good idea.
Will replace the 2 gig module that matches with the 1 gig with a 1 gig, this will be 2 - 1 - 2 - 1 . Hopefully get 6 gigs. Go from there and see what happens.
It was late last night when I put the memory in and did not have a lot of time to play with it.
|
|
|
09-20-2019, 05:59 PM
|
#9
|
LQ Newbie
Registered: Sep 2019
Posts: 19
Original Poster
Rep: 
|
Got home, ate dinner, switched one of the 2 gig memory modules out with a one gig, 2 - 1- 2- 1, system still shows three gigs of memory.
Rebooting, going to check bios... go from there
|
|
|
09-20-2019, 06:54 PM
|
#10
|
LQ Newbie
Registered: Sep 2019
Posts: 19
Original Poster
Rep: 
|
Took 2 chips out, left two of the two gig. 2 - empty - 2 - empty. Centos still showed three gigs of memory. Put memory back in with the two 2 gig sticks along with the two 1 gig. Rebooted
Rebooted, system showed the bios screen for a split second, and I was able to hit pause. Motherboard shows 6 gigs of memory. I got my camera and took a picture if yall want to see it.
So what would cause the OS to only see 3 gigs. Its almost as if a 32 bit os was installed.
My kernel version - 3.10.0-1062.1.1.el7.x86_64
~~~~~ EDIT ~~~~~~
Maybe I could reinstall with the new memory? This is a fresh install so nothing would be lost.
~~ EDIT 2 ~~
[root@unknown00E0B8E6C968 ~]# sudo lshw -class memory
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 080014
date: 01/14/2008
size: 64KiB
capacity: 512KiB
capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification
*-cache:0
description: L1 cache
physical id: 5
slot: L1-Cache
size: 128KiB
capacity: 128KiB
capabilities: internal write-back data
configuration: level=1
*-cache:1
description: L2 cache
physical id: 6
slot: L2-Cache
size: 8MiB
capacity: 8MiB
capabilities: internal write-back unified
configuration: level=2
*-memory
description: System Memory
physical id: 25
slot: System board or motherboard
size: 6GiB
But free command shows 3 gigs
[root@unknown00E0B8E6C968 ~]# free
total used free shared buff/cache available
Mem: 3172048 1280780 1025480 89900 865788 1642960
Swap: 3145724 0 3145724
System monitor shows three gigs of memory.
Last edited by Kevin68; 09-20-2019 at 07:11 PM.
|
|
|
09-20-2019, 06:58 PM
|
#11
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,028
|
Does that machine have the ability to boot from USB? If so, can you create a CentOS 7 install USB just to see if the live image sees the full available ram? Or ANY live linux really? Just to test that the mobo is passing the information properly to the OS (I have seen this happen with old, early generation 64-bit motherboards).
|
|
|
09-20-2019, 07:25 PM
|
#12
|
LQ Newbie
Registered: Sep 2019
Posts: 19
Original Poster
Rep: 
|
Quote:
Originally Posted by Timothy Miller
Does that machine have the ability to boot from USB? If so, can you create a CentOS 7 install USB just to see if the live image sees the full available ram?
|
Thank you and yes, I installed the OS with a bootable thumbdrive.
What do I need to do?
Reboot the system with the thumbdrive, then what? I am not sure what you meant by "live image."
|
|
|
09-20-2019, 08:38 PM
|
#13
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,028
|
Live image - Any OS that can run from a USB (or cd/dvd but obviously that's a lot slower) and doesn't just go straight into an installer. You're not needing to actually do anything, just boot to a USB environment with whatever OS you can, verify how much ram said environment sees.
This step is strictly to rule out the bios/bootloader communication as the issue.
|
|
1 members found this post helpful.
|
09-21-2019, 01:14 PM
|
#14
|
LQ Newbie
Registered: Sep 2019
Posts: 19
Original Poster
Rep: 
|
Quote:
Originally Posted by Timothy Miller
Live image - Any OS that can run from a USB (or cd/dvd but obviously that's a lot slower) and doesn't just go straight into an installer. You're not needing to actually do anything, just boot to a USB environment with whatever OS you can, verify how much ram said environment sees.
This step is strictly to rule out the bios/bootloader communication as the issue.
|
Thank you. Last night I did a fresh install of Centos 7. During the install I selected reclaim the drive space. This was to check if Cent was not seeing the memory upgrade.
Same issue with a fresh install, the OS sees only 3 gigs of memory.
This morning I downloaded Ubuntu, created a bootable flashdrive, booted into Ubbuntu, brought up terminal and ran sudo lshw -class memory
memory
description: System Memory
physical id: 25
slot: System board or motherboard
size: 6GiB
The memory display shows the correct size size memory module in the correct slots.
Top command says KiB Mem : 3328596 total.
System monitor - resources - memory - 3.2 gigs.
The motherboard shows to have 6 gigs of memory, but for some reason neither ubuntu or Centos can see no more than 3 gigs.
ubuntu@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
|
|
|
09-21-2019, 01:26 PM
|
#15
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,028
|
I don't suppose there's a BIOs update for that board? Sounds like it's a BIOS issue. Some of the early generation Athlon 64 boards I saw the same thing in.
|
|
|
All times are GMT -5. The time now is 07:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|