Skip to contentSkip to conversation

fan speeds and temps no reading

DISCUSSION Mark Strong 2 participants 11 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Guys,
having a little trouble getting good readings

w83627thf-isa-0290
Adapter: ISA adapter
VCore: +0.97 V (min = +0.96 V, max = +0.96 V)

+12V:      +6.63 V  (min = +10.82 V, max = +13.19 V)              
+3.3V:     +3.33 V  (min =  +3.14 V, max =  +3.47 V)              
+5V:       +4.96 V  (min =  +4.75 V, max =  +5.25 V)              
-12V:     -14.91 V  (min = -10.80 V, max = -13.18 V)              
V5SB:      +5.08 V  (min =  +4.76 V, max =  +5.24 V)              
VBat:      +1.70 V  (min =  +2.40 V, max =  +3.60 V)              
fan1:        0 RPM  (min = 8881 RPM, div = 2)                     
fan2:        0 RPM  (min = 5273 RPM, div = 2)                     
fan3:        0 RPM  (min = 10546 RPM, div = 2)                     
temp1:       -48?C  (high =    +9?C, hyst =    +0?C)   sensor thermistor           
temp2:    +127.5?C  (high =   +80?C, hyst =   +75?C)   sensor transistor   ALARM   
temp3:     -48.0?C  (high =   +80?C, hyst =   +75?C)   sensor thermistor           
vid:      +0.000 V  (VRM Version 9.0)

alarms: Chassis intrusion detection ALARM
beep_enable:
Sound alarm disabled

[root@bambi etc]# sensors -v
sensors version 2.9.0 with libsensors version 2.9.0

Its a 2.6.9 (Redhat FC3 x86_64) kernel.

I just installed the RPMs from http://atrpms.net/name/lm_sensors/ for FC3 x86_64, the kernel modules are from the redhat kernel source (I recompiled it).

The motherboard definitely has a w83627thf soldered on it (which sensors-detect detected), its an ASUS NCL-DS (its a dual Xeon, fairly new).

The fans I've tried different "fan1_div" settings (tried 4 and 8) no good, for the temps I've tried set sensor1,2 or 3435 (I can only get -48C or +127C)

What can I try next (also where are the /proc values, or is it sysfs these days?)

Regards
Mark Strong

#1 lore raw

Hi Jean,
thanks for the reply.

Its an ASUS MB a NCL-DS with dual Xeons, and yes it does have hardware monitoring in the bios (and some kind of smart fan control). Its has six fan headers on the MB.

The only chips I can see (the heatsinks on the Xeons cover up some areas) that are likely candidate's is the W83627THF, and a W83792D (there are also two W83601R's).

Here's the version
sensors version 2.9.0 with libsensors version 2.9.0

Thanks
Mark.

Here's the sensors-detect output
-----------------------------------
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801EB ICH5 Probe succesfully concluded.

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no):
Module loaded succesfully.
If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev' to be loaded. If it is built-in into your kernel, you can safely skip this. i2c-dev is not loaded. Do you want to load it now? (YES/no):
Module loaded succesfully.

We are now going to do the adapter probings. Some adapters may hang
halfway
through; we can't really help that. Also, some chips will be double
detected;
we choose the one with the highest confidence value in that case. If you found that the adapter hung after probing a certain address, you
can
specify that address to remain unprobed. That often includes address 0x69 (clock chip).

Next adapter: SMBus I801 adapter at 0400
Do you want to scan it? (YES/no/selectively):
Client found at address 0x08
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed! Client found at address 0x50
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Probing for `DDC monitor'... Failed!
Probing for `Maxim MAX6900'... Failed!
Client found at address 0x51
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x52
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x53
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x54
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x55
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x56
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x57
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Probing for `Sony Vaio EEPROM'... Failed!

Some chips are also accessible through the ISA bus. ISA probes are typically a bit more dangerous, as we have to write to I/O ports to do this. This is usually safe though.

Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
Trying address 0x0290... Success!

    (confidence 8, driver `it87')

Probing for `IPMI BMC KCS'
Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
Trying address 0x0ca8... Failed!

Some Super I/O chips may also contain sensors. Super I/O probes are typically a bit more dangerous, as we have to write to I/O ports to do this. This is usually safe though.

Do you want to scan for Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (0x82)
Probing for `Winbond W83627HF Super IO Sensors'
Failed! (0x82)
Probing for `Winbond W83627THF Super IO Sensors'
Success... found at address 0x0290
Probing for `Winbond W83637HF Super IO Sensors'
Failed! (0x82)
Probing for `Winbond W83697HF Super IO Sensors'
Failed! (0x82)
Probing for `Winbond W83697SF/UF Super IO PWM'
Failed! (0x82)
Probing for `Winbond W83L517D Super IO'
Failed! (0x82)

Do you want to scan for secondary Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (skipping family)

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `eeprom' (should be inserted):
Detects correctly:
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x50
Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x51
Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x52
Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x53
Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x54
Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x55
Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x56
Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x57
Chip `SPD EEPROM' (confidence: 8)

Driver `it87' (may not be inserted):
Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')

    Chip `ITE IT8705F / IT8712F / SiS 950' (confidence: 8)

Driver `w83627hf' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver i2c-isa') Chip Winbond W83627THF Super IO Sensors' (confidence: 9)

Quoted 49 lines · Jean Delvare

Hi Mark,

Quoted 19 lines

Guys,
having a little trouble getting good readings

w83627thf-isa-0290
Adapter: ISA adapter
VCore: +0.97 V (min = +0.96 V, max = +0.96 V)

+12V:      +6.63 V  (min = +10.82 V, max = +13.19 V)              
+3.3V:     +3.33 V  (min =  +3.14 V, max =  +3.47 V)              
+5V:       +4.96 V  (min =  +4.75 V, max =  +5.25 V)              
-12V:     -14.91 V  (min = -10.80 V, max = -13.18 V)              
V5SB:      +5.08 V  (min =  +4.76 V, max =  +5.24 V)              
VBat:      +1.70 V  (min =  +2.40 V, max =  +3.60 V)              
fan1:        0 RPM  (min = 8881 RPM, div = 2)                     
fan2:        0 RPM  (min = 5273 RPM, div = 2)                     
fan3:        0 RPM  (min = 10546 RPM, div = 2)                     
temp1:       -48?C  (high =    +9?C, hyst =    +0?C)   sensor > > thermistor           
temp2:    +127.5?C  (high =   +80?C, hyst =   +75?C)   sensor > > transistor   ALARM   
temp3:     -48.0?C  (high =   +80?C, hyst =   +75?C)   sensor > > thermistor           
vid:      +0.000 V  (VRM Version 9.0)
Quoted 3 lines

alarms: Chassis intrusion detection ALARM
beep_enable:
Sound alarm disabled

Admittedly no good. Some voltages might be correct but that's about it.

Quoted 6 lines

The fans I've tried different "fan1_div" settings (tried 4 and 8) no good, for the temps I've tried set sensor1,2 or 3435 (I can only get -48C or +127C)

What can I try next (also where are the /proc values, or is it sysfs these days?)

Do you have hardware monitoring information in the BIOS setup screen?

Did sensors-detect find any other chip? You may share the output with us in case we have an idea.

The W83627THF is a Super-I/O chip with more than just hardware monitoring, maybe that part isn't used. You should look at your motherboard manual and see if they mention the hardware monitoring capabilities at all. You could also look at the motherboard again and search for other Winbond, National Semiconductor, Analog Devices, Maxim etc... (even Asus) chips.

For 2.6 kernels the interface files are indeed in
/sys/bus/i2c/devices/*/*.

#2 lore raw
In reply to Mark Strong

Hey,
Jean,
I'm doing it now, but is it supposed to do this

[root@bambi ~]# isaset -y -f 0x2e 0x87
Data mismatch, wrote 0x87, read 0xff back. [root@bambi ~]# isaset -y -f 0x2e 0x87
Data mismatch, wrote 0x87, read 0xff back.

Well here's the dump anyway (you sure 0x2e is the right location?)

[root@bambi ~]# isaset -y -f 0x2e 0xaa
Data mismatch, wrote 0xaa, read 0xff back.

Mark.

ps Its a fair sized surface mount, it would take a bit of effort to unsolder it, so as you say I think the isadump tool is the best bet :)

Quoted 11 lines · Jean Delvare

Hi Mark,

Could you please provide a dump of logical device 8 or your W83627THF chip?

isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
isadump -y 0x2e 0x2f 8 > w83627thf-ld8.dump
isaset -y -f 0x2e 0xaa

Thanks,

-------------- next part --------------
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff ff ff ff ff ff 08 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 20: 82 84 ff fe e2 00 00 ff 20 00 00 1a 58 20 00 ff 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

#3 lore raw
In reply to Mark Strong

Jean,
here's the data

[root@bambi ~]# isaset -y -f 0x2e 0x87
Data mismatch, wrote 0x87, read 0xff back.
[root@bambi ~]# isaset -y -f 0x2e 0x87
Data mismatch, wrote 0x87, read 0xff back.
[root@bambi ~]# isaset 0x2e 0x2f 0x07 8
WARNING! Running this program can cause system crashes, data loss and worse!
I will write value 0x08 to address 0x07 of chip with address register 0x2e
and data register 0x2f.
Continue? [Y/n]
[root@bambi ~]# isaset 0x2e 0x2f 0x30 1
WARNING! Running this program can cause system crashes, data loss and worse!
I will write value 0x01 to address 0x30 of chip with address register 0x2e
and data register 0x2f.
Continue? [Y/n]
[root@bambi ~]# isadump 0x2e 0x2f > w83627thf-ld8.dump WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0x2e and data register 0x2f. Continue? [Y/n]
[root@bambi ~]# isaset -y -f 0x2e 0xaa
Data mismatch, wrote 0xaa, read 0xff back.
[root@bambi ~]#

Mark.

ps Its a development server, just built, so I can afford a reboot or two.

#4 lore raw
In reply to Mark Strong

Jean,
sorry, mind's on other stuff.

Mark.

Quoted 5 lines · Jean Delvare
Quoted 2 lines

Jean,
here's the data

Hmm, where's the attachement? ;)

-------------- next part --------------
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff ff ff ff ff ff 08 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 20: 82 84 ff fe e2 00 00 ff 20 00 00 1a 58 20 00 ff 30: 01 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

#5 lore raw
In reply to Mark Strong

Hi Mark,

Could you please provide a dump of logical device 8 or your W83627THF chip?

isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
isadump -y 0x2e 0x2f 8 > w83627thf-ld8.dump
isaset -y -f 0x2e 0xaa

Thanks,

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#6 lore raw
In reply to Mark Strong

Quoting myself:

Quoted 2 lines

Could you please provide a dump of logical device 8 or your W83627THF chip?

I meant "of your", of course. I don't expect you to unsolder your chip and ship it to me ;)

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#7 lore raw
In reply to Mark Strong
Quoted 8 lines

Hey,
Jean,
I'm doing it now, but is it supposed to do this

[root@bambi ~]# isaset -y -f 0x2e 0x87 Data mismatch, wrote 0x87, read 0xff back. [root@bambi ~]# isaset -y -f 0x2e 0x87 Data mismatch, wrote 0x87, read 0xff back.

Don't worry, mismatches are expected. Sorry, I should have told you.

Dump is OK, but the logical device is disabled, so some information seem to be hidden. We will have to enable it.

isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
isaset 0x2e 0x2f 0x07 8
isaset 0x2e 0x2f 0x30 1
isadump 0x2e 0x2f > w83627thf-ld8.dump
isaset -y -f 0x2e 0xaa

Beware this is slightly more risky that the previous set of commands, although I think it should be OK. Don't do it if you couldn't afford a system reboot or just don't feel like it.

Thanks,

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#9 lore raw
In reply to Mark Strong

Hi Mark,

I'm admittedly surprised by the dump, as all registers in the 0xF0-0xF7 range are set to 0xFF while the datasheet mentions default values of 0x00 for most. We might assume that the datasheet is wrong and continue, but this still worries me.

isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
isaset -y 0x2e 0x2f 0x07 8
isaset -y 0x2e 0x2f 0xf2 0xe7
isaset -y 0x2e 0x2f 0xf0 0xe7

At this point you can modprobe i2c-i801 if you didn't already. Then do "i2cdetect -l" to get the id of the i801 bus (most probably 0 or 1) and do "i2cdetect 0" or 1 or whatever number the i801 bus id is. See if any new device appeared especially in the 0x28-0x2f range.

If nothing showed, try:
isaset -y 0x2e 0x2f 0xf1 0xef

And try i2cdetect again. If still nothing:

isaset -y 0x2e 0x2f 0xf1 0xf7

And try i2cdetect again. If still nothing:

isaset -y 0x2e 0x2f 0xf1 0xe7

And i2cdetect again. If still nothing we have lost :( so let's just hope that one of the i2cdetect above found something.

Finally release the super-io chip with:
isaset -y -f 0x2e 0xaa

Thanks,
--
Jean Delvare

#10 lore raw
In reply to Mark Strong

Hi Mark,

Quoted 2 lines

tried commands below, looked ok to start with but, still nothing detected on the "i2cdetect" aside from the eeprom stuff at 50+.

Too bad :(

The dump you sent suggests that the GPIO reconfiguration failed (so I'm not surprised that nothing new showed on the SMBus). What is really odd is that two of the three writes succeeded according to isaset, while the third one supposedly failed, but the dump doesn't agree with this at all. I just don't get it. I wonder if something is trying to access the chip concurrently (sounds like paranoia but I'm almost left to that at this point).

I may have missed one configuration step. You can try again with this additional step. Let's also enforce the logical device value for each write, just in case (yes, I'm going paranoid).

(Note that you NEED isaset from lm_sensors 2.9.0 or CVS for the additional command to work, as it requires the new masked write feature.)

rmmod w83627hf
rmmod eeprom

isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
isaset -y 0x2e 0x2f 0x2b 0x30 0x30
isaset -y 0x2e 0x2f 0x07 8
isaset -y 0x2e 0x2f 0x30 1
isaset -y 0x2e 0x2f 0x07 8
isaset -y 0x2e 0x2f 0xf2 0xe7
isaset -y 0x2e 0x2f 0x07 8
isaset -y 0x2e 0x2f 0xf0 0xe7
isaset -y 0x2e 0x2f 0x07 8
isaset -y 0x2e 0x2f 0xf1 0xe7
isadump -y 0x2e 0x2f 8 > w83627thf-ld8-1.dump
sleep 10
isadump -y 0x2e 0x2f 8 > w83627thf-ld8-2.dump
isaset -y -f 0x2e 0xaa

I invite you to put all the isaset and isadump commands in a shell script so that you can run them all in a row. It will lower the risk that something accesses the chip inbetween commands.

If registers 0xf0, 0xf1 and 0xf2 of the dumps still have value 0xff after that, I'm giving up...

Thanks,

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