Subject: port-i386/18205: lm driver temperature miscalculation
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/06/2002 13:17:30
>Number:         18205
>Category:       port-i386
>Synopsis:       lm driver temperature miscalculation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 06 11:18:00 PDT 2002
>Originator:     Kent Polk
>Release:        NetBSD 1.6_RC3
System: NetBSD kingu 1.6_RC3 NetBSD 1.6_RC3 (KINGU) #0: Thu Sep 5 12:41:06 CDT 2002 kent@kingu:/opt/syssrc/sys/arch/i386/compile/KINGU i386
Architecture: i386
Machine: i386

dmsg shows :
lm0 at isa0 port 0x290-0x297: W83627HF

kernel config file includes :
# LM7[89] and compatible hardware monitors
lm0     at isa? port 0x290              # other common ports: 0x280, 0x310

The lm environmental sensor driver is reporting cpu temperatures
that are much higher than those that the bios reports. The fan
speeds are correct and the mb temperature is correct. The bios
reports temperatures of 28C 40C 46C at idle, however envstat using
the lm driver is reporting temperatures of 28C 64C 69C at essentially

 VCORE A VCORE B   +3.3V     +5V    +12V    -12V     -5V   +5VSB    VBAT  Temp 1 Temp 2  Temp 3   Fan 1   Fan 2   Fan 3
     Vcc     Vcc     Vcc     Vcc     Vcc     Vcc     Vcc     Vcc     Vcc    degC degC    degC     RPM     RPM     RPM
    1.74    2.51    3.26    4.83   11.92  -12.65   -4.95    4.73    3.38   28.00 64.00   69.50       0    5357    5273

Check the bios' "health status" screen and compare with 'envstat'.

Note that we also compared with a winbind-based utility under
Solaris86, which agreed with the bios' values.
 The lm environmental sensor driver appears to be reporting incorrect cpu temperatures
 cvs build from 09/05