Getting jedec_dimm to work

Andriy Gapon avg at FreeBSD.org
Wed Nov 6 23:24:43 UTC 2019


On 06/11/2019 20:32, driesm.michiels at 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


More information about the freebsd-hackers mailing list