On Fri, Apr 12, 2019 at 7:52 PM Jean Delvare <jdelvare@xxxxxxx> wrote: > > On Fri, 12 Apr 2019 19:15:54 +0100, Dreamcat4 wrote: > > On Fri, Apr 12, 2019 at 3:43 PM Jean Delvare <jdelvare@xxxxxxx> wrote: > > > OK, so the problem is that the EEPROMs on your memory modules do not > > > behave the way the ee1004 driver expects. I thought EE1004 was a > > > standard for all DDR4 modules... I have no satisfactory explanation for > > > what you observe. Either Crucial used non-standard SPD EEPROMs, or the > > > SMBus controller is messing up with the commands before they reach the > > > EEPROMs. But both are pretty unlikely. > > > > > > Out of curiosity, what's your SMBus controller? > > > > > > # lspci -nn | grep SMBus > > > > [root:~] 6 # lspci -nn | grep SMBus > > 00:1f.4 SMBus [0c05]: Intel Corporation 200 Series/Z370 Chipset Family > > SMBus Controller [8086:a2a3] > > [root:~] # > > OK, can you please try the following and report which commands fail and > which succeed (if any): > > # rmmod ee1004 > # modprobe i2c-dev > # i2cset 2 0x36 0x00 > # i2cget 2 0x36 0x00 [root:~] # rmmod ee1004 [root:~] # modprobe i2c-dev [root:~] # i2cset 2 0x36 0x00 WARNING! This program can confuse your I2C bus, cause data loss and worse! I will write to device file /dev/i2c-2, chip address 0x36, data address 0x00, no data. Continue? [Y/n] y Error: Write failed [root:~] 1 # i2cget 2 0x36 0x00 WARNING! This program can confuse your I2C bus, cause data loss and worse! I will read from device file /dev/i2c-2, chip address 0x36, data address 0x00, using read byte data. Continue? [Y/n] y Error: Read failed [root:~] 2 # no messages on dmesg > > Please also provide the full PCI configuration space for the SMBus > controller: > > # lspci -vvv -s 00:1f.4 [root:~] # lspci -vvv -s 00:1f.4 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller Subsystem: ASUSTeK Computer Inc. 200 Series PCH SMBus Controller Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 16 Region 0: Memory at df24a000 (64-bit, non-prefetchable) [size=256] Region 4: I/O ports at f000 [size=32] Kernel driver in use: i801_smbus Kernel modules: i2c_i801 [root:~] # > > Thanks, > -- > Jean Delvare > SUSE L3 Support