Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2019 01:24:37 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        driesm.michiels@gmail.com, freebsd-hackers@freebsd.org
Subject:   Re: Getting jedec_dimm to work
Message-ID:  <30a5f191-46ef-48e2-5fb4-395a1f1bd370@FreeBSD.org>
In-Reply-To: <002101d594d0$9b2a3280$d17e9780$@gmail.com>
References:  <002101d594d0$9b2a3280$d17e9780$@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/11/2019 20:32, driesm.michiels@gmail.com wrote:
> Hi hackers mailing list,
> 
>  
> 
> I'm playing around with jedec_dimm to pick up my memory modules so I can
> monitor temperature and read information from the SPD.
> 
> Although I'm kind of stuck at the point where I am as there really should
> not be anything more to it.

Are you sure that your DIMMs have the temperature sensor?
Are you sure that the DIMMs are connected to smbus0?
Do you have an smbus driver attached at all?

A bit more information about your hardware and kernel configuration would help.
It is typical to share a dmesg at least.

> ATM I load the module through kld_list in rc.conf and have the following in
> my device.hints as suggested in the man pages:
> 
>  
> 
> hint.jedec_dimm.0.at="smbus0"
> 
> hint.jedec_dimm.0.addr="0xa0"
> 
> hint.jedec_dimm.1.at="smbus0"
> 
> hint.jedec_dimm.1.addr="0xa2"
> 
> hint.jedec_dimm.2.at="smbus0"
> 
> hint.jedec_dimm.2.addr="0xa4"
> 
> hint.jedec_dimm.3.at="smbus0"
> 
> hint.jedec_dimm.3.addr="0xa6"
> 
> hint.jedec_dimm.4.at="smbus0"
> 
> hint.jedec_dimm.4.addr="0xa8"
> 
> hint.jedec_dimm.5.at="smbus0"
> 
> hint.jedec_dimm.5.addr="0xaA"
> 
> hint.jedec_dimm.6.at="smbus0"
> 
> hint.jedec_dimm.6.addr="0xaC"
> 
> hint.jedec_dimm.7.at="smbus0"
> 
> hint.jedec_dimm.7.addr="0xaE"
> 
>  
> 
> Although when rebooting nothing gets detected/reported or printed on the
> console.
> 
> Is it possible that it does not work through kld_list or should it not
> matter, if so why is that? Just curious =)
> 



-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30a5f191-46ef-48e2-5fb4-395a1f1bd370>