Cannot load the provider of dynamic sensors
jannyau opened this issue · 8 comments
Versions:
openbmc: 18caa97591
phosphor-host-ipmid: 68e8294
Platforms:
QEMU ast2600-evb & ast2500-evb
Description:
Enable the dynamic-sensors option in phosphor-ipmi-host_git.bbappend:
PACKAGECONFIG:append = " dynamic-sensors"
and then build the code. It successfully created libdynamiccmds.so.1 under the IPMI provider folder. However, the library couldn't be loaded during ipmid start-up. Then, because the SDR commands in this library were not registered and the default ones were disabled by this option, all the SDR commands became invaild.
I also encountered this problem. Have you solved it now?
Has this problem been solved?
diff --git a/dbus-sdr/meson.build b/dbus-sdr/meson.build
index bfdbde1..67af6de 100644
--- a/dbus-sdr/meson.build
+++ b/dbus-sdr/meson.build
@@ -19,5 +19,6 @@ dbus_sdr_pre = declare_dependency(
dbus_sdr_src = [
'dbus-sdr/sdrutils.cpp',
'dbus-sdr/sensorcommands.cpp',
- 'dbus-sdr/storagecommands.cpp'
- 'dbus-sdr/storagecommands.cpp',
- 'entity_map_json.cpp'
]
These revisions could solve this problem。