LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-19-2018, 10:54 AM   #1
warr
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Rep: Reputation: 0
Vanishing memory


I have a problem which may be Linux related or may be hardware. My old machine has an ASRock G31M-S motherboard, Q6600 CPU. Bios is as up to date as one could expect from so venerable device and sees 8Gb memory (2 x 4Gb)

Lshw -short -C memory returns:

H/W path Device Class Description
==============================================================
/0/0 memory 64KiB BIOS
/0/4/5 memory 128KiB L1 cache
/0/4/6 memory 8MiB L2 cache
/0/e memory 8GiB System Memory
/0/e/0 memory 4GiB DIMM SDRAM Synchronous
/0/e/1 memory 4GiB DIMM SDRAM Synchronous

But free -g returns:

total used free shared buff/cache available
Mem: 3 1 0 0 1 1
Swap: 42 0 42

So although I have 8Gb physical memory on-board and the MoBo can handle 8 Gb, Mint 19 (64bit) is only seeing 3 Gb. Any clues as to why this should be ? I suspect this may have been asked before but my Google-Fu seems weak today.
 
Old 12-19-2018, 10:59 AM   #2
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
While at least some of the memory (maybe just 200-300MB depending on your mobo) will not be available to the operating system, because it used by the machine itself, there should be more than 3GiB available to Linux if you have 8GiB of RAM.

Have you tried putting some known good memory in it, or tried putting that same memory in another machine to see if you have the same problem?

Does the BIOS see the 8GiB of RAM?
 
Old 12-19-2018, 12:00 PM   #3
warr
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Have you tried putting some known good memory in it, or tried putting that same memory in another machine to see if you have the same problem?

Does the BIOS see the 8GiB of RAM?[/QUOTE]


BIOS sees 2x4gb ram. The memory modules came out of a known working machine. I have no spare 4 Gb modules but I will test the board with 2 x 2Gb modules & see what I get.

Strange. cat /proc/meminfo gives:

....8 Gb modules............................4 Gb modules
MemTotal: 3265720 kB............MemTotal: 3265720 kB
MemFree: 181748 kB............MemFree: 2028588 kB
MemAvailable: 1503348 kB............MemAvailable: 2438332 kB
Buffers: 45172 kB............Buffers: 83124 kB
Cached: 1479112 kB............Cached: 491196 kB
SwapCached: 0 kB............SwapCached: 0 kB
Active: 1430828 kB............Active: 637812 kB
Inactive: 1413736 kB............Inactive: 425472 kB

Last edited by warr; 12-19-2018 at 12:25 PM.
 
Old 12-19-2018, 03:00 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926
Try entering the BIOS setup and enabling the "Memory Remap Feature" option.

https://www.asrock.com/support/faq.asp?id=238
 
Old 12-20-2018, 02:26 AM   #5
warr
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hydrurga View Post
Try entering the BIOS setup and enabling the "Memory Remap Feature" option.

https://www.asrock.com/support/faq.asp?id=238
You are absolutely right. I found that last night - the blurb is a bit confusing.
 
Old 12-20-2018, 04:53 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926
Quote:
Originally Posted by warr View Post
You are absolutely right. I found that last night - the blurb is a bit confusing.
Great. If that worked, you can mark the thread as "Solved" using "Thread Tools" at the top of the thread.
 
  


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
Newbie - Vanishing hard drive Original Homes Linux - Hardware 5 01-23-2004 06:26 AM
The amazing vanishing mouse! lovelyguinness Linux - Hardware 3 10-22-2003 06:36 PM
Vanishing minimized apps - revisited jhansman Red Hat 1 09-14-2003 04:05 PM
Vanishing mouse odin123 Linux - Hardware 2 11-29-2002 12:22 AM
Vanishing Desktop shooter Linux - Newbie 2 11-08-2001 06:53 AM

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

All times are GMT -5. The time now is 07:51 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
Open Source Consulting | Domain Registration