带有dmidecode的RAM信息 - 类型17

时间:2018-04-08 15:07: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

1 个答案:

答案 0 :(得分:1)

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

UPDATE wp_postmeta as pm
JOIN  wp_postmeta as pm2 ON pm.post_id = pm2.post_id
SET pm.meta_value = ( pm2.meta_value - 350 )
WHERE pm.meta_key LIKE '_sale_price'
  AND pm2.meta_key LIKE '_regular_price'
  AND pm.post_id IN
    ( SELECT p2.ID
     FROM wp_posts AS p
     JOIN wp_posts AS p2 ON p2.post_parent = p.ID
     WHERE p.post_type = 'product'
       AND p.post_status = 'publish'
       AND p.ID = 19
       AND p2.post_type = 'product_variation'
       AND p2.post_status = 'publish' );

好的,所以 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"); 来自某些数据结构偏移0x06,可能是一些dmi数据,导致程序被命名为dmidecode。
我们搜索dmi规范中的偏移量0x06:Error Information Handle: 7.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输出Memory Error Information Handle表示存储卡的dmi结构的0x0060值。这意味着您的BIOS检测到与您的存储卡相关的错误,并且句柄0x0063dmidecode --type 33可用于检索有关上次检测到的错误的错误信息结构。 无论如何,请尝试public class Person { public string Name; public int Id; //fk to Company.Id public int CompanyId; public List<Contacts> Contacts; } public class Company { public Name; public int Id; } public class Contact { public Name; public int Id; public string PhoneNumber; //fk to Person.Id public int PersonId; } 进一步调查。