Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2019 15:38:53 -0800
From:      Julian Elischer <julian@freebsd.org>
To:        Andriy Gapon <avg@FreeBSD.org>, driesm.michiels@gmail.com, freebsd-hackers@freebsd.org
Subject:   Re: Getting jedec_dimm to work
Message-ID:  <9a6336d2-2ab2-a2ae-8258-91a3cbdd3e02@freebsd.org>
In-Reply-To: <30a5f191-46ef-48e2-5fb4-395a1f1bd370@FreeBSD.org>
References:  <002101d594d0$9b2a3280$d17e9780$@gmail.com> <30a5f191-46ef-48e2-5fb4-395a1f1bd370@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/6/19 3:24 PM, Andriy Gapon wrote:
> 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.

Expanding on what Andriy said, a "hint" is information from the 
configuration files TO a driver as to where to look for something, and 
not a confirmation that it found it.


>> 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 =)
>>
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9a6336d2-2ab2-a2ae-8258-91a3cbdd3e02>