All of lore.kernel.org
 help / color / mirror / Atom feed
* Ticket 1751
@ 2005-05-19  6:25 'Mr Admin'
  2005-05-19  6:25 ` Stuart Swindells
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: 'Mr Admin' @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

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.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Ticket 1751
  2005-05-19  6:25 Ticket 1751 'Mr Admin'
  2005-05-19  6:25 ` Stuart Swindells
  2005-05-19  6:25 ` Aurelien Jarno
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Jean Delvare
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> 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.

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.

-- 
Jean "Khali" Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Ticket 1751
  2005-05-19  6:25 Ticket 1751 'Mr Admin'
                   ` (4 preceding siblings ...)
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` Stuart Swindells
  5 siblings, 0 replies; 7+ messages in thread
From: Stuart Swindells @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

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:khali@linux-fr.org] 
Sent: 12 August 2004 20:21
To: 'Mr Admin'
Cc: sensors@Stimpy.netroedge.com
Subject: Re: Ticket 1751

> 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.

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.

-- 
Jean "Khali" Delvare
http://khali.linux-fr.org/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Ticket 1751
  2005-05-19  6:25 Ticket 1751 'Mr Admin'
                   ` (2 preceding siblings ...)
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Stuart Swindells
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> (...)
> 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.

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.

-- 
Jean "Khali" Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Ticket 1751
  2005-05-19  6:25 Ticket 1751 'Mr Admin'
@ 2005-05-19  6:25 ` Stuart Swindells
  2005-05-19  6:25 ` Aurelien Jarno
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Stuart Swindells @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors


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		3605
temp1_type	3435
temp2_type	3435
temp3_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		3605
temp1_type	3435
temp2_type	3435
temp3_type	3435
-----Original Message-----
From: Jean Delvare [mailto:khali@linux-fr.org] 
Sent: 13 August 2004 19:29
To: Stuart Swindells
Cc: sensors@Stimpy.netroedge.com
Subject: Re: Ticket 1751

> (...)
> 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.

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.

-- 
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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Ticket 1751
  2005-05-19  6:25 Ticket 1751 'Mr Admin'
  2005-05-19  6:25 ` Stuart Swindells
@ 2005-05-19  6:25 ` Aurelien Jarno
  2005-05-19  6:25 ` Jean Delvare
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Aurelien Jarno @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

On Thu, Aug 12, 2004 at 09:21:23PM +0200, Jean Delvare wrote:
> > 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.
> 
> 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

-- 
  .''`.  Aurelien Jarno	              GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Ticket 1751
  2005-05-19  6:25 Ticket 1751 'Mr Admin'
                   ` (3 preceding siblings ...)
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Stuart Swindells
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> 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.

-- 
Jean "Khali" Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-19  6:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:25 Ticket 1751 'Mr Admin'
2005-05-19  6:25 ` Stuart Swindells
2005-05-19  6:25 ` Aurelien Jarno
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Stuart Swindells

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.