Aurelien Jarno wrote:
> On Fri, Oct 21, 2005 at 11:42:03AM +0400, Max Kosmach wrote:
>> Package: sensord
>> Version: 1:2.9.2-4
>> Severity: normal
>>
>>
>> from syslog:
>> Oct 21 11:35:21 odinn sensord: Chip: lm87-i2c-0-2e
>> Oct 21 11:35:21 odinn sensord: Adapter: SMBus PIIX4 adapter at 0580
>> Oct 21 11:35:21 odinn sensord: Algorithm: Unavailable from sysfs
>> Oct 21 11:35:21 odinn sensord: sensord failed
>
> Unavailable from sysfs is a normal message if you are using a 2.6 kernel
> because this information is not exported anymore as in 2.4 kernels.
ok
>> from strace:
>> strace -ff -eopen /usr/sbin/sensord
>> open("/etc/ld.so.cache", O_RDONLY) = 3
>> open("/usr/lib/libsensors.so.3", O_RDONLY) = 3
>> open("/usr/lib/librrd.so.2", O_RDONLY) = 3
>> open("/lib/tls/libc.so.6", O_RDONLY) = 3
>> open("/lib/tls/libm.so.6", O_RDONLY) = 3
>> open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
>> open("/usr/lib/libpng12.so.0", O_RDONLY) = 3
>> open("/usr/lib/libz.so.1", O_RDONLY) = 3
>> open("/usr/lib/libart_lgpl_2.so.2", O_RDONLY) = 3
>> open("/etc/sensors.conf", O_RDONLY) = 3
>> open("/proc/mounts", O_RDONLY) = 4
>> open("/sys/class/hwmon", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1
>> ENOENT (No such file or directory)
>> open("/sys/bus/i2c/devices", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
>> open("/sys/bus/i2c/devices/0-0053/name", O_RDONLY) = 5
>> open("/sys/bus/i2c/devices/0-0052/name", O_RDONLY) = 5
>> open("/sys/bus/i2c/devices/0-0051/name", O_RDONLY) = 5
>> open("/sys/bus/i2c/devices/0-0050/name", O_RDONLY) = 5
>> open("/sys/bus/i2c/devices/0-002e/name", O_RDONLY) = 5
>> open("/sys/class/i2c-adapter/i2c-0/device/name", O_RDONLY) = 5
>> open("/sys/class/i2c-adapter", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
>> = 4
>> open("/sys/class/i2c-adapter/i2c-0/device/name", O_RDONLY) = 5
>> open("/var/run/sensord.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
>> Process 15536 attached
>> open("/etc/localtime", O_RDONLY) = 0
>> open("/sys/bus/i2c/devices/0-002e/in0_input", O_RDONLY) = -1 ENOENT (No such
>> file or directory)
>> open("/sys/bus/i2c/devices/0-002e/_", O_RDONLY) = -1 ENOENT (No such file or
>> directory)
>> Process 15536 detached
>
> looks like sensord has been daemonized correctly. Do you see it with ps?
yes,
But:
>> open("/sys/bus/i2c/devices/0-002e/in0_input", O_RDONLY) = -1 ENOENT
(No such file or directory)
>> open("/sys/bus/i2c/devices/0-002e/_", O_RDONLY) = -1 ENOENT (No such
file or directory)
is this correct?
>> ls /sys/bus/i2c/devices/0-002e/
>>
>> alarms fan1_min in2_input in4_max temp1_min temp3_max
>> aout_output fan2_div in2_max in4_min temp2_crit temp3_min
>> cpu0_vid fan2_input in2_min name temp2_input vrm
>> detach_state fan2_min in3_input power temp2_max
>> driver in1_input in3_max temp1_crit temp2_min
>> fan1_div in1_max in3_min temp1_input temp3_crit
>> fan1_input in1_min in4_input temp1_max temp3_input
>>
>
> Could you please send me the output of sensors?
#sensors
lm87-i2c-0-2e
Adapter: SMBus PIIX4 adapter at 0580
VCore: +1.69 V (min = +1.62 V, max = +1.79 V)
+3.3V: +3.28 V (min = +3.04 V, max = +3.56 V)
+5V: +5.08 V (min = +4.61 V, max = +5.39 V)
+12V: +12.31 V (min = +10.81 V, max = +13.19 V)
CPU Fan: 4754 RPM (min = 3000 RPM, div = 2)
fan2: 4787 RPM (min = 3000 RPM, div = 2)
M/B Temp: +28 C (low = +5 C, high = +65 C)
CPU Temp: +27 C (low = +5 C, high = +70 C)
temp3: +26 C (low = +0 C, high = +75 C)
vid: +1.700 V (VRM Version 8.2)
--
With MBR
Max
CCSA/CCSE
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]