Bug#1001286: linux: Systems with more than 4 memory slots not supported yet, not instantiating SPD

2022-05-16 Thread Сергей Фёдоров

I rebuilt the kernel with changing to 
"./linux-source-5.17.6-1/drivers/i2c/i2c-smbus.c"

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

replaced with
if (slot_count > 8) {
dev_warn(>dev,
 "Systems with more than 8 memory slots not supported 
yet, not instantiating SPD\n");
return;
}

and now it is written in the logs:

May 12 23:22:33 A1 kernel: [4.094892] i801_smbus :00:1f.3: SMBus using 
PCI interrupt
May 12 23:22:33 A1 kernel: [4.095301] i2c i2c-0: 8/8 memory slots populated 
(from DMI)




Bug#1001286: linux: Systems with more than 4 memory slots not supported yet, not instantiating SPD

2021-12-07 Thread Сергей Фёдоров


Source: linux
Version: 5.10.46-4
Severity: normal
X-Debbugs-Cc: serfyo...@yandex.ru

Dear Maintainer,



/var/log/messages

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

Dec  3 05:28:15 A1 kernel: [1.322527] i801_smbus :00:1f.3: SMBus using 
PCI interrupt
Dec  3 05:28:15 A1 kernel: [1.322911] i2c i2c-0: 4/8 memory slots populated 
(from DMI)
Dec  3 05:28:15 A1 kernel: [1.322914] i2c i2c-0: Systems with more than 4 
memory slots not supported yet, not instantiating SPD

/var/log/syslog

Dec  2 22:12:57 A1 kernel: [1.341085] i801_smbus :00:1f.3: SMBus using 
PCI interrupt
Dec  2 22:12:57 A1 kernel: [1.341467] i2c i2c-0: 8/8 memory slots populated 
(from DMI)
Dec  2 22:12:57 A1 kernel: [1.341470] i2c i2c-0: Systems with more than 4 
memory slots not supported yet, not instantiating SPD

Dec  3 05:28:15 A1 kernel: [1.322527] i801_smbus :00:1f.3: SMBus using 
PCI interrupt
Dec  3 05:28:15 A1 kernel: [1.322911] i2c i2c-0: 4/8 memory slots populated 
(from DMI)
Dec  3 05:28:15 A1 kernel: [1.322914] i2c i2c-0: Systems with more than 4 
memory slots not supported yet, not instantiating SPD

/var/log/kern.log

Dec  2 22:12:57 A1 kernel: [1.341085] i801_smbus :00:1f.3: SMBus using 
PCI interrupt
Dec  2 22:12:57 A1 kernel: [1.341467] i2c i2c-0: 8/8 memory slots populated 
(from DMI)
Dec  2 22:12:57 A1 kernel: [1.341470] i2c i2c-0: Systems with more than 4 
memory slots not supported yet, not instantiating SPD

Dec  3 05:28:15 A1 kernel: [1.322527] i801_smbus :00:1f.3: SMBus using 
PCI interrupt
Dec  3 05:28:15 A1 kernel: [1.322911] i2c i2c-0: 4/8 memory slots populated 
(from DMI)
Dec  3 05:28:15 A1 kernel: [1.322914] i2c i2c-0: Systems with more than 4 
memory slots not supported yet, not instantiating SPD

Viewing log-in led to the idea that so far
Systems with more than 4 memory slots not supported yet, not instantiating SPD

Is it possible to remove this restriction for "8 memory slots"?



For memory strips:
Kingston HyperX  KHX16C10B1R/8
Kingston HyperX Fury HX316C10FRK2/16
Kingston HyperX Fury HX316C10FWK2/16

For Debian-11.1.0 64 Sid

/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 from
# 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-:01:00.0-bus-  I2C adapter
i2c-2   i2c nvkm-:01:00.0-bus-0001  I2C adapter
i2c-3   i2c nvkm-:01:00.0-bus-0002  I2C adapter

For some reason, at least one file is not created automatically in 
"/sys/bus/i2c/drivers/"
"0-0050" ... "0-0057"
 ...
"3-0050" ... "3-0057"
with a description of the memory parameters.


i2cdetect -y 0
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 08 -- -- -- -- -- -- --
10: 10 11 -- -- 14 15 -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --


# i2cdetect -y 1
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --


# i2cdetect -y 2
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --


# i2cdetect -y 3
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- --