Re: Linux 2.6.25 (coretemp reads high temperatures)

From: Thomas Renninger
Date: Tue Apr 29 2008 - 09:07:24 EST


On Mon, 2008-04-28 at 20:19 +0200, Kasper Sandberg wrote:
> On Wed, 2008-04-23 at 11:43 +0300, Maxim Levitsky wrote:
> > On Saturday, 19 April 2008 04:51:48 Len Brown wrote:
> > > On Friday 18 April 2008, Matthew wrote:
> > > > Hi everyone, hi Linus,
> > > >
> > > > congratulations on this new great kernel-release :)
> > > >
> > > > I've another "regression" to report for 2.6.25:
> > > >
> > > > it's concerning much higher temperatures being read out by the
> > > > "coretemp" kernel-module in comparison to 2.6.24* series
> > > >
> > > > e.g. where temperatures were around 40-47ÂC they are now constantly
> > > > jumping around 55-70ÂC (even in idle !)
> >
> > I just updated from 2.6.24 to 2.6.25
> > (I usually follow whole development cycle, but I was very busy, so I skipped 2.6.25 cycle)
> >
> > I confirm this.
> > I *know* that temperatures reported now are wrong.
>
> I too can confirm that it reports incorrect temperatures.
>
> I have a Q9450, and this is my "sensors" output:
> it8718-isa-0290
> Adapter: ISA adapter
> <snip>
> temp1: +44ÃÂC (low = +127ÃÂC, high = +127ÃÂC) sensor =
> thermistor
> temp2: +22ÃÂC (low = +127ÃÂC, high = +60ÃÂC) sensor = diode
> temp3: -2ÃÂC (low = +127ÃÂC, high = +127ÃÂC) sensor =
> thermistor
> vid: +0.000 V
>
> coretemp-isa-0000
> Adapter: ISA adapter
> Core 0: +44ÃÂC (high = +100ÃÂC)
>
> coretemp-isa-0001
> Adapter: ISA adapter
> Core 1: +44ÃÂC (high = +100ÃÂC)
>
> coretemp-isa-0002
> Adapter: ISA adapter
> Core 2: +43ÃÂC (high = +100ÃÂC)
>
> coretemp-isa-0003
> Adapter: ISA adapter
> Core 3: +41ÃÂC (high = +100ÃÂC)
>
>
> temp2 is the cpu temperature(matches bios), temp1 is the northbridge(i
> think, bios says "system temp").
>
> i have watercooling, and well :P when i touch the "tube", its normal
> room temperature, and believe me, i would notice if it was 45.. this is
> with my cpu at idle - at full load on all 4 cores, temp2 says 35, and
> ~60 on coretemp, and THIS i would surely be able to notice over room
> temp :)
>
> any progress on this bug?
>
> >
> > The reason is that bios did report same temperatures as coretemp in 2.6.24,
> > moreover some time ago I have run a cpu tool (don't remember its name) on windows
> > which similar to coretemp reads from each core directly, sensor data ,
> > and I noticed that temperature that bios reports is exactly the average
> > temperature of both cores
> > (I had to run this on windows - intel haven't released
> > drivers for their QST for temperature monitoring from bios - very sad)
> >
> > And the driver did say in kernel log that TJMAX is 85C
> >
> > Lets at least make a kernel option to override tjmax?
> >

Could it be that due to latest thermal changes ACPI is reading
temperatures more often, or started to read sensors that interfere with
libsensors?

There was a patch-set that detect such interference from myself and Jean
which was not accepted by Linus.
This is what I got from Jean recently, he should be able to point you to
the latest patches if you want to give them a try:
----------------------------------------------
On Mon, 28 Apr 2008 22:13:13 -0700, Andrew Morton wrote:
> In light of Linus's dummyspit last time around I guess I'll drop
> this patch.

That's OK, I'll include it in my i2c tree instead. While Linus doesn't
like it, he didn't actually provide replacement code, only a vague idea
which Thomas and myself know by experience, won't work well anyway. As
the checks done by this driver are valuable, having it in -mm and
linux-next is still good.

--
Jean Delvare
----------------------------------------------


If you get a conflict you should see something like this when loading
the hwmon/sensor driver:
i2c /dev entries driver
f71805f: Found F71805F/FG chip at 0x290, revision 19
ACPI: I/O resource f71805f [0x290-0x297] conflicts with ACPI region IP__ [0x295-0x296]
ACPI: Device needs an ACPI driver

Thomas

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/