No Alarm when values not within range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bj?rn,

On Mon, 22 Sep 2008 09:51:56 +0200, Gerhart, Bjoern wrote:
> Hi Jean,
> 
> 
> > To
> > investigate this, we would need a dump of the IT8718F chip together
> > with the corresponding sensors output.
> 
> 
> sensors-detect tells me the address of the it8718:
> ---------------------%<--------------------------snip
> Found `ITE IT8718F Super IO Sensors'                        Success!
>     (address 0x290, driver `it87')
> --------------------->%--------------------------snap
> 
> 
> So my isadump command and output looks like this (please tell me if I'm wrong with these addresses):
> ---------------------%<--------------------------snip
> [root at wnlpos-gerhart ~]# isadump -y 0x295 0x296
>      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
> 00: 13 11 01 00 37 ff 06 37 ff 07 54 09 0f 04 ff 3f
> 10: 17 ff 46 77 d0 4f 4f 7f 01 ff 02 00 ff 05 05 05
> 20: 4d 72 cf bd c3 34 5e be bd 2f 1d 80 80 b3 53 53
> 30: 3f 38 90 51 fa a9 d4 a7 d6 a7 51 28 77 45 d4 a7
> 40: 1a 14 7f c9 7f c9 5f 74 2d 40 ab 22 ff ff ff ff
> 50: ff 03 7f 7f 7f 50 08 00 90 00 05 12 00 00 00 00
> 60: 7f 30 3c 00 00 7f ff ff 7f 7f 7f 00 00 7f ff ff
> 70: 7f 7f 7f 00 00 7f ff ff ff ff ff ff ff ff ff ff
> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00
> 90: ff 00 00 00 ff 00 00 00 ff ff ff ff ff ff ff ff
> a0: 00 00 00 00 00 00 00 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
> --------------------->%--------------------------snap
> 
> 
> For testing purpose, before I run isadump, I modified the limits of
> "CPU VID", "CPU Fan" and "CPU Temp" to extra low values, and restart
> lm_sensors to accept the new limits. The output of sensors looks
> like this (No Alarm detected):
> ---------------------%<--------------------------snip
> [root at wnlpos-gerhart ~]# sensors
> it8718-isa-0290
> Adapter: ISA adapter
> CPU VID:     +1.23 V  (min =  +0.90 V, max =  +1.01 V)
> +1.8V:       +1.82 V  (min =  +1.30 V, max =  +2.30 V)
> +3.3V VSB:   +3.31 V  (min =  +2.70 V, max =  +4.00 V)
> +5V VCC:     +5.08 V  (min =  +4.49 V, max =  +5.70 V)
> +12V:       +12.48 V  (min = +10.69 V, max = +13.70 V)
> -12V:       -12.69 V  (min = -13.68 V, max = -10.30 V)
> +1.5V:       +1.50 V  (min =  +1.10 V, max =  +1.90 V)
> +5V VSB:     +5.11 V  (min =  +4.49 V, max =  +5.70 V)
> +3V VBAT:    +3.02 V
> CPU Fan:    3169 RPM  (min = 29347 RPM)
> PS Fan:     1167 RPM  (min =  500 RPM)
> CPU Temp:    +47.0??C  (low  = +22.0??C, high = +28.0??C)  sensor = thermal diode
> --------------------->%--------------------------snap
> 
> 
> Can you figure out why the Alarm state is not detected?

Good, exactly the test we needed.

According to the dump, alarm flags are set for in0 and fan1, so you
should see these in the output of sensors. Just thinking about it now:
what kernel version are you running? I assumed you were running
something recent (2.6.25 or later) but maybe not? Individual alarm
files (which lm-sensors 3 needs) were added to the it87 driver in
kernel 2.6.25. If you are running an older kernel then it is expected
that the alarms are missing (same as with pc87360 - except that pc87360
is worse because even the latest kernel doesn't have the individual
alarm files in that one.)

-- 
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux