openbmc / phosphor-pid-control

OpenBMC PID-based Thermal Control Daemon
Apache License 2.0
16 stars 21 forks source link

Introspect failed at xyz.openbmc_project.Hwmon.external #20

Open manojdesd opened 2 years ago

manojdesd commented 2 years ago

Issue : Introspect failed at xyz.openbmc_project.Hwmon.external

Steps :

  1. Compile Phosphor-PID-control and flash the image and run the service in the machine.
  2. In journal log could see this error: phosphor-mapper[1516]: Introspect call failed with error: generic:53, Invalid request descriptor on process: xyz.openbmc_project.Hwmon.external path: /
  3. busctl tree xyz.openbmc_project.Hwmon.external command also shows object '/' missing image
  4. busctl tree for xyz.openbmc_project.State.FanCtrl image
  5. Which means only on creating the hwmon.external i am facing issue. Please help.

For your reference: The phosphor-pid-control.bbappend file contents: FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" EXTRA_OECONF_append = "--enable-configure-dbus=yes" SRC_URI_append = " file://config-bullhwmipcs.json"

SRC_URI_append = " file://fan-reboot-control.service"

FILES_${PN}_append = " ${bindir}/fan-full-speed.sh"

FILES_${PN}_append = " ${datadir}/swampd/config.json"

RDEPENDS_${PN} += "bash"

SYSTEMDSERVICE${PN}_append = " phosphor-pid-control.service"

SYSTEMDSERVICE${PN}_append = " fan-reboot-control.service"

do_install_append() { install -d ${D}${datadir}/swampd install -m 0644 -D ${WORKDIR}/config-bullhwmipcs.json ${D}${datadir}/swampd/config.json

 install -m 0644 ${WORKDIR}/phosphor-pid-control.service \
    ${D}${systemd_unitdir}/system

}

Kindly help me to solve this issue. What am I missing ?