Skip to contentSkip to conversation

No sensors found >2.6.21, w83627hf, ICH6

lm-sensors Stefan Sassenberg 2 participants 11 messages Mar 4, 2008 – Mar 7, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I have a problem making lm-sensors work on my system. It's a slightly old debian where I updated some packages and now use sensors and libsensors of version 2.9.1. I used to run a 2.6.21 kernel where sensors finds some chip and also shows fan speed and temperature values.

Then I upgraded the kernel to a 2.6.23 and always get the error message "No sensors found". The board is an MSI board and it has an 82801 ICH6 chipset.

sensors-detect advises me to modprobe w83627hf, which I do, but the result is the above.

I installed a gentoo on the same machine, where it worked, and made an lsmod, which showed w83627hf, hwmod and hwmon_vid. I took the kernel config file and applied it to the kernel from kernel.org to build the same kernel for my debian. I modprobed the very same modules but failed. What can I do to find the solution?

Thank you.

Stefan

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Stefan,

Quoted 4 lines · Stefan Sassenberg

I have a problem making lm-sensors work on my system. It's a slightly old debian where I updated some packages and now use sensors and libsensors of version 2.9.1. I used to run a 2.6.21 kernel where sensors finds some chip and also shows fan speed and temperature values.

"some chip" doesn't tell us much... Can you please provide the complete output of "sensors"?

Quoted 3 lines

Then I upgraded the kernel to a 2.6.23 and always get the error message "No sensors found". The board is an MSI board and it has an 82801 ICH6 chipset.

What is the exact motherboard model?

Quoted 2 lines

sensors-detect advises me to modprobe w83627hf, which I do, but the result is the above.

Any message in the kernel logs when you modprobe w83627hf? Does the modprobe itself fail or succeed? If it fails, what's the error message?

Quoted 4 lines

I installed a gentoo on the same machine, where it worked, and made an lsmod, which showed w83627hf, hwmod and hwmon_vid. I took the kernel config file and applied it to the kernel from kernel.org to build the same kernel for my debian. I modprobed the very same modules but failed.

What kernel is your gentoo system running?

Quoted 1 line

What can I do to find the solution?

Please compare /proc/ioports between a system where the w83627hf driver works for you and a system where it doesn't. I'd suspect a resource conflict.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Stefan Sassenberg
Quoted 10 lines · Jean Delvare

Hi Stefan,

Quoted 4 lines · Stefan Sassenberg

I have a problem making lm-sensors work on my system. It's a slightly old debian where I updated some packages and now use sensors and libsensors of version 2.9.1. I used to run a 2.6.21 kernel where sensors finds some chip and also shows fan speed and temperature values.

"some chip" doesn't tell us much... Can you please provide the complete output of "sensors"?

w83627thf-isa-0290
Adapter: ISA adapter
VCore: +1.24 V (min = +0.70 V, max = +1.87 V)

+12V:     +11.98 V  (min =  +6.51 V, max =  +9.18 V)       ALARM
+3.3V:     +3.38 V  (min =  +0.26 V, max =  +0.19 V)       ALARM
+5V:       +5.04 V  (min =  +2.72 V, max =  +3.28 V)       ALARM
-12V:     -12.20 V  (min =  +3.27 V, max = -14.75 V)       ALARM
V5SB:      +5.05 V  (min =  +4.27 V, max =  +1.61 V)       ALARM
VBat:      +3.22 V  (min =  +3.04 V, max =  +3.92 V)
fan1:        0 RPM  (min = 1035 RPM, div = 8)              ALARM
CPU Fan:     0 RPM  (min = 1171 RPM, div = 8)              ALARM
fan3:        0 RPM  (min = 3183 RPM, div = 8)              ALARM

M/B Temp: -48°C (high = +29°C, hyst = +14°C) sensor =
thermistor
CPU Temp: +108.5°C (high = +120°C, hyst = +115°C) sensor = diode

temp3: -48.0°C (high = +120°C, hyst = +115°C) sensor =
thermistor
alarms: Chassis intrusion detection ALARM
beep_enable:
Sound alarm enabled

The values are nonsens, of course, but I wanted to do first things first.

Quoted 6 lines
Quoted 4 lines

Then I upgraded the kernel to a 2.6.23 and always get the error message "No sensors found". The board is an MSI board and it has an 82801 ICH6 chipset.

What is the exact motherboard model?

"Hetis 915 A7137IMS V1.3 02/10/06"

Quoted 6 lines
Quoted 3 lines

sensors-detect advises me to modprobe w83627hf, which I do, but the result is the above.

Any message in the kernel logs when you modprobe w83627hf? Does the modprobe itself fail or succeed? If it fails, what's the error message?

When I modprobe, a line is added to /var/log/dmesg:
w83627hf: Found W83627THF chip at 0x290 There's no message on stdout or stderr.

Quoted 7 lines
Quoted 5 lines

I installed a gentoo on the same machine, where it worked, and made an lsmod, which showed w83627hf, hwmod and hwmon_vid. I took the kernel config file and applied it to the kernel from kernel.org to build the same kernel for my debian. I modprobed the very same modules but failed.

What kernel is your gentoo system running?

2.6.23-r9 (the latest "not-masked" 2.6.23)

Quoted 6 lines
Quoted 2 lines

What can I do to find the solution?

Please compare /proc/ioports between a system where the w83627hf driver works for you and a system where it doesn't. I'd suspect a resource conflict.

Using the 2.6.21.5 kernel:
0295-0296 : pnp 00:09
0295-0296 : w83627hf

Using the 2.6.23.14 kernel:
Before modprobing:
...
0295-0296 : pnp 00:09
...

After modprobing:
...
0295-0296 : w83627hf
0295-0296 : pnp 00:09

     0295-0296 : w83627hf

...

Stefan

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Stefan Sassenberg
Quoted 7 lines · Stefan Sassenberg
Quoted 2 lines · Jean Delvare

Any message in the kernel logs when you modprobe w83627hf? Does the modprobe itself fail or succeed? If it fails, what's the error message?

When I modprobe, a line is added to /var/log/dmesg:
w83627hf: Found W83627THF chip at 0x290 There's no message on stdout or stderr.

So the kernel itself seems to be happy...

Quoted 14 lines

(...)

Quoted 3 lines

Please compare /proc/ioports between a system where the w83627hf driver works for you and a system where it doesn't. I'd suspect a resource conflict.

Using the 2.6.21.5 kernel:
0295-0296 : pnp 00:09
0295-0296 : w83627hf

Using the 2.6.23.14 kernel:
Before modprobing:
...
0295-0296 : pnp 00:09
...

Quoted 6 lines

After modprobing:
...
0295-0296 : w83627hf
0295-0296 : pnp 00:09

     0295-0296 : w83627hf

...

And this looks OK as well. My first guess was wrong, let me suggest something else...

I didn't notice at first but you wrote you were using lm-sensors 2.9.1. That's pretty old. In kernel 2.6.22 the w83627hf driver was converted from an i2c-isa driver to a platform driver (together with many other hwmon driver, as we were finally getting rid of i2c-isa.) Support for platform drivers was added to lm-sensors only in 2.10.0. So, no surprise it doesn't work for you. For a kernel >= 2.6.22, I would even recommend lm-sensors >= 2.10.3.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#4 lore raw
In reply to Stefan Sassenberg
Quoted 11 lines · Jean Delvare
Quoted 1 line · Stefan Sassenberg

Jean Delvare wrote:

I didn't notice at first but you wrote you were using lm-sensors 2.9.1. That's pretty old. In kernel 2.6.22 the w83627hf driver was converted from an i2c-isa driver to a platform driver (together with many other hwmon driver, as we were finally getting rid of i2c-isa.) Support for platform drivers was added to lm-sensors only in 2.10.0. So, no surprise it doesn't work for you. For a kernel >= 2.6.22, I would even recommend lm-sensors >= 2.10.3.

Very good. I could download deb packages of version 2.10.1. The next version is 2.10.5 but there seem to be no lmsensors package of that version for now. But now I get results:

w83627thf-isa-0290
Adapter: ISA adapter
VCore: +1.25 V (min = +0.70 V, max = +1.87 V)

+12V:     +11.98 V  (min =  +6.51 V, max =  +9.18 V)       ALARM
+3.3V:     +3.36 V  (min =  +0.26 V, max =  +0.19 V)       ALARM
+5V:       +5.04 V  (min =  +2.72 V, max =  +3.28 V)       ALARM
-12V:     -12.20 V  (min =  +3.27 V, max = -14.75 V)       ALARM
V5SB:      +5.05 V  (min =  +4.27 V, max =  +1.61 V)       ALARM
VBat:      +3.22 V  (min =  +3.04 V, max =  +3.92 V)
fan1:        0 RPM  (min = 1035 RPM, div = 8)              ALARM
CPU Fan:     0 RPM  (min = 1171 RPM, div = 8)              ALARM
fan3:        0 RPM  (min = 3183 RPM, div = 8)              ALARM

M/B Temp: -48°C (high = +29°C, hyst = +14°C) sensor =
thermistor
CPU Temp: +108.5°C (high = +120°C, hyst = +115°C) sensor = diode

temp3: -48.0°C (high = +120°C, hyst = +115°C) sensor =
thermistor
alarms: Chassis intrusion detection ALARM
beep_enable:
Sound alarm enabled

Thank you very much, Jean. My next problem are the strange values, but I haven't read the manuals regarding that point yet.

Stefan

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#5 lore raw
In reply to Stefan Sassenberg
Quoted 32 lines · Stefan Sassenberg
Quoted 11 lines · Jean Delvare
Quoted 1 line · Stefan Sassenberg

Jean Delvare wrote:

I didn't notice at first but you wrote you were using lm-sensors 2.9.1. That's pretty old. In kernel 2.6.22 the w83627hf driver was converted from an i2c-isa driver to a platform driver (together with many other hwmon driver, as we were finally getting rid of i2c-isa.) Support for platform drivers was added to lm-sensors only in 2.10.0. So, no surprise it doesn't work for you. For a kernel >= 2.6.22, I would even recommend lm-sensors >= 2.10.3.

Very good. I could download deb packages of version 2.10.1. The next version is 2.10.5 but there seem to be no lmsensors package of that version for now. But now I get results:

w83627thf-isa-0290
Adapter: ISA adapter
VCore: +1.25 V (min = +0.70 V, max = +1.87 V)

+12V:     +11.98 V  (min =  +6.51 V, max =  +9.18 V)       ALARM
+3.3V:     +3.36 V  (min =  +0.26 V, max =  +0.19 V)       ALARM
+5V:       +5.04 V  (min =  +2.72 V, max =  +3.28 V)       ALARM
-12V:     -12.20 V  (min =  +3.27 V, max = -14.75 V)       ALARM
V5SB:      +5.05 V  (min =  +4.27 V, max =  +1.61 V)       ALARM
VBat:      +3.22 V  (min =  +3.04 V, max =  +3.92 V)
fan1:        0 RPM  (min = 1035 RPM, div = 8)              ALARM
CPU Fan:     0 RPM  (min = 1171 RPM, div = 8)              ALARM
fan3:        0 RPM  (min = 3183 RPM, div = 8)              ALARM

M/B Temp: -48°C (high = +29°C, hyst = +14°C) sensor =
thermistor
CPU Temp: +108.5°C (high = +120°C, hyst = +115°C) sensor = diode

Quoted 8 lines

temp3: -48.0°C (high = +120°C, hyst = +115°C) sensor =
thermistor
alarms: Chassis intrusion detection ALARM
beep_enable:
Sound alarm enabled

Thank you very much, Jean. My next problem are the strange values, but I haven't read the manuals regarding that point yet.

The voltages look rather good to me, but you should compare with what the BIOS says for confirmation. The limits are wrong but that's expected - set them in /etc/sensors.conf and run "sensors -s" to write them to the chip.

No fan speeds, strange, unless you have no fans on that systems, or very very slow fans (in which case you should increase the fan_div values to 16 or even 32.) Are there fan speeds displayed in the BIOS?

Temperatures look wrong, -48 typically means no sensor connected, +108.5°C is too high to be realistic unless your computer case is on fire ;) Try changing the thermal sensor types... although the BIOS should have set them up right.

The lack of fan speeds and proper temperature readings might hint at an additional sensor chip on your board. If you can't get them out of the W83627THF, try running an up-to-date version of sensors-detect and see if it finds an extra chip on the SMBus.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#6 lore raw
In reply to Stefan Sassenberg
Quoted 38 lines · Jean Delvare
Quoted 37 lines · Stefan Sassenberg
Quoted 10 lines · Jean Delvare
Quoted 1 line · Stefan Sassenberg

Jean Delvare wrote:

I didn't notice at first but you wrote you were using lm-sensors 2.9.1. That's pretty old. In kernel 2.6.22 the w83627hf driver was converted from an i2c-isa driver to a platform driver (together with many other hwmon driver, as we were finally getting rid of i2c-isa.) Support for platform drivers was added to lm-sensors only in 2.10.0. So, no surprise it doesn't work for you. For a kernel >= 2.6.22, I would even recommend lm-sensors >= 2.10.3.

Very good. I could download deb packages of version 2.10.1. The next version is 2.10.5 but there seem to be no lmsensors package of that version for now. But now I get results:

w83627thf-isa-0290
Adapter: ISA adapter
VCore: +1.25 V (min = +0.70 V, max = +1.87 V)

+12V:     +11.98 V  (min =  +6.51 V, max =  +9.18 V)       ALARM
+3.3V:     +3.36 V  (min =  +0.26 V, max =  +0.19 V)       ALARM
+5V:       +5.04 V  (min =  +2.72 V, max =  +3.28 V)       ALARM
-12V:     -12.20 V  (min =  +3.27 V, max = -14.75 V)       ALARM
V5SB:      +5.05 V  (min =  +4.27 V, max =  +1.61 V)       ALARM
VBat:      +3.22 V  (min =  +3.04 V, max =  +3.92 V)
fan1:        0 RPM  (min = 1035 RPM, div = 8)              ALARM
CPU Fan:     0 RPM  (min = 1171 RPM, div = 8)              ALARM
fan3:        0 RPM  (min = 3183 RPM, div = 8)              ALARM

M/B Temp: -48°C (high = +29°C, hyst = +14°C) sensor =
thermistor
CPU Temp: +108.5°C (high = +120°C, hyst = +115°C) sensor = diode

temp3: -48.0°C (high = +120°C, hyst = +115°C) sensor =
thermistor
alarms: Chassis intrusion detection ALARM
beep_enable:
Sound alarm enabled

Quoted 7 lines
Quoted 2 lines

Thank you very much, Jean. My next problem are the strange values, but I haven't read the manuals regarding that point yet.

The voltages look rather good to me, but you should compare with what the BIOS says for confirmation. The limits are wrong but that's expected - set them in /etc/sensors.conf and run "sensors -s" to write them to the chip.

Yes, no problem.

Quoted 4 lines

No fan speeds, strange, unless you have no fans on that systems, or very very slow fans (in which case you should increase the fan_div values to 16 or even 32.) Are there fan speeds displayed in the BIOS?

Fans have speed 1365rpm and 2396rpm resp. according to BIOS. Higher divs aren't working either, but that's ok, fan speeds are no must at present.

Quoted 10 lines

Temperatures look wrong, -48 typically means no sensor connected, +108.5°C is too high to be realistic unless your computer case is on fire ;) Try changing the thermal sensor types... although the BIOS should have set them up right.

The lack of fan speeds and proper temperature readings might hint at an additional sensor chip on your board. If you can't get them out of the W83627THF, try running an up-to-date version of sensors-detect and see if it finds an extra chip on the SMBus.

Bad news for me:

Probing for `Analog Devices ADT7467 or ADT7468'... Success!
(confidence 7, driver `to-be-written')

Stefan

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#7 lore raw
In reply to Stefan Sassenberg
Quoted 4 lines · Stefan Sassenberg

Bad news for me:

Probing for `Analog Devices ADT7467 or ADT7468'... Success!
(confidence 7, driver `to-be-written')

No driver yet and nobody working on it as far as I know - but in the meantime you may try forcing the lm85 driver, with chip type adm1027, you should get some basic results.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#8 lore raw
In reply to Stefan Sassenberg
Quoted 10 lines · Jean Delvare
Quoted 4 lines · Stefan Sassenberg

Bad news for me:

Probing for `Analog Devices ADT7467 or ADT7468'... Success!
(confidence 7, driver `to-be-written')

No driver yet and nobody working on it as far as I know - but in the meantime you may try forcing the lm85 driver, with chip type adm1027, you should get some basic results.

After modprobing w83627hf, lm85, adm1021, adm1025, adm1026, adm1029, adm1031 the results are just the same.

Meanwhile I connected the hard disk to a MSI W7231IMS. It has the same AD chip:
Probing for `Analog Devices ADT7467 or ADT7468'... Success!
...but a different Winbond:
Found `Winbond W83627EHF/EHG Super IO Sensors' Success!
...and shows no fan speed but three temperature values:

Sys Temp:    +33°C  (high =   +45°C, hyst =   +40°C)
CPU Temp:  +33.0°C  (high = +45.0°C, hyst = +40.0°C)
temp3:     +32.5°C  (high = +80.0°C, hyst = +75.0°C)

Not bad.

Stefan

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#9 lore raw
In reply to Stefan Sassenberg
Quoted 7 lines · Stefan Sassenberg
Quoted 6 lines · Jean Delvare
Quoted 4 lines · Stefan Sassenberg

Bad news for me:

Probing for `Analog Devices ADT7467 or ADT7468'... Success!
(confidence 7, driver `to-be-written')

Quoted 6 lines
Quoted 4 lines

No driver yet and nobody working on it as far as I know - but in the meantime you may try forcing the lm85 driver, with chip type adm1027, you should get some basic results.

After modprobing w83627hf, lm85, adm1021, adm1025, adm1026, adm1029, adm1031 the results are just the same.

Huu, that's not what I suggested. Leave the adm1021, adm1025, adm1026, adm1029 and adm1031 drivers alone, they won't work for you. Instead, try loading the lm85 driver that way:

modprobe lm85 force_adm1027=0,0x2e

The exact parameter depends on the I2C bus and address where sensors-detect found the ADT7467/8 chip. The above is for bus i2c-0, address 0x2e. Adjust the command if the bus number or the chip address differ on your system.

As you are using lm-sensors 2.10.1 with a recent kernel, it is possible that libsensors won't work properly with the forced ADM1027 chip, but at least you should be able to read some temperature values directly from /sys/class/hwmon.

Quoted 11 lines

Meanwhile I connected the hard disk to a MSI W7231IMS. It has the same AD chip:
Probing for `Analog Devices ADT7467 or ADT7468'... Success!
...but a different Winbond:
Found `Winbond W83627EHF/EHG Super IO Sensors' Success!
...and shows no fan speed but three temperature values:

Sys Temp:    +33°C  (high =   +45°C, hyst =   +40°C)
CPU Temp:  +33.0°C  (high = +45.0°C, hyst = +40.0°C)
temp3:     +32.5°C  (high = +80.0°C, hyst = +75.0°C)

Not bad.

Yep, these temperatures look reasonable.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#10 lore raw
In reply to Stefan Sassenberg
Quoted 20 lines · Jean Delvare
Quoted 19 lines · Stefan Sassenberg
Quoted 18 lines · Jean Delvare

Hi Stefan,

Quoted 15 lines · Stefan Sassenberg
Quoted 10 lines · Jean Delvare

Huu, that's not what I suggested. Leave the adm1021, adm1025, adm1026, adm1029 and adm1031 drivers alone, they won't work for you. Instead, try loading the lm85 driver that way:

modprobe lm85 force_adm1027=0,0x2e

As you are using lm-sensors 2.10.1 with a recent kernel, it is possible that libsensors won't work properly with the forced ADM1027 chip, but at least you should be able to read some temperature values directly from /sys/class/hwmon.

Excellent hint. Since I don't need the values human readable but automated, I can now read the values from a file, eventually convert them from Fahrenheit to Celsius, et voila. And it works for all my four types of mainboard.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

The sysfs values are in 1/1000 of Celsius, so converting them "from Fahrenheit to Celsius" wouldn't make much sense.

Yes, except for the "lm85 force_adm1027=0,0x2e" (see above). Those are either in mFahrenheit or they are just nonsense and make sense when converted to Celsius. Could that be?

They are mCelsius, really. If they don't make sense, it means that the trick of forcing the adm1027 didn't work as expected...

Well, in that case, I think I have to consider that mainboard type unsupported. Of course, the offer persists. :-)

Stefan

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors