tags 358674 + unreproducible
thanks
Wladimir Mutel a écrit :
Package: lm-sensors
Version: 1:2.10.0-2
Severity: normal
Hi,
Here is my lsmod for i2c modules :
"
Module Size Used by
w83627hf 22608 0
w83781d 29348 0
hwmon_vid 2432 2 w83627hf,w83781d
i2c_isa 4608 2 w83627hf,w83781d
eeprom 6736 0
i2c_viapro 7956 0
i2c_dev 8096 0
i2c_core 19536 6 w83627hf,w83781d,i2c_isa,eeprom,i2c_viapro,i2c_dev
"
Here is my contents of /sys/bus/i2c/devices/9191-0290 ,
as shown by ls :
"
alarms fan2_input in3_input in6_input name temp2_max
beep_enable fan2_min in3_max in6_max power temp2_max_hyst
beep_mask hwmon:hwmon0 in3_min in6_min pwm1 temp2_type
bus in0_input in4_input in7_input pwm2 uevent
driver in0_max in4_max in7_max temp1_input
fan1_div in0_min in4_min in7_min temp1_max
fan1_input in2_input in5_input in8_input temp1_max_hyst
fan1_min in2_max in5_max in8_max temp1_type
fan2_div in2_min in5_min in8_min temp2_input
"
Note file names.
Here is my root's run of 'sensors -s' :
"
w83697hf-isa-0290: Can't access procfs/sysfs file for writing;
Run as root?
"
Here is root's run of 'sensors' without parameters :
"
w83697hf-isa-0290
Adapter: ISA adapter
ERROR: Can't get IN0 data!
ERROR: Can't get IN2 data!
ERROR: Can't get IN3 data!
ERROR: Can't get IN4 data!
ERROR: Can't get IN5 data!
ERROR: Can't get IN6 data!
ERROR: Can't get IN7 data!
ERROR: Can't get IN8 data!
ERROR: Can't get FAN1 data!
ERROR: Can't get FAN2 data!
ERROR: Can't get TEMP1 data!
ERROR: Can't get TEMP2 data!
alarms:
beep_enable:
Sound alarm enabled
eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 0400
Memory type: DDR SDRAM DIMM
Memory size (MB): 1024
eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 0400
Memory type: DDR SDRAM DIMM
Memory size (MB): 512
"
Here are interesting strace samples taken from '-s' and default
run :
"
open("/sys/bus/i2c/devices/9191-0290/in_min0", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max0", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min2", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max2", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min3", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max3", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min4", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max4", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max5", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min5", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max6", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min6", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min7", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max7", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min8", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max8", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= -1 EACCES (Permission denied)
"
"
open("/sys/bus/i2c/devices/9191-0290/in_input0", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input4", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input5", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input6", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input7", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input8", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/sys/bus/i2c/devices/9191-0290/fan_input1", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/sys/bus/i2c/devices/9191-0290/fan_input2", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/sys/bus/i2c/devices/9191-0290/temp_input1", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/sys/bus/i2c/devices/9191-0290/temp_input2", O_RDONLY) = -1 ENOENT (No
such file or directory)
"
So it seems that 'sensors' puts digit in wrong place when it
forms file names. Don't know, may be it is caused by kernel
change to 2.6.16 ? Anyway, hope you will deem my message as a
food for thought. Thank you in advance.
'sensors' uses libsensors to read sensors values from /sys. Are you sure
you don't have an old library on your disk, because there is nothing in
the source code that corresponds to the syscalls in the strace?
What does 'ldd /usr/bin/sensors' output?
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' [EMAIL PROTECTED] | [EMAIL PROTECTED]
`- people.debian.org/~aurel32 | www.aurel32.net
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]