LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2009, 01:36 PM   #1
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 117

Rep: Reputation: Disabled
How do you translate the bios provided physical ram in dmesg?


Is there an easier way to see where exactly them memory is being allocated to? I can't make sense of the hexes and what parts of my computer that they represent.




Code:
 0.000000] BIOS-provided physical RAM map:                                                           
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009bc00 (usable)                                  
[    0.000000]  BIOS-e820: 000000000009bc00 - 00000000000a0000 (reserved)                                
[    0.000000]  BIOS-e820: 00000000000e8000 - 00000000000eee00 (reserved)                                
[    0.000000]  BIOS-e820: 00000000000eee00 - 00000000000ef000 (ACPI NVS)                                
[    0.000000]  BIOS-e820: 00000000000ef000 - 0000000000100000 (reserved)                                
[    0.000000]  BIOS-e820: 0000000000100000 - 00000000bf730000 (usable)                                  
[    0.000000]  BIOS-e820: 00000000bf730000 - 00000000bf740000 (reserved)                                
[    0.000000]  BIOS-e820: 00000000bf740000 - 00000000bf742000 (ACPI NVS)                                
[    0.000000]  BIOS-e820: 00000000bf750000 - 00000000c0000000 (reserved)                                
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec28000 (reserved)                                
[    0.000000]  BIOS-e820: 00000000fed00000 - 00000000fed00500 (reserved)                                
[    0.000000]  BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved)                                
[    0.000000]  BIOS-e820: 00000000fed1c000 - 00000000fed90000 (reserved)                                
[    0.000000]  BIOS-e820: 00000000feda0000 - 00000000fedc0000 (reserved)                                
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)                                
[    0.000000]  BIOS-e820: 00000000ffa00000 - 00000000ffc00000 (reserved)                                
[    0.000000]  BIOS-e820: 00000000ffd00000 - 0000000100000000 (reserved)
 
Old 02-05-2009, 01:48 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta2 on Lenovo Thinkpad W520
Posts: 6,778

Rep: Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115
Filter it through hexduump (good luck), or use kcalc, if you have it installed, to convert hexadecimal values to decimal ones. Guess here are many other converters, just wait for more answers.
 
Old 02-05-2009, 02:26 PM   #3
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
The bottom line is that the BIOS isn't giving Linux access to the chunk of ram that you reported missing in your other thread.
http://www.linuxquestions.org/questi...31#post3387331

There is nothing in that dmesg output regarding any memory given to the onboard video. But more memory is missing than the amount that might be given to onboard video, so changing the amount given to onboard video (if you could) wouldn't help.

In other threads, there is discussion of certain motherboard chipsets that can't remap memory, so a big chunk of 4GB is necessarily unusable (even if the dmidecode info lets the BIOS and/or Linux know that ram is present).

Some BIOSs have options for whether they set up the remapping. I think some have options for how they report memory to the OS. So if your chipset supports the remapping, there is some BIOS feature that needs to be enabled to make it work.

Regarding your direct question in this thread, the missing ram problem does not mean RAM was allocated by the BIOS or Linux to some purpose. (So you are asking the wrong question for the problem as well as the wrong question for the data posted).

Of course, you still could use some program to translate the hex number to decimal if you want to better follow the significant data from that quote, which is the location and size of the usable chunks of ram.

The key thing I see in that quoted data is the final number 100000000 hex, which represents exactly the 4GB boundary in the address space.

Part of the address space in the first 4GB must be used for things other than ram. So if you have 4GB of ram, part of that ram must use address space above the 4GB boundary. The data you quoted says there is nothing above the 4GB boundary, meaning either the motherboard can't support addresses above the 4GB boundary or the BIOS hasn't or can't turn on that support.

Last edited by johnsfine; 02-05-2009 at 02:36 PM.
 
  


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
Determine Physical RAM size skistner Linux - Hardware 18 02-22-2010 01:57 PM
Virtual Network Interface provided by 2 physical interfaces? ewolf Linux - Networking 1 07-29-2008 01:53 PM
P 501 Total ram and physical ram Ammad Linux - Hardware 2 02-20-2008 02:00 AM
Size of physical RAM bkankur Linux - General 3 07-21-2006 06:27 AM
please translate my dmesg output for me... Adrian Baker Linux - Software 2 07-27-2005 04:26 PM


All times are GMT -5. The time now is 11:01 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