Skip to contentSkip to conversation

Ticket #: 1659 it87: it8712f module stops working

DISCUSSION er0ck 2 participants 6 messages May 19, 2005

lore
Share & tools
lore

er0ck

author
#0 lore raw

see ticket for background.

basically the it87 module stops working on my system (it8712), and answers 0x08 to any request.

i've confirmed that i can reload the module all i want prior to when it craps the bed.

i've also been logging sensors output, and time and it appears to always
stop working at 10 mins of uptime. but i've only rebooted twice, which
is the only way to get the chip back...

i'm going to rewrite my script now so it logs the number of calls to sensors, finer granularity of time ellapsed, and system state. i'll also turn on debug in lm-sensors.

any other suggestions?

thanks
-eric

author
#1 lore raw

it's not after 10 mins afterall... i've also loaded the hell out of the system using stress, and it didn't seem to have any immediate effect.

i've seen it crap while just using the machine (usually below 1% load), or while i'm not on it, and xscreensaver is running (above 50% load).

i can't get it to stop working by hand by activating xscreensaver, nor by using stress though.

i thought i had enabled debug in lm_sensors but i guess it didn't work.
(silly gentoo). so i'll get that working, build some small kernel
with nada and no modules and see what happens...

i've also recently seen it crap the bed but still return stuff that's not 0x08:
such as +4 for the positive in sensors.
also:
as you may have noticed i have both an i2c and ISA sensor output, which i haven't been able to figure out how to turn one off but i don't really care and figure it's simple....
but what's really strange is that sometimes after the module stops working those two produce different results?? weird

_____________________________________________

     /\  ()      /\       erOck
    /  \    /\  /  \/\    Eric Thompson
 /\/    \  /  \/      \   www.erict.net

/ \/ \
---------------------------------------------
Ginger snap.

author
#2 lore raw

Ticket #: 1659 it87: it8712f module stops working (lm:

In reply to er0ck

weird:
it87-i2c-0-2d

Adapter: SMBus I801 adapter at 0500
VCore 1:   +4.08 V  (min =  +4.08 V, max =  +4.08 V)   
VCore 2:   +4.08 V  (min =  +4.08 V, max =  +4.08 V)   
+3.3V:     +4.08 V  (min =  +4.08 V, max =  +4.08 V)   
+5V:       +6.85 V  (min =  +6.85 V, max =  +6.85 V)   
+12V:     +16.32 V  (min = +16.32 V, max = +16.32 V)   
-12V:      +4.01 V  (min =  +4.01 V, max =  +4.01 V)   
-5V:       +4.00 V  (min =  +4.00 V, max =  +4.00 V)   
Stdby (5): +6.85 V  (min =  +6.85 V, max =  +6.85 V)   
VBat:      +4.08 V
NB:          0 RPM  (min =    0 RPM, div = 128)          
ICE:         0 RPM  (min =    0 RPM, div = 8)          
M/B Temp:     -1 C  (low  =    -1 C, high =    -1 C)   sensor disabled   
CPU Temp:     -1 C  (low  =    -1 C, high =    -1 C)   sensor disabled   
Vreg:         -1 C  (low  =    -1 C, high =    -1 C)   sensor disabled   
vid:       +0.00 V

it87-isa-0290

Adapter: ISA adapter
VCore 1:   +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
VCore 2:   +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
+3.3V:     +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
+5V:       +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
+12V:      +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
-12V:     -17.38 V  (min = -17.38 V, max = -17.38 V)   
-5V:      -20.81 V  (min = -20.81 V, max = -20.81 V)   
Stdby (5): +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
VBat:      +0.00 V
NB:         -1 RPM  (min =   -1 RPM, div = 1)          
ICE:        -0 RPM  (min =   -0 RPM, div = 2)          
M/B Temp:     +0 C  (low  =    +0 C, high =    +0 C)   sensor disabled   
CPU Temp:     +0 C  (low  =    +0 C, high =    +0 C)   sensor disabled   
Vreg:         +0 C  (low  =    +0 C, high =    +0 C)   sensor disabled   
vid:       +0.00 V

_____________________________________________

     /\  ()      /\       erOck
    /  \    /\  /  \/\    Eric Thompson
 /\/    \  /  \/      \   www.erict.net

/ \/ \
---------------------------------------------
You possess a mind not merely twisted, but actually sprained.

#3 lore raw

Ticket #: 1659 it87: it8712f module stops working (lm: message

In reply to er0ck
Quoted 20 lines

weird:
it87-i2c-0-2d

Adapter: SMBus I801 adapter at 0500
VCore 1:   +4.08 V  (min =  +4.08 V, max =  +4.08 V)   
VCore 2:   +4.08 V  (min =  +4.08 V, max =  +4.08 V)   
+3.3V:     +4.08 V  (min =  +4.08 V, max =  +4.08 V)   
+5V:       +6.85 V  (min =  +6.85 V, max =  +6.85 V)   
+12V:     +16.32 V  (min = +16.32 V, max = +16.32 V)   
-12V:      +4.01 V  (min =  +4.01 V, max =  +4.01 V)   
-5V:       +4.00 V  (min =  +4.00 V, max =  +4.00 V)   
Stdby (5): +6.85 V  (min =  +6.85 V, max =  +6.85 V)   
VBat:      +4.08 V
NB:          0 RPM  (min =    0 RPM, div = 128)          
ICE:         0 RPM  (min =    0 RPM, div = 8)          
M/B Temp:     -1 C  (low  =    -1 C, high =    -1 C)   sensor > disabled   
CPU Temp:     -1 C  (low  =    -1 C, high =    -1 C)   sensor > disabled   
Vreg:         -1 C  (low  =    -1 C, high =    -1 C)   sensor > disabled   
vid:       +0.00 V

it87-isa-0290

Quoted 16 lines
Adapter: ISA adapter
VCore 1:   +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
VCore 2:   +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
+3.3V:     +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
+5V:       +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
+12V:      +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
-12V:     -17.38 V  (min = -17.38 V, max = -17.38 V)   
-5V:      -20.81 V  (min = -20.81 V, max = -20.81 V)   
Stdby (5): +0.00 V  (min =  +0.00 V, max =  +0.00 V)   
VBat:      +0.00 V
NB:         -1 RPM  (min =   -1 RPM, div = 1)          
ICE:        -0 RPM  (min =   -0 RPM, div = 2)          
M/B Temp:     +0 C  (low  =    +0 C, high =    +0 C)   sensor > disabled   
CPU Temp:     +0 C  (low  =    +0 C, high =    +0 C)   sensor > disabled   
Vreg:         +0 C  (low  =    +0 C, high =    +0 C)   sensor > disabled   
vid:       +0.00 V

Obviously, it's all 0xff on the I2C bus, and all 0x00 on the ISA bus. That's not particularly weird if you consider that the "natural state" of the I2C bus is high.

Quoted 3 lines

as you may have noticed i have both an i2c and ISA sensor output, which i haven't been able to figure out how to turn one off but i don't really care and figure it's simple....

If you want to see only one of the two output, the easiest way is not to load both bus drivers. Either load i2c-i801 or i2c-isa, but not both. However, this was interesting to verify that both readings fail. This would tend to prove that the chip itself is broken, not the busses. You may still want to ensure that the failure occurs even if you use only one of the bus drivers (maybe there's some kind of bad interaction between both access modes).

When the chip goes broken, you may want to try:
i2cset 0 0x2d 0 0x90
(make sure you have i2c-i801 loaded as bus 0)
This will try to preform a reset of the it87 chip. However, if the chip is already dead broken, I doubt it'll work.

Let us know if you find something new.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to er0ck
Quoted 2 lines

i've confirmed that i can reload the module all i want prior to when it craps the bed.

OK, that's what I thought.

Quoted 7 lines

i've also been logging sensors output, and time and it appears to
always stop working at 10 mins of uptime. but i've only rebooted
twice, which is the only way to get the chip back...

i'm going to rewrite my script now so it logs the number of calls to sensors, finer granularity of time ellapsed, and system state. i'll also turn on debug in lm-sensors.

Yes, good idea. I don't have any idea as to why the problem occurs. Nobody else reported the problem so far.

Quoted 1 line

any other suggestions?

You may want to see if there could be a conflict with other drivers/devices, especially with those who use the ISA addressing space. I invite you to try a light kernel with as few drivers as possible, and see if the problem still occurs.

Since I don't have much idea, the more information you can gather, the better, of course.

Good luck.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#5 lore raw
In reply to er0ck

i was under the impression that the IT87 only supported thermistors. i was at work without the docs. but after reading more of the datasheet last night i realize it supports diodes, thermistors and resistors.

so if one does not override the sensor type in sensors.conf lm_sensors uses whatever settings the bios sets? i dind't know that. i guess i should read more of the datasheet. is sensor type a register setting?

for kicks, i'll try to use just i2c and see if i still get a bus collision.

and then all i have left to do is go in and try to measure the resistors on the voltage dividers. as well as confirm how the id lines are hooked up...

i'll send my sensors.conf when i am confident i have it all working.

thanks for all your help.
-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040507/89194168/attachment.html