From owner-freebsd-hackers@freebsd.org Wed Nov 6 23:39:08 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44AA517BC3C for ; Wed, 6 Nov 2019 23:39:08 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 477jfh0zbHz3HZG; Wed, 6 Nov 2019 23:39:07 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (c-73-225-95-104.hsd1.wa.comcast.net [73.225.95.104]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id xA6Ncxde083611 (version=TLSv1.2 cipher=AES128-SHA bits=128 verify=NO); Wed, 6 Nov 2019 15:39:00 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: Getting jedec_dimm to work To: Andriy Gapon , driesm.michiels@gmail.com, freebsd-hackers@freebsd.org References: <002101d594d0$9b2a3280$d17e9780$@gmail.com> <30a5f191-46ef-48e2-5fb4-395a1f1bd370@FreeBSD.org> From: Julian Elischer Message-ID: <9a6336d2-2ab2-a2ae-8258-91a3cbdd3e02@freebsd.org> Date: Wed, 6 Nov 2019 15:38:53 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <30a5f191-46ef-48e2-5fb4-395a1f1bd370@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 477jfh0zbHz3HZG X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2019 23:39:08 -0000 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 =) >> > >