linux - RAM 信息与 dmidecode --type 17

标签 linux ram

在华硕 V-PRO Z77 主板上安装了 2x2(金士顿和海盗船)内存插槽。所有四个 RAM 板条都不会引起任何投诉。他们工作正常。但是,下面是运行 dmidecode 程序的结果输出,在输出中我对以下几行感兴趣:
错误信息句柄:0x0060
错误信息句柄:0x0063
这是什么意思?
这些错误的原因是什么?
不幸的是,我无法在 Google 中找到有关此的信息。

$ sudo dmidecode --type 17
# dmidecode 2.12
# SMBIOS entry point at 0x000f04c0
SMBIOS 2.7 present.

Handle 0x005B, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x005C
    Error Information Handle: 0x0060
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: DIMM
    Set: None
    Locator: ChannelA-DIMM0
    Bank Locator: BANK 0
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1333 MHz
    Manufacturer: Kingston
    Serial Number: 9333B00B
    Asset Tag: 9876543210
    Part Number: 99U5584-007.A00LF 
    Rank: 1
    Configured Clock Speed: 1333 MHz

Handle 0x005F, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x005C
    Error Information Handle: No Error
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: DIMM
    Set: None
    Locator: ChannelA-DIMM1
    Bank Locator: BANK 1
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1333 MHz
    Manufacturer: 029E
    Serial Number: 00000000
    Asset Tag: 9876543210
    Part Number: CMZ8GX3M2A1600C9  
    Rank: 2
    Configured Clock Speed: 1333 MHz

Handle 0x0062, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x005C
    Error Information Handle: 0x0063
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: DIMM
    Set: None
    Locator: ChannelB-DIMM0
    Bank Locator: BANK 2
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1333 MHz
    Manufacturer: Kingston
    Serial Number: 1D10C373
    Asset Tag: 9876543210
    Part Number: 99U5584-018.A00LF 
    Rank: 1
    Configured Clock Speed: 1333 MHz

Handle 0x0065, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x005C
    Error Information Handle: No Error
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: DIMM
    Set: None
    Locator: ChannelB-DIMM1
    Bank Locator: BANK 3
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1333 MHz
    Manufacturer: 029E
    Serial Number: 00000000
    Asset Tag: 9876543210
    Part Number: CMZ8GX3M2A1600C9  
    Rank: 2
    Configured Clock Speed: 1333 MHz  

UPD

$ sudo dmidecode --type 18
# dmidecode 2.12
# SMBIOS entry point at 0x000f04c0
SMBIOS 2.7 present.

Handle 0x005D, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0060, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0063, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0066, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

最佳答案

您可以查看可用的 dmidecode 源 online :

    case 17: /* 7.18 Memory Device */
        printf("Memory Device\n");
        if (h->length < 0x15) break;
        if (!(opt.flags & FLAG_QUIET))
        {
            printf("\tArray Handle: 0x%04X\n",
                WORD(data + 0x04));
            printf("\tError Information Handle:");
            dmi_memory_array_error_handle(WORD(data + 0x06));
            printf("\n");

好的,所以 Error Information Handle:来自一些数据结构偏移量 0x06,可能是一些 dmi 数据,因为程序被命名为 dmidecode。
我们在 dmi 规范中搜索偏移量 0x06:SMBIOS specification7.18 Memory Device (Type 17)Table 71 - Memory Device (Type 17) Structure我们找到Memory Error Information Handle附描述:

The handle, or instance number, associated with
any error that was previously detected for the
device. if the system does not provide the error
information structure, the field contains FFFEh;
otherwise, the field contains either FFFFh (if no
error was detected) or the handle of the errorinformation
structure. See 7.18.4 and 7.34. 

7.34 64-Bit Memory Error Information (Type 33)部分你可能会发现Table 100 - 64-Bit Memory Error Information (Type 33) structure .

所以 Error Information Handle: <handle>dmidecode --type 17 output 表示 Memory Error Information Handle 中有一个值你的存储卡的 dmi 结构。这意味着您的 BIOS 检测到与您的存储卡和句柄相关的错误 0x00600x0063可用于检索有关最后检测到的错误的错误信息结构。 无论如何尝试dmidecode --type 33进一步调查。

关于linux - RAM 信息与 dmidecode --type 17,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49719304/

相关文章:

linux - 如何忽略脚本中的标准输入

linux - grep -f 当模式文件也有一些空行时

c++ - QPrinter 分辨率在 Linux 中是错误的

c# - 如何在 C# 中将摄像头流数据存储在数组中

java - Apache VFS 内存中

ruby - apache、phusion 乘客和内存使用情况

python - 您可以在不写入硬盘的情况下创建临时文件吗

linux - PV dev/dev/mapper/mpathc 的副本存在于未知设备 8 :96

linux - linux kernel 2.6.32.8编译报错怎么解决

php - 如何在没有 exec 的情况下获取 CPU 使用率和 RAM 使用率?