openbmc / dbus-sensors

D-Bus configurable sensor scanning applications
Apache License 2.0
27 stars 44 forks source link

hwmontempsensor value Value not updated in real-time #26

Open jack206 opened 1 year ago

jack206 commented 1 year ago

cat /var/volatile/sys_switch/sys/class/hwmon/01-01/temp1_input -99999999 ipmitool sdr list CPU Total Power | 26.46 Watts | ok CPU VR1 Power O | 2.41 Watts | ok CPU VR2 Power O | 0.82 Watts | ok CPU VR3 Power O | 2.35 Watts | ok CPU VR4 Power O | 1.59 Watts | ok CPU VR5 Power O | 5.33 Watts | ok CPU VR6 Power O | 13.92 Watts | ok FPGA VR1 Power O | 2.06 Watts | ok FPGA VR2 Power O | 1.00 Watts | ok CPU TEMP | 30 degrees C | ok CPU VR1 TEMP | 26 degrees C | ok CPU VR2 TEMP | 23 degrees C | ok CPU VR3 TEMP | 25 degrees C | ok CPU VR4 TEMP | 26 degrees C | ok CPU VR5 TEMP | 23 degrees C | ok CPU VR6 TEMP | 29 degrees C | ok FPGA INLET TEMP | 25 degrees C | ok FPGA INNER TEMP1 | 30 degrees C | ok FPGA INNER TEMP2 | 30 degrees C | ok FPGA INNER TEMP3 | 24 degrees C | ok FPGA INNER TEMP4 | 21 degrees C | ok FPGA INNER TEMP5 | 27 degrees C | ok FPGA VR1 TEMP | 24 degrees C | ok FPGA VR2 TEMP | 22 degrees C | ok

/var/volatile/sys_switch/sys/class/hwmon/01-01/temp1_input是CPU TEMP sysfs,when i power off cpu, i seems that idbus value not update, i restart hwmontempsensor to restore normal

here is log: Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensorc Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensorc Sep 04 01:55:51 hwmontempsensor[1203]: found bad device 1e78b000 Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:56:23 hwmontempsensor[1203]: error getting post status No route to host

jack206 commented 1 year ago

/var/volatile/sys_switch/sys/class/hwmon/01-01/temp1_input is CPU TEMP sysfs,when i power off cpu, i seems that dbus value not update, i restart hwmontempsensor to restore normal

here is log: Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensorc Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensorc Sep 04 01:55:51 hwmontempsensor[1203]: found bad device 1e78b000 Sep 04 01:55:51 hwmontempsensor[1203]: found bad device wb_plat_sensor Sep 04 01:56:23 hwmontempsensor[1203]: error getting post status No route to host