LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-20-2019, 08:10 AM   #1
Kevin68
LQ Newbie
 
Registered: Sep 2019
Posts: 19

Rep: Reputation: Disabled
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.
 
Old 09-20-2019, 08:21 AM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora, Alpine, Cirros, OpenSuse/SLES
Posts: 3,472

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
Quote:
Originally Posted by Kevin68 View Post
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.
Old 09-20-2019, 08:27 AM   #3
ehartman
Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 955

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
Originally Posted by Kevin68 View Post
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).
 
Old 09-20-2019, 08:33 AM   #4
Kevin68
LQ Newbie
 
Registered: Sep 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ehartman View Post
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.
 
Old 09-20-2019, 10:06 AM   #5
ehartman
Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 955

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
Originally Posted by Kevin68 View Post
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.
 
Old 09-20-2019, 10:13 AM   #6
Kevin68
LQ Newbie
 
Registered: Sep 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ehartman View Post
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.
 
Old 09-20-2019, 10:17 AM   #7
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, KDE Neon, Arch, Void
Posts: 3,155

Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
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.
Old 09-20-2019, 10:24 AM   #8
Kevin68
LQ Newbie
 
Registered: Sep 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Timothy Miller View Post
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.
 
Old 09-20-2019, 05:59 PM   #9
Kevin68
LQ Newbie
 
Registered: Sep 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-20-2019, 06:54 PM   #10
Kevin68
LQ Newbie
 
Registered: Sep 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-20-2019, 06:58 PM   #11
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, KDE Neon, Arch, Void
Posts: 3,155

Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
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).
 
Old 09-20-2019, 07:25 PM   #12
Kevin68
LQ Newbie
 
Registered: Sep 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Timothy Miller View Post
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."
 
Old 09-20-2019, 08:38 PM   #13
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, KDE Neon, Arch, Void
Posts: 3,155

Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
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.
Old 09-21-2019, 01:14 PM   #14
Kevin68
LQ Newbie
 
Registered: Sep 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Timothy Miller View Post
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
 
Old 09-21-2019, 01:26 PM   #15
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, KDE Neon, Arch, Void
Posts: 3,155

Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
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.
 
  


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
Not seeing Username or Password boxes on LQ after latest upgrade in seamonkey or firefox Trasa Slackware 8 06-30-2018 09:03 PM
Blackberry 8330 Curve not seeing the mass storage device(memory) metallica1973 Linux - Mobile 1 08-01-2010 12:06 AM
system not seeing memory card jukebox55 Slackware 18 08-03-2008 05:06 AM
Sun Fire v20z Server Not seeing more than 2 Gig memory fallenstar Linux - Newbie 5 11-04-2004 03:46 PM
RH 7.3 to RH 9 Upgrade, Dell 4300, Not Seeing Megaraid ctwarchol Red Hat 0 11-11-2003 08:58 AM

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

All times are GMT -5. The time now is 07:30 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration