Re: 2.6.23.1 x86 hardware monitoring bug?

Previous thread: [PATCH] Include asm/vsyscall.h in arch/x86/kernel/alternative.c. by Doug Whitesell (LKML) on Sunday, October 14, 2007 - 12:26 pm. (1 message)

Next thread: [GIT PATCH] hwmon updates against v2.6.23 by Mark M. Hoffman on Sunday, October 14, 2007 - 12:29 pm. (1 message)
From: Justin Piszcz
Date: Sunday, October 14, 2007 - 12:30 pm

As a regular user, I cannot see the sensors on the A-bit board, but I can=
=20
see the CPU temperature, how come I can see one but not the other?

Kernel: $ uname -a
Linux mybox 2.6.23.1 #4 SMP PREEMPT Sun Oct 14 15:20:53 EDT 2007 i686 GNU/L=
inux
Distribution: Debian Lenny

$ sensors
abituguru3-isa-00e0
Adapter: ISA adapter

coretemp-isa-0000
Adapter: ISA adapter
temp1:       +35=B0C  (high =3D   +85=B0C)

coretemp-isa-0001
Adapter: ISA adapter
temp1:       +36=B0C  (high =3D   +85=B0C)

As root:

# sensors
abituguru3-isa-00e0
Adapter: ISA adapter
CPU Core:               +1.35 V  (min  +0.00 V, max  +1.60 V)
DDR2:                   +2.02 V  (min  +1.60 V, max  +2.40 V)
DDR2 VTT:               +1.01 V  (min  +0.80 V, max  +1.20 V)
CPU VTT 1.2V:           +1.22 V  (min  +0.95 V, max  +1.45 V)
MCH & PCIE 1.5V:        +1.50 V  (min  +1.20 V, max  +1.80 V)
MCH 2.5V:               +2.58 V  (min  +2.00 V, max  +3.00 V)
ICH 1.05V:              +1.04 V  (min  +0.85 V, max  +1.25 V)
ATX +12V (24-Pin):     +12.18 V  (min  +9.60 V, max +14.40 V)
ATX +12V (4-pin):      +12.24 V  (min  +9.60 V, max +14.40 V)
ATX +5V:                +5.07 V  (min  +3.99 V, max  +6.00 V)
+3.3V:                  +3.40 V  (min  +2.64 V, max  +3.94 V)
5VSB:                   +5.10 V  (min  +3.99 V, max  +6.00 V)
CPU:                      +43=B0C  (high =3D   +75=B0C, crit =3D   +85=B0C)
System :                  +38=B0C  (high =3D   +55=B0C, crit =3D   +65=B0C)
PWM1:                     +43=B0C  (high =3D   +80=B0C, crit =3D   +90=B0C)
PWM2:                     +43=B0C  (high =3D   +80=B0C, crit =3D   +90=B0C)
PWM3:                     +46=B0C  (high =3D   +80=B0C, crit =3D   +90=B0C)
PWM4:                     +40=B0C  (high =3D   +80=B0C, crit =3D   +90=B0C)
CPU Fan:               1380 RPM  (min  300 RPM)
NB Fan:                   0 RPM  (min  300 RPM)
SYS Fan:                  0 RPM  (min  300 RPM)
AUX1 Fan:                 0 RPM  (min  300 RPM)
AUX2 Fan:                 0 RPM  (min  300 ...
From: Mark M. Hoffman
Date: Sunday, October 14, 2007 - 7:53 pm

Hi Justin:

(added some CCs)


Strange.  What does 'ls -lH /sys/class/hwmon/hwmon*/device' say?

Regards,

-- 
Mark M. Hoffman
mhoffman@lightlink.com

-

From: Hans de Goede
Date: Sunday, October 14, 2007 - 11:33 pm

What does "which sensors" say as user, and what as root?
What does "ldd `which sensors`" say as user and what as root?

I have the feeling you have 2 different versions of lm-sensors installed in 
root is using one, and the user the other.

Regards,



-

From: Justin Piszcz
Date: Monday, October 15, 2007 - 1:07 am

Arg, you were correct-- my error, it had been a special version that I=20
had to install to get the coretemp several months ago, it is working now.


$ sensors
abituguru3-isa-00e0
Adapter: ISA adapter
CPU Core:               +1.35 V  (min  +0.00 V, max  +1.60 V)
DDR2:                   +2.00 V  (min  +1.60 V, max  +2.40 V)
DDR2 VTT:               +1.00 V  (min  +0.80 V, max  +1.20 V)
CPU VTT 1.2V:           +1.22 V  (min  +0.95 V, max  +1.45 V)
MCH & PCIE 1.5V:        +1.50 V  (min  +1.20 V, max  +1.80 V)
MCH 2.5V:               +2.58 V  (min  +2.00 V, max  +3.00 V)
ICH 1.05V:              +1.04 V  (min  +0.85 V, max  +1.25 V)
ATX +12V (24-Pin):     +12.18 V  (min  +9.60 V, max +14.40 V)
ATX +12V (4-pin):      +12.24 V  (min  +9.60 V, max +14.40 V)
ATX +5V:                +5.07 V  (min  +3.99 V, max  +6.00 V)
+3.3V:                  +3.40 V  (min  +2.64 V, max  +3.94 V)
5VSB:                   +5.10 V  (min  +3.99 V, max  +6.00 V)
CPU:                      +39=B0C  (high =3D   +75=B0C, crit =3D   +85=B0C)
System :                  +34=B0C  (high =3D   +55=B0C, crit =3D   +65=B0C)
PWM1:                     +38=B0C  (high =3D   +80=B0C, crit =3D   +90=B0C)
PWM2:                     +38=B0C  (high =3D   +80=B0C, crit =3D   +90=B0C)
PWM3:                     +41=B0C  (high =3D   +80=B0C, crit =3D   +90=B0C)
PWM4:                     +36=B0C  (high =3D   +80=B0C, crit =3D   +90=B0C)
CPU Fan:               1380 RPM  (min  300 RPM)
NB Fan:                   0 RPM  (min  300 RPM)
SYS Fan:                  0 RPM  (min  300 RPM)
AUX1 Fan:                 0 RPM  (min  300 RPM)
AUX2 Fan:                 0 RPM  (min  300 RPM)
AUX3 Fan:                 0 RPM  (min  300 RPM)
OTES1 Fan:                0 RPM  (min  300 RPM)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +34=B0C  (high =3D   +85=B0C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +35=B0C  (high =3D   +85=B0C)

Sorry for the trouble.

>
From: Justin Piszcz
Date: Monday, October 15, 2007 - 1:06 am

Output from ls -lH /sys/class/hwmon/hwmon*/device:

/sys/class/hwmon/hwmon0/device:
total 0
lrwxrwxrwx 1 root root    0 2007-10-15 03:59 driver -> ../../../bus/platfor=
m/drivers/abituguru3
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan1_alarm
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan1_alarm_enable
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan1_beep
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan1_input
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan1_label
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan1_min
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan1_shutdown
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan2_alarm
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan2_alarm_enable
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan2_beep
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan2_input
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan2_label
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan2_min
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan2_shutdown
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan3_alarm
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan3_alarm_enable
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan3_beep
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan3_input
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan3_label
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan3_min
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan3_shutdown
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan4_alarm
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan4_alarm_enable
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan4_beep
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan4_input
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan4_label
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan4_min
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan4_shutdown
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan5_alarm
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan5_alarm_enable
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan5_beep
-r--r--r-- 1 root root 4096 2007-10-15 ...
From: Rudolf Marek
Date: Monday, October 15, 2007 - 2:12 am

Hi,

Most likely you have distro and custom libsensors installed on the system. (and 
different PATH for root)

Please check how many of libsensors libraries is installed.

Thanks,

Rudolf
-

From: Justin Piszcz
Date: Monday, October 15, 2007 - 3:15 am

I only had one, in /app (lm-sensors-2.10.2) -- which has been removed, 
thanks..

Justin.
-

Previous thread: [PATCH] Include asm/vsyscall.h in arch/x86/kernel/alternative.c. by Doug Whitesell (LKML) on Sunday, October 14, 2007 - 12:26 pm. (1 message)

Next thread: [GIT PATCH] hwmon updates against v2.6.23 by Mark M. Hoffman on Sunday, October 14, 2007 - 12:29 pm. (1 message)