Linux - HardwareThis 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.
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.
I just installed Fedora 11 with kernel 2.6.29.4-167.fc11.x86_64 on my
G31M-S motherboard (Intel G31 + ICH7 chipsets) with Intel Quad-core CPU and 4 GB RAM.
-The motherboard manufacturer's manual claims that the chipset can handle RAM up to 8 GB.
-The BIOS setup correctly detects the 4 GB RAM but after Linux boots the system detects only 2.9 GiB.
Below is the relevant section of my "dmesg" output if someone is not afraid of digging in.
Is this a BIOS limitation?
Should I upgrade the BIOS?
Any ideas or solutions?
Thanks.
-z
====-----------------------------------------------------------
Linux version 2.6.29.4-167.fc11.x86_64 (mockbuild@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.4.0 200
90506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Wed May 27 17:27:08 EDT 2009
Command line: ro root=/dev/mapper/vg_toy-lv_root nomodeset rhgb quiet
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009d000 (usable)
BIOS-e820: 000000000009d000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e6000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000bbfb0000 (usable)
BIOS-e820: 00000000bbfb0000 - 00000000bbfc0000 (ACPI data)
BIOS-e820: 00000000bbfc0000 - 00000000bbff0000 (ACPI NVS)
BIOS-e820: 00000000bbff0000 - 00000000bc000000 (reserved)
BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ff380000 - 0000000100000000 (reserved)
DMI present.
AMI BIOS detected: BIOS may corrupt low RAM, working around it.
last_pfn = 0xbbfb0 max_arch_pfn = 0x100000000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
original variable MTRRs
reg 0, base: 3008MB, range: 64MB, type UC
reg 1, base: 0GB, range: 2GB, type WB
reg 2, base: 2GB, range: 1GB, type WB
total RAM coverred: 3008M
Found optimal setting for mtrr clean up
gran_size: 64K chunk_size: 128M num_reg: 3 lose cover RAM: 0G
New variable MTRRs
reg 0, base: 0GB, range: 2GB, type WB
reg 1, base: 2GB, range: 1GB, type WB
reg 2, base: 3008MB, range: 64MB, type UC
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
===--------------------------------------------------------------
It looks like a BIOS or Motherboard limit. It does not look like the problem is in Linux.
Wander through the BIOS setup screens and see if there is anything that looks like it relates to the way the BIOS reports memory to the OS and/or remapping ram and/or the memory "hole".
There may be some BIOS setting you can just change to get the extra memory working.
The motherboard manufacturer's manual claims that the chipset can handle RAM up to 8 GB.
Do you have a URL for that claim?
I just did a quick google search on both the motherboard and the G31 chipset. Every page I found says the max ram is "4GB" and that unfortunately always means less than 4GB, typically 3.25GB.
I don't know whether you're really stuck with under 3GB. Some pages I found said that motherboard could use 3.5GB when 4GB is installed. Maybe a change in BIOS setting or a BIOS upgrade would get you to 3.5GB.
I don't think that motherboard will let you use the full 4GB.
I was checking the BIOS settings but could not find anything related to Graphics.
Do you know what exactly to look for?
I am actually using a PCI-E graphics card and not the one that is built in. If that matters at all.
1) Look at 3.4.2 Chipset Configuration near the bottom of page 32.
If "Memory remap" is disabled, that would cause exactly your symptoms. Make sure that is enabled.
2) Look at 3.2 Main Screen. See how it displays shared memory and GTT memory. I don't know what GTT is. Since you're using a separate video card, you want shared memory as low as possible.
3) Further into 3.4.2, see Internal Graphics Mode, DVMT mode, and DVMT/Fixed Memory. It isn't clear from the doc, but I think some combination of those will disable the on board graphics when you have a graphics card, thus stopping the onboard graphics from reserving ram.
Earlier I was looking at the wrong motherboard entirely (by using google rather than your link to find the motherboard info). Adding ASROCK to that search I now see lots of sources indicating it has 8GB support, including that BIOS manual (the whole "Memory remap" feature would be meaningless if it didn't support over 3.x GB of ram). I still found only a little info on the Intel G31 chip itself and that says you are limited to 3.x GB. But there seems to be too much info about the board supporting 8GB for what I read about the chip to be correct.
Before I bought my Gigabyte MB, I downloaded the pdf for the manual and was impressed with the power in the documented BIOS setup. Your motherboard manual documents an even more powerful BIOS. Unfortunately, the Gigabyte documentation was a total lie. The actual BIOS was missing almost every documented feature. After upgrading to the only BIOS version that had a download available, only one of those missing features appeared. I hope your Asrock documentation is more honest about what features are actually present in the BIOS.
Please report back on how well the actual BIOS matched the documented one and whether changing any of those settings helped.
The lead that in the BIOS setup, by default, a significant chunk of RAM is reserved for the on-board video card was correct.
Joshfine, you put your finger on it!
Your first suggestion to enable "Memory remap" was instrumental. It recovered 3.8 GB RAM. There are still some ~200 MB missing for whatever purpose and I was not able to reduce that but I am not concerned about it.
My BIOS setup is actually missing the "Internal Graphics Mode, DVMT" option.
a significant chunk of RAM is reserved for the on-board video card
That may have been part of the problem and may still be part or all of the missing 200MB. It wasn't originally the main problem.
Quote:
"Memory remap" was instrumental.
That fixed the main problem. It did not affect the amount of ram (if any) that is reserved for video. It was a different kind of problem. My earlier email assumed you had to fix two separate problems.
Quote:
My BIOS setup is actually missing the "Internal Graphics Mode, DVMT" option.
Maybe the BIOS is really missing that documented option. Maybe other options combined with the presence of a video card cause the internal video to get disabled and then the BIOS suppresses options that are meaningless while it is disabled.
I guess it would take a fair amount of investigation to see whether there is memory allocated to the on-board video or whether the missing 200MB is something else.
If you ever care enough about the missing memory, post the new values (after remapping was enabled) of the BIOS ram table that you had in the first post, and post some info about the BIOS settings around the point where that DVMT option should have been.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.