Ticket #2334 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

Error getting sensor validity: adm1023/#90

Reported by: ticket Assigned to: khali
Priority: major Milestone: 2.10.7
Component: sensord Version:
Keywords: ADM1023 Cc:

Description

Hello,

When starting sensord on my Gentoo machine, I get the following in my logs:

Jun 14 08:48:52 [sensord] sensord started Jun 14 08:48:52 [sensord] Sensor alarm: Chip w83627hf-isa-0290: VBat: +1.70 V (min = +2.93 V, max = +2.03 V) [ALARM] Jun 14 08:48:52 [sensord] Sensor alarm: Chip w83627hf-isa-0290: fan3: 0 RPM (min = 1424 RPM, div = 4) [ALARM] Jun 14 08:48:52 [sensord] Sensor alarm: Chip w83627hf-isa-0290: alarms: Chassis intrusion detection [ALARM] Jun 14 08:48:52 [sensord] Chip: adm1023-i2c-0-18 Jun 14 08:48:52 [sensord] Adapter: SMBus I801 adapter at 0540 Jun 14 08:48:52 [sensord] Board Temp: 28 C (min = -55 C, max = 127 C) Jun 14 08:48:52 [sensord] CPU Temp: 31 C (min = -55 C, max = 78 C) Jun 14 08:48:52 [sensord] Error getting sensor validity: adm1023/#90 Jun 14 08:48:52 [sensord] sensord failed

Output from uname -a is as follows: Linux matrix 2.6.21-xen #2 SMP Sat Jun 14 01:11:42 CDT 2008 i686 Intel(R) XEON(TM) CPU 2.20GHz GenuineIntel? GNU/Linux

This is running Gentoo Linux (Xen kernel) 2.6.21. Sensord version is: 0.6.3

It seems like a bug (#1846) was filed about this same issue a while back. http://www.lm-sensors.org/ticket/1847

Please let me know if you need anything else

Attachments

sensord-fix-missing-adm1023-die-code.patch (1.0 kB) - added by khali on 06/14/08 21:38:46.
Fix sensord with adm1021/adm1023

Change History

06/14/08 15:54:43 changed by ticket

Let's try the logfile again, this time in a code block:

Jun 14 08:48:52 [sensord] sensord started
Jun 14 08:48:52 [sensord] Sensor alarm: Chip w83627hf-isa-0290: VBat: +1.70 V (min = +2.93 V, max = +2.03 V) [ALARM]
Jun 14 08:48:52 [sensord] Sensor alarm: Chip w83627hf-isa-0290: fan3: 0 RPM (min = 1424 RPM, div = 4) [ALARM]
Jun 14 08:48:52 [sensord] Sensor alarm: Chip w83627hf-isa-0290: alarms: Chassis intrusion detection [ALARM]
Jun 14 08:48:52 [sensord] Chip: adm1023-i2c-0-18
Jun 14 08:48:52 [sensord] Adapter: SMBus I801 adapter at 0540
Jun 14 08:48:52 [sensord] Board Temp: 28 C (min = -55 C, max = 127 C)
Jun 14 08:48:52 [sensord] CPU Temp: 31 C (min = -55 C, max = 78 C)
Jun 14 08:48:52 [sensord] Error getting sensor validity: adm1023/#90
Jun 14 08:48:52 [sensord] sensord failed

06/14/08 21:37:54 changed by khali

  • owner changed from somebody to khali.
  • status changed from new to assigned.
  • milestone set to 2.10.7.

The problem is that the Linux 2.6 adm1021 driver doesn't export the "die code" attribute while sensord expects it. Just telling sensord to ignore the die code should do the trick. Patch follows, please test and report.

06/14/08 21:38:46 changed by khali

  • attachment sensord-fix-missing-adm1023-die-code.patch added.

Fix sensord with adm1021/adm1023

06/14/08 21:39:52 changed by khali

Note that simply upgrading to lm-sensors >= 3.0.0 would solve the problem as well.

06/19/08 10:29:50 changed by khali

  • keywords set to ADM1023.
  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r5285.