Getting jedec_dimm to work

driesm.michiels at gmail.com driesm.michiels at gmail.com
Thu Nov 7 18:06:37 UTC 2019


> On 11/6/19 3:24 PM, Andriy Gapon wrote:
> > 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?

No but they do have an SPD so that’s the minimal information I would expect to see.

> > 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.

Dmesg attached, see below for a summarized answer.

> > 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.

Honestly, I kinda *assumed* it was a common interface used on every motherboard.
This seems a *very* wrong assumption, as I just went through my dmesg and I didn't see any smbus getting detected..
I guess the driver won't work without one? Or is it possible to get the driver attached over another bus/interface that my system has?
 
> >> 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 =)
> >>
> >
> >

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.today
Type: application/octet-stream
Size: 11336 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20191107/ec61b1b9/attachment.obj>


More information about the freebsd-hackers mailing list