public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: J88 <jakob.mailto@googlemail.com>
Cc: linux-i2c@vger.kernel.org
Subject: Re: [decode-dimms] fails to read SPD
Date: Mon, 4 Oct 2021 20:45:14 +0200	[thread overview]
Message-ID: <20211004204514.12bfc9c6@endymion> (raw)
In-Reply-To: <CAG4msd=qMuJt72qjouRKMM85=zDpLunyaRRRYAAzkiuxEw=t2g@mail.gmail.com>

Hi Jakob,

On Sun, 3 Oct 2021 09:47:18 +0200, J88 wrote:
> i am trying to read out the DDR4 Specs on
> 
> SETUP
> 
> [Mainboard] Supermicro X10DRH-CT (
> https://www.supermicro.com/en/products/motherboard/X10DRH-CT)
> 
> [Memory]
> 2x 16GB DDR4Super Talent F24R16G4S1
> 
> [OS]
> Ubuntu Server 21.04 / Kernel 5.11.0-37-generic
> 
> --------------------------------
> 
> root@ramtest1:/home/rt1# modprobe -r eeprom
> root@ramtest1:/home/rt1# modprobe ee1004
> root@ramtest1:/home/rt1# 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: -- -- -- -- -- -- -- -- -- 49 -- -- -- -- -- --
> 50: 50 -- -- -- -- -- -- -- -- 59 -- -- -- -- -- --
> 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> 70: -- -- -- -- -- -- -- --
> 
> root@ramtest1:/home/rt1# echo ee1004 0x50 >
> /sys/bus/i2c/devices/i2c-1/new_device
> root@ramtest1:/home/rt1# echo ee1004 0x59 >
> /sys/bus/i2c/devices/i2c-1/new_device
> root@ramtest1:/home/rt1# decode-dimms
> Cannot read /sys/bus/i2c/drivers/ee1004/1-0050/eeprom at
> /usr/bin/decode-dimms line 2459.

This is a server board with 16 memory slots, well above the 4 supported
by the automatic SPD detection currently implemented in the i2c-i801
driver. These server boards have their SMBus multiplexed, so automatic
DPS detection is not possible. You need to get information from the
vendor, how the multiplexing is implemented. Some boards are using
GPIO-controlled mux chips, and you need to know which pins to toggle.
Other boards use I2C-controlled mux chips, and you need to know which
model and at which address it lives.

This work was already done for Asus Z8 board series 10 years ago. You
will need similar work for your board in order to be able to access SPD
EEPROMs (and possibly some thermal sensors) on your system.

-- 
Jean Delvare
SUSE L3 Support

           reply	other threads:[~2021-10-04 18:45 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAG4msd=qMuJt72qjouRKMM85=zDpLunyaRRRYAAzkiuxEw=t2g@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211004204514.12bfc9c6@endymion \
    --to=jdelvare@suse.de \
    --cc=jakob.mailto@googlemail.com \
    --cc=linux-i2c@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox