Warning: in_array() expects parameter 2 to be array, string given in /virtual/theblogs.bestsolution.at/httpd/htdocs/wp-content/plugins/google-one/google-plus-one.php on line 344

Warning: in_array() expects parameter 2 to be array, string given in /virtual/theblogs.bestsolution.at/httpd/htdocs/wp-content/plugins/google-one/google-plus-one.php on line 346

getting even more information about installed RAM


Warning: in_array() expects parameter 2 to be array, string given in /virtual/theblogs.bestsolution.at/httpd/htdocs/wp-content/plugins/google-one/google-plus-one.php on line 344

Warning: in_array() expects parameter 2 to be array, string given in /virtual/theblogs.bestsolution.at/httpd/htdocs/wp-content/plugins/google-one/google-plus-one.php on line 346

In a previous post [1] I wrote that the linux tool to find out details about RAM is dmideocde.

I have, however, just learned that that is not always correct because it effectively relies on BIOS information that may be incorrect (buggy BIOSes are not too uncommon).

So, as a plan B, if you don’t get all the information you need (especially information about speed settings), there is the “lm-sensors” package [2]. Every distro I am aware of has it, for Mandriva it is probably already preinstalled, if not, just install it like this:
% urpmi lm_sensors

In Debian >= Lenny you need to install the i2c-tools package instead.

The lm-sensors package usually also contains a nice script called “decode-dimms.pl” (or similar, depending on your distro again).

If you invoke it as root, it may carp like this:

% decode-dimms.pl
[...]
No EEPROM found, are you sure the eeprom module is loaded?

You can circumvent this problem by loading the eeprom module into memory:
% modprobe eeprom

After that, you should get really everything you ever wanted to know about the memory being used, for example on a ASRock G31M-S mainboard with a 2GB Kingston DDR2/800 memory:

Decoding EEPROM: /sys/bus/i2c/drivers/eeprom/1-0050
Guessing DIMM is in bank 1

---=== SPD EEPROM Information ===---
EEPROM Checksum of bytes 0-62 OK (0x7D)
# of bytes written to SDRAM EEPROM 128
Total number of bytes in EEPROM 256
Fundamental Memory type DDR2 SDRAM
SPD Revision 1.2

---=== Memory Characteristics ===---
Maximum module speed 800MHz (PC2-6400)
Size 2048 MB
tCL-tRCD-tRP-tRAS 6-6-6-18
Supported CAS Latencies 6, 5, 4
Minimum Cycle Time (CAS 6) 2.5 ns
Maximum Access Time (CAS 6) 0.4 ns
Minimum Cycle Time (CAS 5) 3 ns
Maximum Access Time (CAS 5) 0.45 ns
Minimum Cycle Time (CAS 4) 3.75 ns
Maximum Access Time (CAS 4) 0.5 ns

---=== Manufacturing Information ===---
mManufacturer Kingston
Manufacturing Location Code 0x03
Part Number
Manufacturing Date 2009-W09
Assembly Serial Number 0x9DCCAD2D

[1] http://riaschissl.blogs.bestsolution.at/2009/06/16/finding-out-details-about-installed-ram-on-a-linux-box/
[2] http://www.lm-sensors.org

Spread the love

Leave a Reply

avatar
  Subscribe  
Notify of

Post Navigation