Ticket 1751
Problem in detail:
On installing lm-sensors with apt-get, CPU temp flies up to 85?C, both in the
output of sensors and in /sys/bus/i2c/devices/...
Removing lm-sensors, and running with just the modules required for i2c, the correct values are shown.
Reply from support:
You don?t provide much information about your system and exact problem you see.
I guess that your monitoring chip is a Winbond W83627THF, and you must be using
the w83627hf driver that comes with your (vanilla?) 2.6.7 kernel.
We would need to know what exactly you did to alter the readins. Installing lm-sensors doesn?t do anything per se, and running "sensors" without additional
argument doesn?t do much either. On the other hand, running "sensors -s" may change values, although normally only limit values, not readings. A call to "sensors -s" may be part of your system init steps, so it may have been called
even if you didn?t call it manually.
Please contact the mailing-list (sensors at stimpy.netroedge.com) and detail your problem:
* What are the values when everything is fine.
* Which exact action breaks the values.
* What are the values when not OK.
Reference your ticket number.
Thanks.
Khali 2004-08-12
When everything is fine, CPU and MB temps move up and down with load as expected (and as confirmed by the BIOS).
The only required action to break the values appears to be installing lm-sensors by apt-get install (which I'd guess runs sensors-detect) - removing lm-sensors, and running only the w83627hf kernel module (ie without lm_sensors) provides the "correct" (in the sense of more valid anyway) values. When broken, the CPU temp locks itself at 85.0?C, and doesn't shift whatsoever.
Sensors -s doesn't help anything.
Quoted 9 lines
When everything is fine, CPU and MB temps move up and down with load as expected (and as confirmed by the BIOS).
The only required action to break the values appears to be installing lm-sensors by apt-get install (which I'd guess runs sensors-detect) - removing lm-sensors, and running only the w83627hf kernel module (ie withoutlm_sensors) provides the "correct" (in the sense of more valid anyway) values. When broken, the CPU temp locks itself at 85.0?C, and doesn't shift whatsoever.
Sensors -s doesn't help anything.
Just asked the debian maintainer about it, and he told me that installing the package will actually run "sensors -s", not sensors-detect. So "sensors -s" is somehow messing with your chip. I can't remember of a similar report so far.
The configuration file doesn't seem to do anything with temperatures, it only sets voltages. Maybe what you see is a side effect of some bug in the driver.
Please provide the output of "sensors" with and without the problem. I want to see if other values have changed or not. If for example some voltage limits have not properly changed to what the configuration file has, we would know where to look.
Thanks.
Signature · 2 lines
Jean "Khali" Delvare http://khali.linux-fr.org/
sensors
w83627thf-isa-0290
Adapter: ISA adapter
VCore: +1.53 V (min = +1.33 V, max = +1.47 V)
+12V: +12.18 V (min = +10.84 V, max = +13.21 V) +3.3V: +3.44 V (min = +3.14 V, max = +3.48 V) +5V: +5.13 V (min = +4.75 V, max = +5.26 V) -12V: -14.88 V (min = -10.77 V, max = -13.16 V) V5SB: +5.12 V (min = +4.77 V, max = +5.25 V) VBat: +0.01 V (min = +2.40 V, max = +3.60 V) fan1: 0 RPM (min = 659 RPM, div = 32) CPU Fan: 0 RPM (min = -1 RPM, div = 2) fan3: 0 RPM (min = 10546 RPM, div = 128) M/B Temp: +27?C (high = +48?C, hyst = +0?C) sensor = thermistor
CPU Temp: +85.5?C (high = +80?C, hyst = +75?C) sensor = thermistor
ALARM
vid: +1.400 V
alarms:beep_enable:
Sound alarm enabled
Is the output with the fault, it's not possible to get output without the fault, since as soon as lm_sensors is installed, the fault appears. Running cat on the three temp[1-3]_input files in /sys/bus/i2c/devices/1-0290/ gives:
27000 temp1_input
26000 temp2_input (what's read as the CPU temp, goes further than temp1
under load, and is what goes to 85000)
-48000 temp3_input
And for the voltages:
3061 in0_input
3205 in1_input
3445 in2_input
3077 in3_input
5 in4_input
3061 in7_input
5 in8_input
-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: 12 August 2004 20:21
To: 'Mr Admin'
Cc: [email protected]
Subject: Re: Ticket 1751
Quoted 9 lines
When everything is fine, CPU and MB temps move up and down with load as expected (and as confirmed by the BIOS).
The only required action to break the values appears to be installing lm-sensors by apt-get install (which I'd guess runs sensors-detect) - removing lm-sensors, and running only the w83627hf kernel module (ie withoutlm_sensors) provides the "correct" (in the sense of more valid anyway) values. When broken, the CPU temp locks itself at 85.0?C, and doesn't shift whatsoever.
Sensors -s doesn't help anything.
Just asked the debian maintainer about it, and he told me that installing the package will actually run "sensors -s", not sensors-detect. So "sensors -s" is somehow messing with your chip. I can't remember of a similar report so far.
The configuration file doesn't seem to do anything with temperatures, it only sets voltages. Maybe what you see is a side effect of some bug in the driver.
Please provide the output of "sensors" with and without the problem. I want to see if other values have changed or not. If for example some voltage limits have not properly changed to what the configuration file has, we would know where to look.
Thanks.
Signature · 2 lines
Jean "Khali" Delvare http://khali.linux-fr.org/
Before
Value value_min value_max
in0 5 3845
in1 2853 3477
in2 3141 3477
in3 2853 3157
in4 5 5
in7 2837 3125
in8 2405 3605temp1_type 3435temp2_type 3435temp3_type 3435
After:
Value value_min value_max
in0 2661 2949
in1 2853 3477
in2 3141 3477
in3 2853 3157
in4 805 341
in7 2837 3125
in8 2405 3605temp1_type 3435temp2_type 3435temp3_type 3435
-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: 13 August 2004 19:29
To: Stuart Swindells
Cc: [email protected]
Subject: Re: Ticket 1751
Quoted 4 lines
(...)
Is the output with the fault, it's not possible to get output without the fault, since as soon aslm_sensorsis installed, the fault appears.
Aha, yes, of course. Stupid me.
Let's try a different approach then. Please compare (and post) values of files:
in*_min
in*_max
temp*_type
before and after the installation of the lm_sensors package.
I suspect that writing the voltage limits changes the thermal sensor type as a side effect, but I could be wrong.
Signature · 6 lines
Jean "Khali" Delvare http://khali.linux-fr.org/ -- This email has been verified as Virus free Virus Protection and more available at http://www.plus.net
Quoted 4 lines
(...)
Is the output with the fault, it's not possible to get output without the fault, since as soon aslm_sensorsis installed, the fault appears.
Aha, yes, of course. Stupid me.
Let's try a different approach then. Please compare (and post) values of files:
in*_min
in*_max
temp*_type
before and after the installation of the lm_sensors package.
I suspect that writing the voltage limits changes the thermal sensor type as a side effect, but I could be wrong.
Signature · 2 lines
Jean "Khali" Delvare http://khali.linux-fr.org/
Quoted 10 lines · Jean Delvare
Quoted 9 lines
When everything is fine, CPU and MB temps move up and down with load as expected (and as confirmed by the BIOS).
The only required action to break the values appears to be installing lm-sensors by apt-get install (which I'd guess runs sensors-detect) - removing lm-sensors, and running only the w83627hf kernel module (ie withoutlm_sensors) provides the "correct" (in the sense of more valid anyway) values. When broken, the CPU temp locks itself at 85.0?C, and doesn't shift whatsoever.
Sensors -s doesn't help anything.
Quoted 4 lines
Just asked the debian maintainer about it, and he told me that installing the package will actually run "sensors -s", not sensors-detect. So "sensors -s" is somehow messing with your chip. I can't remember of a similar report so far.
sensors -s is also run during each reboot. To disable that, just run 'update-rc.d -f lm-sensors remove'
Cheers,
Aurelien
Signature · 4 lines
.''`. Aurelien Jarno GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net
Quoted 2 lines
sensors -s is also run during each reboot. To disable that, just run 'update-rc.d -f lm-sensors remove'
Once done, your chip should be fine after reboots. You should then try to write to the various voltage limits (either through /etc/sensors.conf and "sensors -s", or through the sysfs interface directly, which should be easier). Most likely, one (or a limited number) of these is causing the problem. Please test them all and report which are, and which are not. Hopefully we'll see some pattern show. I know this represents some work but I can't think of another way to find out what triggers the problem.
Thanks.
Signature · 2 lines
Jean "Khali" Delvare http://khali.linux-fr.org/