Date: Tue, 9 Jan 2007 08:50:28 -0800 From: Jeremy Chadwick <koitsu@FreeBSD.org> To: Bruno Ducrot <ducrot@poupinou.org> Cc: freebsd-stable@freebsd.org Subject: Re: Temperature/fan monitoring on a Supermicro P8SCT Message-ID: <20070109165028.GA70345@icarus.home.lan> In-Reply-To: <20070109135047.GD4945@poupinou.org> References: <200701091239.46735.doconnor@gsoft.com.au> <20070109135047.GD4945@poupinou.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 09, 2007 at 02:50:47PM +0100, Bruno Ducrot wrote: > On Tue, Jan 09, 2007 at 12:39:45PM +1030, Daniel O'Connor wrote: > > Has anyone had any success? > > I've tried healthd (0.7.9) but it can't show temps, eg.. > > julx2:/usr/src/sys/amd64/conf>sudo healthd -1 -D > > It seems we can get directly different temperatures from the CPU. At > least this works for some opteron CG core, and believe it should work > with other processors as well. > > In the meantime, could you please try this: > > # setpci -d1022:1103 e6.b | sed s,^,0x,g | \ > awk 'BEGIN {i = 0} {print "processor "i++": " $1 - 49 "C"}' > > (you must have the sysutils/pciutils port, though, but I need a similar > command under Linux, that's why I'm doing something like that). I don't understand how this interfaces with the Winbond 83627HF H/W monitoring IC of the P8SCT. As far as I know, the 83627HF does not sit on the PCI bus; you can only talk to it via SMBus (and that's *only* if Supermicro added the SMBus tie-ins in their BIOS properly; Supermicro has a history of being hit-or-miss when it comes to this, most of the time being a miss), or via ancient x86 memory-mapped I/O ports (which each motherboard vendor can set/implement at various memory locations as they see fit; there is no "standard"). Full engineering details of the 83627HF are here: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/627hf.pdf Regarding your setpci request: 0x1022 is the vendor ID (AMD), 0x1103 is the device ID (what AMD labels as "Miscellaneous Control"). How did you determine that you should use configuration register E6? I can't find any documentation about this PCI device. Regardless, chances are what you're looking up on the PCI bus is the on-die thermistor for CPU temperature. This doesn't help when it comes to monitoring system (case/enclosure) temperature. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070109165028.GA70345>