Adding dependent service as Entity-manager to Ipmb-fru-service
Ed Tanous
edtanous at google.com
Mon Jun 21 22:20:18 AEST 2021
On Mon, Jun 21, 2021 at 3:30 AM Deepak Kodihalli <
deepak.kodihalli.83 at gmail.com> wrote:
> Hi Kumar,
>
> On Mon, Jun 21, 2021 at 3:02 PM Kumar Thangavel <thangavel.k at hcl.com>
> wrote:
> >
> > Classification: Public
> >
> > Changing classification as Public.
> >
> >
> >
> > From: Kumar Thangavel
> > Sent: Monday, June 21, 2021 2:58 PM
> > To: openbmc at lists.ozlabs.org
> > Cc: Ed Tanous <ed at tanous.net>; Patrick Williams <patrick at stwcx.xyz>;
> Velumani T-ERS,HCLTech <velumanit at hcl.com>
> > Subject: Adding dependent service as Entity-manager to Ipmb-fru-service
> >
> >
> >
> > Classification: Confidential
> >
> > Hi All,
> >
> >
> >
> > Ipmb-fru-device deamon trying to read some dbus objects from
> entity-manager to get the ipmb bus details. Entity-manager daemon initially
> taking some time to load all the dbus objects. But Ipmb-fru-device deamon
> starts at system startup.
> >
> >
> >
> > Since, Entity-manager deamon initially taking some time to
> load all the dbus objects, ipmb-fru-device getting the below error.
> >
> >
> >
> > Error :
> >
> > “ipmb-fru-device[345]: what(): sd_bus_call:
> org.freedesktop.DBus.Error.UnknownObject: Unknown object
> '/xyz/openbmc_project/inventory/system/board/Yosemite_V2_Baseboard/IpmbBus1'.”
> >
> >
> >
> > When we restart EM deamon once, this error got resolved.
> >
> >
> >
> > I tried to add EM service as dependent service to
> Ipmb-fru-device service. Added EM service in “Wants”, “After” fields in
> Ipmb-fru-service service.
> >
> >
> >
> > But, still EM deamon taking some time load all the dbus objects.
> >
> >
> >
> > So, Could you please let us know to how to add the EM as
> dependent service. Or Please let us know if any other approach.
>
> Isn't this supposed to be the other way around? A FRU daemon reads
> EEPROMs (or other means) and hosts raw FRU information on D-Bus, and
> then EM can add known D-Bus interfaces based on that. Either way, you
> may not need a dependency if you go by standard D-Bus signals
> (InterfacesAdded/PropertiesChanged).
>
This is a different case for IPMB because the IPMB FRU daemon needs some
information about which devices support IPMB before it starts to check for
SDRs, as if the device doesn't support it, we could be writing bad data
into a device on accident.
>
> Regards,
> Deepak
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20210621/6b9b0b58/attachment.htm>
More information about the openbmc
mailing list