inxi en dmidecode.
Als u zoals ik een probleem heeft met hangende PC of hangend besturingssysteem of een computer die plots terug opstart of afsluit kan dit een probleem zijn met incompatibel geheugen of defect geheugen,
dan kan je de hardware gegevens van de computer uitlezen met commando's als inxi
en dmidecode
.
Het programma dmidecode rapporteert de informatie over de computerhardware
zoals die beschreven is in de systeem BIOS. Deze gegevens worden beschreven
in de SMBIOS/DMI specificatie, die specificatie evolueert mee met de
computerhardware. De afkorting DMI staat voor Desktop Management Interface.
Bij het opstarten wordt deze informatie door de kernel uitgelezen en via het sysfs filesysteem beschikbaar gesteld. Deze informatie is alleen voor de
root user (id 0) beschikbaar. Het programma dmidecode decodeert deze informatie en geeft deze weer in een leesbare vorm. Omdat sommige gedeelten van de informatie
alleen toegangkelijk is voor de root gebruiker, moet het commando dmidecode
(en ook inxi
) opgeroepen worden vanuit een omgeving als root (id 0) gebruiker.
Het programma dmidecode
werkt onder de volgende operating systemen:
- * Linux i386, x86-64, ia64, arm64
- * FreeBSD i386, amd64
- * NetBSD i386, amd64
- * OpenBSD i386, amd64
- * BeOS i386
- * Solaris x86
- * Haiku i586
Gedeeltes van de code van dmidecode zijn geïntegreerd in andere programmas zoals lshw
en inxi
.
Voorbeelden.
lenovo@m93p:~$ inxi -m
Memory:
RAM: total: 3.77 GiB used: 1.49 GiB (39.6%)
RAM Report:
permissions: Unable to run . Root privileges required.
lenovo@m93p:~$ sudo su
[sudo] wachtwoord voor lenovo:
root@m93p:/home/lenovo# inxi -m
Memory:
RAM: total: 3.77 GiB used: 1.43 GiB (38.0%)
Array-1: capacity: 32 GiB slots: 4 EC: None
Device-1: ChannelA-DIMM0 size: 2 GiB speed: 1333 MT/s
Device-2: ChannelA-DIMM1 size: No Module Installed
Device-3: ChannelB-DIMM0 size: 2 GiB speed: 1333 MT/s
Device-4: ChannelB-DIMM1 size: No Module Installed
Voor meer informatie gebruiken we het commando "dmidecode"
Om alle argumenten bij het gebruik van "dmidecode" te weten gebruikt u "--help"
root@m93p:/home/lenovo# dmidecode --help
Usage: dmidecode [OPTIONS]
Options are:
-d, --dev-mem FILE Read memory from device FILE (default: /dev/mem)
-h, --help Display this help text and exit
-q, --quiet Less verbose output
-s, --string KEYWORD Only display the value of the given DMI string
-t, --type TYPE Only display the entries of given type
-H, --handle HANDLE Only display the entry of given handle
-u, --dump Do not decode the entries
--dump-bin FILE Dump the DMI data to a binary file
--from-dump FILE Read the DMI data from a binary file
--no-sysfs Do not attempt to read DMI data from sysfs files
--oem-string N Only display the value of the given OEM string
-V, --version Display the version and exit
Er zijn echter nog meer argumenten zoals bv het argument "-t1"
root@m93p:/home/lenovo# dmidecode -t1
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: 10A90011MH
Version: ThinkCentre M93p
Serial Number: S4A24349
UUID: 18fdda34-3ff7-11e3-930f-b4c3c3231900
Wake-up Type: Power Switch
SKU Number: LENOVO_PN_10A90011MH
Family: To be filled by O.E.M.
Als u eventueel alles wilt zien gebruikt u "dmidecode | more"
Dit geeft u zeer veel informatie, extreem veel, dus wees gewaarschuwd.
U kan ook de gegevens van het BIOS oproepen met "dmidecode --type bios"
ot@m93p:/home/lenovo# dmidecode --type bios
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: LENOVO
Version: FBKT53AUS
Release Date: 09/27/2013
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 6656 kB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 1.53
Firmware Revision: 1.13
Handle 0x005A, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Long
Installable Languages: 3
en|US|iso8859-1
fr|FR|iso8859-1
zh|CN|unicode
Currently Installed Language: en|US|iso8859-1
Een ander zeer goed argument is "-t 17"
oot@m93p:/home/lenovo# dmidecode -t 17
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0042, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0041
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: ChannelA-DIMM0
Bank Locator: BANK 0
Type: DDR3
Type Detail: Synchronous
Speed: 1333 MT/s
Manufacturer: Hynix/Hyundai
Serial Number: 27831998
Asset Tag: 9876543210
Part Number: HMT125U6BFR8C-H9
Rank: 2
Configured Memory Speed: 1333 MT/s
Handle 0x0045, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0041
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: ChannelA-DIMM1
Bank Locator: BANK 1
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: [Empty]
Serial Number: [Empty]
Asset Tag: 9876543210
Part Number: [Empty]
Rank: Unknown
Configured Memory Speed: Unknown
Handle 0x0046, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0041
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: ChannelB-DIMM0
Bank Locator: BANK 2
Type: DDR3
Type Detail: Synchronous
Speed: 1333 MT/s
Manufacturer: Hynix/Hyundai
Serial Number: 27511910
Asset Tag: 9876543210
Part Number: HMT125U6BFR8C-H9
Rank: 2
Configured Memory Speed: 1333 MT/s
Handle 0x0048, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0041
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: ChannelB-DIMM1
Bank Locator: BANK 3
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: [Empty]
Serial Number: [Empty]
Asset Tag: 9876543210
Part Number: [Empty]
Rank: Unknown
Configured Memory Speed: Unknown
Een goede website voor kennis over "dmidecode" is :
12 Useful 'dmidecode' Command Examples for Linux Admin [EN]
Verder kan je meer gedetaileerde infomatie vinden over de verschillende types die in dmidecode
ondersteund zijn, in de manual pagina. [EN]
Roger.
GNU/Linux werkgroep.
Een nieuwe bijdrage van Roger over DRAM timings.
Hoe RAM timings controleren in Linux?
How to check RAM timings in linux?
In windows geeft CPUz info over geheugentimings.
Is het mogelijk om dat in Linux te bekijken? Is er een app die me de geheugentimings kan tonen van het RAM-geheugen dat momenteel in mijn systeem is geïnstalleerd?
2C-gereedschappen voor Linux
Het i2c-tools pakket bevat een heterogene set I2C-gereedschappen voor Linux: een bus probing tool, een chip dumper, register-level SMBus access helpers, EEPROM decoderingsscripts, EEPROM programmeergereedschappen, en een python module voor SMBus toegang. Alle versies van Linux worden ondersteund, zolang I2C-ondersteuning in de kernel is opgenomen.
Deze tools maakten vroeger deel uit van het lm-sensors pakket, maar werden later opgesplitst in een apart pakket. De reden hiervoor is dat niet alle hardware monitoring chips I2C apparaten zijn, en niet alle I2C apparaten hardware monitoring chips zijn, dus alles in één pakket was verwarrend en onpraktisch.
De huidige grote versie van i2c-tools is versie 4.
Als je de timings van het geheugen wilt controleren moet je dus i2c-tools installeren met het commando : apt install i2c-tools
decode-dimms.
Let op dat ik het hier doe onder root, waarom omdat het bij deze Linux Mint 21.1 blijkbaar nog niet was geïnstalleerd en ik dus eerst probeerde met root maar dan toch geïnstalleerd heb.
Eenmaal erop moet je, om het te gebruiken, niet meer root zijn.
root@9020aio:/home/dellaio# decode-dimms
Opdracht 'decode-dimms' niet gevonden, maar deze kan worden geïnstalleerd met:
apt install i2c-tools
root@9020aio:/home/dellaio# apt install i2c-tools
root@9020aio:/home/dellaio# decode-dimms
# decode-dimms version 4.3
Memory Serial Presence Detect Decoder
By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner,
Jean Delvare, Trent Piepho and others
Decoding EEPROM: /sys/bus/i2c/drivers/at24/0-0050
Guessing DIMM is in bank 1
Kernel driver used at24
---=== SPD EEPROM Information ===---
EEPROM CRC of bytes 0-116 OK (0xD1E3)
# of bytes written to SDRAM EEPROM 176
Total number of bytes in EEPROM 256
Fundamental Memory type DDR3 SDRAM
SPD Revision 1.3
Module Type SO-DIMM
---=== Memory Characteristics ===---
Maximum module speed 1600 MT/s (PC3-12800)
Size 8192 MB
Banks x Rows x Columns x Bits 8 x 16 x 10 x 64
Ranks 2
SDRAM Device Width 8 bits
Primary Bus Width 64 bits
tCL-tRCD-tRP-tRAS 11-11-11-28
Supported CAS Latencies (tCL) 11T, 10T, 9T, 8T, 7T, 6T, 5T
---=== Timings at Standard Speeds ===---
tCL-tRCD-tRP-tRAS as DDR3-1600 11-11-11-28
tCL-tRCD-tRP-tRAS as DDR3-1333 9-9-9-24
tCL-tRCD-tRP-tRAS as DDR3-1066 7-7-7-19
tCL-tRCD-tRP-tRAS as DDR3-800 6-6-6-14
---=== Timing Parameters ===---
Minimum Cycle Time (tCK) 1.250 ns
Minimum CAS Latency Time (tAA) 13.125 ns
Minimum Write Recovery time (tWR) 15.000 ns
Minimum RAS# to CAS# Delay (tRCD) 13.125 ns
Minimum Row Active to Row Active Delay (tRRD) 6.000 ns
Minimum Row Precharge Delay (tRP) 13.125 ns
Minimum Active to Precharge Delay (tRAS) 35.000 ns
Minimum Active to Auto-Refresh Delay (tRC) 48.125 ns
Minimum Recovery Delay (tRFC) 260.000 ns
Minimum Write to Read CMD Delay (tWTR) 7.500 ns
Minimum Read to Pre-charge CMD Delay (tRTP) 7.500 ns
Minimum Four Activate Window Delay (tFAW) 30.000 ns
---=== Optional Features ===---
Operable voltages 1.5V, 1.35V
RZQ/6 supported? Yes
RZQ/7 supported? Yes
DLL-Off Mode supported? Yes
Operating temperature range 0-95 degrees C
Refresh Rate in extended temp range 2X
Auto Self-Refresh? No
On-Die Thermal Sensor readout? No
Partial Array Self-Refresh? No
Module Thermal Sensor No
SDRAM Device Type Standard Monolithic
Maximum Activate Count (MAC) 200 K
---=== Physical Characteristics ===---
Module Height 30 mm
Module Thickness 2 mm front, 2 mm back
Module Width 67.6 mm
Module Reference Card F revision 3
Rank 1 Mapping Standard
---=== Manufacturer Data ===---
Module Manufacturer SK Hynix (former Hyundai Electronics)
DRAM Manufacturer SK Hynix (former Hyundai Electronics)
Manufacturing Location Code 0x01
Manufacturing Date 2021-W38
Assembly Serial Number 0x00664197
Part Number HMT41GS6AFR8A-PB
Revision Code 0x4E41
Decoding EEPROM: /sys/bus/i2c/drivers/eeprom/0-0052
Guessing DIMM is in bank 3
Kernel driver used eeprom
---=== SPD EEPROM Information ===---
EEPROM CRC of bytes 0-116 OK (0xD1E3)
# of bytes written to SDRAM EEPROM 176
Total number of bytes in EEPROM 256
Fundamental Memory type DDR3 SDRAM
SPD Revision 1.3
Module Type SO-DIMM
---=== Memory Characteristics ===---
Maximum module speed 1600 MT/s (PC3-12800)
Size 8192 MB
Banks x Rows x Columns x Bits 8 x 16 x 10 x 64
Ranks 2
SDRAM Device Width 8 bits
Primary Bus Width 64 bits
tCL-tRCD-tRP-tRAS 11-11-11-28
Supported CAS Latencies (tCL) 11T, 10T, 9T, 8T, 7T, 6T, 5T
---=== Timings at Standard Speeds ===---
tCL-tRCD-tRP-tRAS as DDR3-1600 11-11-11-28
tCL-tRCD-tRP-tRAS as DDR3-1333 9-9-9-24
tCL-tRCD-tRP-tRAS as DDR3-1066 7-7-7-19
tCL-tRCD-tRP-tRAS as DDR3-800 6-6-6-14
---=== Timing Parameters ===---
Minimum Cycle Time (tCK) 1.250 ns
Minimum CAS Latency Time (tAA) 13.125 ns
Minimum Write Recovery time (tWR) 15.000 ns
Minimum RAS# to CAS# Delay (tRCD) 13.125 ns
Minimum Row Active to Row Active Delay (tRRD) 6.000 ns
Minimum Row Precharge Delay (tRP) 13.125 ns
Minimum Active to Precharge Delay (tRAS) 35.000 ns
Minimum Active to Auto-Refresh Delay (tRC) 48.125 ns
Minimum Recovery Delay (tRFC) 260.000 ns
Minimum Write to Read CMD Delay (tWTR) 7.500 ns
Minimum Read to Pre-charge CMD Delay (tRTP) 7.500 ns
Minimum Four Activate Window Delay (tFAW) 30.000 ns
---=== Optional Features ===---
Operable voltages 1.5V, 1.35V
RZQ/6 supported? Yes
RZQ/7 supported? Yes
DLL-Off Mode supported? Yes
Operating temperature range 0-95 degrees C
Refresh Rate in extended temp range 2X
Auto Self-Refresh? No
On-Die Thermal Sensor readout? No
Partial Array Self-Refresh? No
Module Thermal Sensor No
SDRAM Device Type Standard Monolithic
Maximum Activate Count (MAC) 200 K
---=== Physical Characteristics ===---
Module Height 30 mm
Module Thickness 2 mm front, 2 mm back
Module Width 67.6 mm
Module Reference Card F revision 3
Rank 1 Mapping Standard
---=== Manufacturer Data ===---
Module Manufacturer SK Hynix (former Hyundai Electronics)
DRAM Manufacturer SK Hynix (former Hyundai Electronics)
Manufacturing Location Code 0x01
Manufacturing Date 2021-W38
Assembly Serial Number 0x00664197
Part Number HMT41GS6AFR8A-PB
Revision Code 0x4E41
Dit is de uitslag van het gebruik van i2c-tools met het commando decode-dimms
Wat zien we, de twee nieuwe so-dimms geplaatst in deze Dell 9020 AIO zijn DDR3, 8192 MB of 8Gb groot per stuk en hebben een snelheid van 1600 MT/s (PC3-12800).
De timings zijn tCL-tRCD-tRP-tRAS 11-11-11-28, wat ik dus zocht.
Supported CAS Latencies (tCL): 11T, 10T, 9T, 8T, 7T, 6T, 5T.
Bronnen :
how-to-check-ram-timings-in-linux [EN]
I2C_Tools [EN]
Terug naar Home