-1

问题:

我相信有足够的主板有 8​​ 个内存插槽。我想通过 decode-dimms 查看 SPD 内存插槽的内容,但在 Linux 内核 I2C 总线中最多只支持 4 个插槽,包括在内。

描述:

主板 Asus P9X79pro 2011 年 8 个内存插槽

内核:Linux 5.15.0-2-amd64(SMP w/8 CPU 线程)

/etc/modules-load.d/:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# we use any of the following three to choose for: eeprom at24 ee1004
at24
i2c_i801
i2c_smbus
i2c-dev

# i2cdetect -l

i2c-0   smbus       SMBus I801 adapter at f000          SMBus adapter
i2c-1   i2c         nvkm-0000:01:00.0-bus-0000          I2C adapter
i2c-2   i2c         nvkm-0000:01:00.0-bus-0001          I2C adapter
i2c-3   i2c         nvkm-0000:01:00.0-bus-0002          I2C adapter

/var/log/消息

[    1.349519] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[    1.350413] i2c i2c-0: 8/8 memory slots populated (from DMI)
[    1.350416] i2c i2c-0: Systems with more than 4 memory slots not supported yet, not instantiating SPD

# 解码调光

# for 4.2-2+b1
No EEPROM found, the kernel probably does not support your hardware.

# 解码调光

# decode-dimms version 4.3

Memory Serial Presence Detect Decoder
By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner,
Jean Delvare, Trent Piepho and others


Number of SDRAM DIMMs detected and decoded: 0

# dmidecode:

Handle 0x002E, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x002C
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8 GB
    Form Factor: DIMM
    Set: None
    Locator: ChannelA_Dimm1
    Bank Locator: ChannelA
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1600 MT/s
    Manufacturer: Kingston
    Serial Number: 4C0F1E75
    Asset Tag: ChannelA_Dimm1_AssetTag
    Part Number: KHX1600C10D3/8G
    Rank: 2
    Configured Memory Speed: 1600 MT/s

Handle 0x0030, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x002C
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8 GB
    Form Factor: DIMM
    Set: None
    Locator: ChannelA_Dimm2
    Bank Locator: ChannelA
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1600 MT/s
    Manufacturer: Kingston
    Serial Number: 360D8537
    Asset Tag: ChannelA_Dimm2_AssetTag
    Part Number: 9905403-558.A00LF
    Rank: 2
    Configured Memory Speed: 1600 MT/s

Handle 0x0032, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x002C
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8 GB
    Form Factor: DIMM
    Set: None
    Locator: ChannelB_Dimm1
    Bank Locator: ChannelB
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1600 MT/s
    Manufacturer: Kingston
    Serial Number: 4B0F776E
    Asset Tag: ChannelB_Dimm1_AssetTag
    Part Number: KHX1600C10D3/8G
    Rank: 2
    Configured Memory Speed: 1600 MT/s

Handle 0x0034, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x002C
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8 GB
    Form Factor: DIMM
    Set: None
    Locator: ChannelB_Dimm2
    Bank Locator: ChannelB
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1600 MT/s
    Manufacturer: Kingston
    Serial Number: 370DA637
    Asset Tag: ChannelB_Dimm2_AssetTag
    Part Number: 9905403-558.A00LF
    Rank: 2
    Configured Memory Speed: 1600 MT/s

Handle 0x0036, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x002C
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8 GB
    Form Factor: DIMM
    Set: None
    Locator: ChannelC_Dimm1
    Bank Locator: ChannelC
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1600 MT/s
    Manufacturer: Kingston
    Serial Number: 1731AE49
    Asset Tag: ChannelC_Dimm1_AssetTag
    Part Number: KHX1600C10D3/8G
    Rank: 2
    Configured Memory Speed: 1600 MT/s

Handle 0x0038, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x002C
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8 GB
    Form Factor: DIMM
    Set: None
    Locator: ChannelC_Dimm2
    Bank Locator: ChannelC
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1600 MT/s
    Manufacturer: Kingston
    Serial Number: 370D9537
    Asset Tag: ChannelC_Dimm2_AssetTag
    Part Number: 9905403-558.A00LF
    Rank: 2
    Configured Memory Speed: 1600 MT/s

Handle 0x003A, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x002C
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8 GB
    Form Factor: DIMM
    Set: None
    Locator: ChannelD_Dimm1
    Bank Locator: ChannelD
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1600 MT/s
    Manufacturer: Kingston
    Serial Number: 1C31AE49
    Asset Tag: ChannelD_Dimm1_AssetTag
    Part Number: KHX1600C10D3/8G
    Rank: 2
    Configured Memory Speed: 1600 MT/s

Handle 0x003C, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x002C
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8 GB
    Form Factor: DIMM
    Set: None
    Locator: ChannelD_Dimm2
    Bank Locator: ChannelD
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1600 MT/s
    Manufacturer: Kingston
    Serial Number: 360D9637
    Asset Tag: ChannelD_Dimm2_AssetTag
    Part Number: 9905403-558.A00LF
    Rank: 2
    Configured Memory Speed: 1600 MT/s

linux-source-5.15/drivers/i2c/i2c-smbus.c

line 358:
    if (slot_count > 4) {
        dev_warn(&adap->dev,
             "Systems with more than 4 memory slots not supported yet, not instantiating SPD\n");
        return;
    }

豪普:

有人可以建议如何联系内核开发人员吗?

4

1 回答 1

0

阅读有关 Linux 内核开发工作方式的好地方是https://kernelnewbies.org/站点。有关如何联系内核开发人员的更多信息,您可以阅读FoundBug 子页面

在这种特殊情况下,您可以找到编写/维护此代码的开发人员,并直接与他联系并提出您的请求。所有内核开发都是在开放的情况下完成的,因此您可以在patchwork上找到补丁提交

如您所见,补丁由 Jean Delvare 签署,他恰好是 Linux 中大多数 I2C/SMBus 控制器驱动程序的维护者,如维护者列表中所示。

直接联系开发商并不是唯一的可能性。可能更好的选择是使用适当的邮件列表,同样,可以在上面链接的 maintainers 列表中找到该列表。

话虽如此,您可以像这样接触内核开发人员这一事实并不意味着您应该这样做,当然,除非您想自己提出补丁。

于 2021-12-29T12:40:07.277 回答