Skip to contentSkip to conversation

lm_sensors ain't updating cpu temp

DISCUSSION Cezary Morga 2 participants 10 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi 'all.

I've got this problem with lm_sensors that it doesn't update my cpu temperature, though my mibi temp is constantly updated, which leads to mibi's temp getting bigger that cpu's.

I'm using lm_sensors 2.8.5 with 2.6.3-7mdk kernel.

Signature · 3 lines
Cezary Morga <[email protected]>
Registered Linux User No. 362185 <http://counter.li.org>
GG# 169903 ICQ# 328-700-565 Jabber: [email protected]
#1 lore raw
Quoted 5 lines

I've got this problem with lm_sensors that it doesn't update my cpu temperature, though my mibi temp is constantly updated, which leads to mibi's temp getting bigger that cpu's.

I'm using lm_sensors 2.8.5 with 2.6.3-7mdk kernel.

Which driver ? Which chip ? Anything relevant in the logs? Sample output from "sensors" ?

If you have the possibility to upgrade kernels (and lm_sensors) I would try that, since 2.6.3 is somewhat old now.

Signature · 2 lines
Jean "Khali" Delvare
http://khali.linux-fr.org/
#2 lore raw
In reply to Cezary Morga

W li?cie z nie, 29-08-2004, godz. 17:42, Jean Delvare pisze:

Quoted 8 lines
Quoted 5 lines

I've got this problem with lm_sensors that it doesn't update my cpu temperature, though my mibi temp is constantly updated, which leads to mibi's temp getting bigger that cpu's.

I'm using lm_sensors 2.8.5 with 2.6.3-7mdk kernel.

Which driver ? Which chip ? Anything relevant in the logs? Sample output from "sensors" ?

I don't know what do you mean saying 'driver'. The chipset is VIA VT8233A. I don't know where to find logs (I'm a real newbie). Here's the sample output :

w83697hf-isa-0290
Adapter: ISA adapter
VCore: +1.79 V (min = +1.71 V, max = +1.89 V)

+3.3V:     +3.30 V  (min =  +3.14 V, max =  +3.46 V)
+5V:       +4.76 V  (min =  +4.73 V, max =  +5.24 V)       ALARM
+12V:     +12.65 V  (min = +10.82 V, max = +13.19 V)
-12V:     -12.85 V  (min = -13.18 V, max = -10.88 V)
-5V:       -5.55 V  (min =  -5.25 V, max =  -4.75 V)       ALARM
V5SB:      +5.48 V  (min =  +4.73 V, max =  +5.24 V)
VBat:      +3.25 V  (min =  +2.40 V, max =  +3.60 V)
fan1:     4245 RPM  (min =   -1 RPM, div = 2)              ALARM
fan2:        0 RPM  (min = 5273 RPM, div = 2)              ALARM
temp1:       +39?C  (high =    +0?C, hyst =  +105?C)   sensor thermistor   ALARM
temp2:     +53.5?C  (high =  +120?C, hyst =  +115?C)   sensor thermistor

alarms:
beep_enable:
Sound alarm disabled

eeprom-i2c-0-50

Adapter: SMBus Via Pro adapter at 5000
Memory type:            DDR SDRAM DIMM
Memory size (MB):       256

Though I had to use module w83781d instead of w83697hf (which isn't supported in my kernel version, right?)

Quoted 2 lines

If you have the possibility to upgrade kernels (and lm_sensors) I would try that, since 2.6.3 is somewhat old now.

I was told that the latest stable kernel version for mandrake10.0 official is 2.6.3-15mdk (once again: I'm a newbie) so I don't believe that the upgrade could change something.

Signature · 3 lines
Cezary Morga <[email protected]>
Registered Linux User No. 362185 <http://counter.li.org>
GG# 169903 ICQ# 328-700-565 Jabber: [email protected]
#3 lore raw
In reply to Cezary Morga

And one more thing:
the sensors output I've sent in previous post should have the temp2 about +29C. The reason it was higher was that I've left my computer to work through the night and then rebooted the system (I had to) so the temp had been refreshed during bootup.

Signature · 3 lines
Cezary Morga <[email protected]>
Registered Linux User No. 362185 <http://counter.li.org>
GG# 169903 ICQ# 328-700-565 Jabber: [email protected]
#4 lore raw
In reply to Cezary Morga

W li?cie z pon, 30-08-2004, godz. 13:25, Jean Delvare pisze:

Quoted 3 lines

Usually in /var/log, in files named syslog, messages and/or debug. Exact names and contents depend on the distribution. You can also watch the kernel log buffer by running "dmesg".

what should I look for?

Quoted 17 lines
Quoted 5 lines

Here's the sample output :

w83697hf-isa-0290
Adapter: ISA adapter
VCore: +1.79 V (min = +1.71 V, max = +1.89 V)

Quoted 11 lines
+3.3V:     +3.30 V  (min =  +3.14 V, max =  +3.46 V)
+5V:       +4.76 V  (min =  +4.73 V, max =  +5.24 V)       ALARM
+12V:     +12.65 V  (min = +10.82 V, max = +13.19 V)
-12V:     -12.85 V  (min = -13.18 V, max = -10.88 V)
-5V:       -5.55 V  (min =  -5.25 V, max =  -4.75 V)       ALARM
V5SB:      +5.48 V  (min =  +4.73 V, max =  +5.24 V)
VBat:      +3.25 V  (min =  +2.40 V, max =  +3.60 V)
fan1:     4245 RPM  (min =   -1 RPM, div = 2)              ALARM
fan2:        0 RPM  (min = 5273 RPM, div = 2)              ALARM
temp1:       +39?C  (high =    +0?C, hyst =  +105?C)   sensor > > thermistor   ALARM
temp2:     +53.5?C  (high =  +120?C, hyst =  +115?C)   sensor > > thermistor
Quoted 2 lines

OK, it looks rather good overall. If I understand what you first said correctly, temp1 is changing, but temp2 isn't and will always read 53.5 degrees?

As I wrote in another mail (maybe he didn't get to the list) it usually looks like that: temp1 +39C and temp2 +29C. Of course it begins with temp1 smaller that temp2. The sample I've sent you done after a couple of hours running and after a reboot. When I reboot the temp2 is updated but it seems that it is updated only during bootup.

Quoted 1 line

What are the brand and model name of your motherboard?

I believe it is Jetway V266B.

Quoted 7 lines
Quoted 3 lines

I was told that the latest stable kernel version for mandrake10.0 official is 2.6.3-15mdk (once again: I'm a newbie) so I don't believe that the upgrade could change something.

It's hard to say. Mandrake may have been backporting patches. After all, there must be differences and improvements, or there would not be new kernel packages released. Do you know if a list of the changes exists?

Sorry, I don't know of any list of changes.

Quoted 3 lines

I also think I remember that there are alternative, semi-official kernel packages for Mandrake. It may only be for Cooker and not for 10.0 though. And it may not be the easiest thing to try if you're just starting with Linux.

I was told that the newer ones are for cooker.

Signature · 3 lines
Cezary Morga <[email protected]>
Registered Linux User No. 362185 <http://counter.li.org>
GG# 169903 ICQ# 328-700-565 Jabber: [email protected]
#5 lore raw
In reply to Cezary Morga

W li?cie z pon, 30-08-2004, godz. 18:44, Jean Delvare pisze:

Quoted 5 lines
Quoted 1 line

what should I look for?

Any line with "i2c" or "w83781d" or "w83697hf" is a good candidate. If you see any line with either word which sounds like an error, report to us.

Nothing about w83781d or w83697hf. On i2c I found only :
i2c /dev entries dirver (in dmesg, messages and syslog) and Loading module: i2c-dev (in messages and syslog).

Quoted 6 lines

Things to try:

1* Cycle the w83781d driver (as root):

$ rmmod w83781d
$ modprobe w83781d
And see if temp2 changes.

Did not help.

Quoted 9 lines

2* Try to pass init=0 to the w83781d module:
In the file /etc/modprobe.conf, add the following line:
options w83781d init=0
I just hope that this file is not generated from other files on your system. If it is, you'll have to find out which files this one is generated from, and edit one of them instead.
Then reboot your computer and see if it helps.

I can't remember a similar report so far (by my memory is rather weak).

Did not help.

Signature · 3 lines
Cezary Morga <[email protected]>
Registered Linux User No. 362185 <http://counter.li.org>
GG# 169903 ICQ# 328-700-565 Jabber: [email protected]
#6 lore raw
In reply to Cezary Morga

W li?cie z ?ro, 01-09-2004, godz. 19:32, Jean Delvare pisze:

Quoted 17 lines
Quoted 17 lines
Quoted 6 lines

Things to try:

1* Cycle the w83781d driver (as root):

$ rmmod w83781d
$ modprobe w83781d
And see if temp2 changes.

Did not help.

Quoted 8 lines

2* Try to pass init=0 to the w83781d module:
In the file /etc/modprobe.conf, add the following line:
options w83781d init=0
I just hope that this file is not generated from other files on your system. If it is, you'll have to find out which files this one is generated from, and edit one of them instead.
Then reboot your computer and see if it helps.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

I can't remember a similar report so far (by my memory is rather weak).

Did not help.

Well, I'm out of ideas then. Only thing I can suggest is try a more up-to-date kernel package when Mandrake releases one, maybe it'll somehow help.

Looks like it's only thing left :)

Signature · 3 lines
Cezary Morga <[email protected] / [email protected]>
Registered Linux User No. 362185 <http://counter.li.org>
GG# 169903 ICQ# 328-700-565 Jabber: [email protected]
#7 lore raw
In reply to Cezary Morga
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

I'm using lm_sensors 2.8.5 with 2.6.3-7mdk kernel.

Which driver ? Which chip ? Anything relevant in the logs? Sample output from "sensors" ?

I don't know what do you mean saying 'driver'.

I mean the part of the kernel which is specifically handling your hardware monitoring chipset. We usually also refer to them as "modules" because they can be built apart from the kernel itself, and loaded and unloaded at will.

According to what you write below, you are using the driver "w83781d".

Quoted 1 line

The chipset is VIA VT8233A.

That's not quite what I was referring to. I did not mean the main chipset on your motherboard, but the hardware monitoring chipset. According to what you write just below, your chipset is a Winbond W83697HF.

Quoted 1 line

I don't know where to find logs (I'm a real newbie).

Usually in /var/log, in files named syslog, messages and/or debug. Exact names and contents depend on the distribution. You can also watch the kernel log buffer by running "dmesg".

Quoted 5 lines

Here's the sample output :

w83697hf-isa-0290
Adapter: ISA adapter
VCore: +1.79 V (min = +1.71 V, max = +1.89 V)

Quoted 11 lines
+3.3V:     +3.30 V  (min =  +3.14 V, max =  +3.46 V)
+5V:       +4.76 V  (min =  +4.73 V, max =  +5.24 V)       ALARM
+12V:     +12.65 V  (min = +10.82 V, max = +13.19 V)
-12V:     -12.85 V  (min = -13.18 V, max = -10.88 V)
-5V:       -5.55 V  (min =  -5.25 V, max =  -4.75 V)       ALARM
V5SB:      +5.48 V  (min =  +4.73 V, max =  +5.24 V)
VBat:      +3.25 V  (min =  +2.40 V, max =  +3.60 V)
fan1:     4245 RPM  (min =   -1 RPM, div = 2)              ALARM
fan2:        0 RPM  (min = 5273 RPM, div = 2)              ALARM
temp1:       +39?C  (high =    +0?C, hyst =  +105?C)   sensor > thermistor   ALARM
temp2:     +53.5?C  (high =  +120?C, hyst =  +115?C)   sensor > thermistor

OK, it looks rather good overall. If I understand what you first said correctly, temp1 is changing, but temp2 isn't and will always read 53.5 degrees?

What are the brand and model name of your motherboard?

Quoted 2 lines

Though I had to use module w83781d instead of w83697hf (which isn't supported in my kernel version, right?)

The alternative (and prefered when possible) driver to w83781d is named w83627hf, and you're right, it wasn't present in the 2.6.3 kernel yet. w83781d driver should work too anyway.

Quoted 6 lines
Quoted 2 lines

If you have the possibility to upgrade kernels (and lm_sensors) I would try that, since 2.6.3 is somewhat old now.

I was told that the latest stable kernel version for mandrake10.0 official is 2.6.3-15mdk (once again: I'm a newbie) so I don't believe that the upgrade could change something.

It's hard to say. Mandrake may have been backporting patches. After all, there must be differences and improvements, or there would not be new kernel packages released. Do you know if a list of the changes exists?

I also think I remember that there are alternative, semi-official kernel packages for Mandrake. It may only be for Cooker and not for 10.0 though. And it may not be the easiest thing to try if you're just starting with Linux.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#8 lore raw
In reply to Cezary Morga
Quoted 5 lines
Quoted 3 lines

Usually in /var/log, in files named syslog, messages and/or debug. Exact names and contents depend on the distribution. You can also watch the kernel log buffer by running "dmesg".

what should I look for?

Any line with "i2c" or "w83781d" or "w83697hf" is a good candidate. If you see any line with either word which sounds like an error, report to us.

Quoted 9 lines
Quoted 3 lines

OK, it looks rather good overall. If I understand what you first said correctly, temp1 is changing, but temp2 isn't and will always read 53.5 degrees?

As I wrote in another mail (maybe he didn't get to the list) it usually looks like that: temp1 +39C and temp2 +29C. Of course it begins with temp1 smaller that temp2. The sample I've sent you done after a couple of hours running and after a reboot. When I reboot the temp2 is updated but it seems that it is updated only during bootup.

Your mail made it to the list, I just didn't quote it in my answer.

Quoted 3 lines
Quoted 1 line

What are the brand and model name of your motherboard?

I believe it is Jetway V266B.

So I confirm that temp1 is the case temperature and temp2 is the CPU temperature. No surprise. Both are thermistor-based.

Things to try:

1* Cycle the w83781d driver (as root):

$ rmmod w83781d
$ modprobe w83781d
And see if temp2 changes.

2* Try to pass init=0 to the w83781d module:
In the file /etc/modprobe.conf, add the following line:
options w83781d init=0
I just hope that this file is not generated from other files on your system. If it is, you'll have to find out which files this one is generated from, and edit one of them instead.
Then reboot your computer and see if it helps.

I can't remember a similar report so far (by my memory is rather weak).

Signature · 2 lines
Jean "Khali" Delvare
http://khali.linux-fr.org/
#9 lore raw
In reply to Cezary Morga
Quoted 17 lines
Quoted 6 lines

Things to try:

1* Cycle the w83781d driver (as root):

$ rmmod w83781d
$ modprobe w83781d
And see if temp2 changes.

Did not help.

Quoted 8 lines

2* Try to pass init=0 to the w83781d module:
In the file /etc/modprobe.conf, add the following line:
options w83781d init=0
I just hope that this file is not generated from other files on your system. If it is, you'll have to find out which files this one is generated from, and edit one of them instead.
Then reboot your computer and see if it helps.

Quoted 4 lines
Quoted 2 lines

I can't remember a similar report so far (by my memory is rather weak).

Did not help.

Well, I'm out of ideas then. Only thing I can suggest is try a more up-to-date kernel package when Mandrake releases one, maybe it'll somehow help.

Signature · 2 lines
Jean "Khali" Delvare
http://khali.linux-fr.org/