[PATCH 1/2] k8temp warn about errata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andreas,

On Tue, 18 Nov 2008 10:25:01 +0100, Andreas Herrmann wrote:
> On Mon, Nov 10, 2008 at 10:38:06AM +0100, Jean Delvare wrote:
> > On Sun, 09 Nov 2008 18:27:53 -0700, Jordan Crouse wrote:
> > > Jean Delvare wrote:
> > > > For what it's worth, Jordan Crouse seems to think that blacklisting on
> > > > a per-revision basis may still work.
> > > 
> > > I think it can.  A much larger sample would probably need to be taken to 
> > > be completely sure - but I hope that we'll find that the problem is 
> > > deterministic enough for a blacklist.  I think we would agree that a 
> > > blacklist would be the more user friendly solution.
> > 
> > OK, but then we should probably extend Rudolf's patch to ask users
> > potentially affected by the errata to report to us. The report should
> > include the CPUID information (e.g. contents of /proc/cpuinfo), the
> > output of sensors (or the raw temperature values from sysfs), and
> > whether or not the user thinks the temperature values are correct.
> 
> How do you find out whether your system is affected by this erratum?
> The erratum is: due to inaccuracy of reported temperature (doesn't
> meet a certain accuracy threshold) triggering of HTC/STC feature is
> inaccurate.
> 
> I am just curious how you'd like to determine the accuracy of the
> thermal sensor ... As an example, if the sensor reports 70 degC when
> the true temperature is 65 degC -- is it worth to blacklist it?

If we are 100% certain that this is the case then yes, I would
blacklist it.

The whole point of hardware monitoring is to report accurate values.
Additional software can be used to take actions based on temperature
values, for example fan speed regulation or CPU frequency changes. If
you can't trust the temperature readings then these operations become
dangerous.

That being said, I guess that the example above is essentially
theoretical? Most cases we've seen so far were not off by 5 degrees.
They were plain wrong, with reported temperatures being in the -20 to
+15 degrees C.

> Jordan, do you know more details about the deviation of the reported
> temparature sensor values from the real ones?
> 
> I'd prefer not to blacklist but to keep the warning about potential
> inaccurate temperature values as introduced by Rudolf. I use k8temp on
> my private machines -- Athlon X2 and a Turion X2 (both are revF CPUs
> and thus affected by erratum 141). I admit, this is more or less a
> gimmick but I would miss it (if blacklisted).

Whatever we end up with, we will add a module parameter to let the user
force the driver binding, exactly for advanced users like you. My point
with the blacklist is that we should not report knowingly incorrect
values to the user _by default_, especially given that the k8temp
driver loads automatically. I think it is better to not report anything
by default rather than potentially wrong values. But I also agree that
we must provide a way to bypass the tests, if nothing else, because our
blacklist or heuristic may be incorrect.

Please keep in mind that most end users do not read the kernel logs
(thankfully - they really shouldn't have to.)

-- 
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux