LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you translate the bios provided physical ram in dmesg? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-translate-the-bios-provided-physical-ram-in-dmesg-702531/)

CoffeeKing!!! 02-05-2009 12:36 PM

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)


Didier Spaier 02-05-2009 12:48 PM

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.

johnsfine 02-05-2009 01:26 PM

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.


All times are GMT -5. The time now is 03:45 PM.