<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 21, 2021 at 3:30 AM Deepak Kodihalli <<a href="mailto:deepak.kodihalli.83@gmail.com">deepak.kodihalli.83@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Kumar,<br>
<br>
On Mon, Jun 21, 2021 at 3:02 PM Kumar Thangavel <<a href="mailto:thangavel.k@hcl.com" target="_blank">thangavel.k@hcl.com</a>> wrote:<br>
><br>
> Classification: Public<br>
><br>
> Changing classification as Public.<br>
><br>
><br>
><br>
> From: Kumar Thangavel<br>
> Sent: Monday, June 21, 2021 2:58 PM<br>
> To: <a href="mailto:openbmc@lists.ozlabs.org" target="_blank">openbmc@lists.ozlabs.org</a><br>
> Cc: Ed Tanous <<a href="mailto:ed@tanous.net" target="_blank">ed@tanous.net</a>>; Patrick Williams <<a href="mailto:patrick@stwcx.xyz" target="_blank">patrick@stwcx.xyz</a>>; Velumani T-ERS,HCLTech <<a href="mailto:velumanit@hcl.com" target="_blank">velumanit@hcl.com</a>><br>
> Subject: Adding dependent service as Entity-manager to Ipmb-fru-service<br>
><br>
><br>
><br>
> Classification: Confidential<br>
><br>
> Hi All,<br>
><br>
><br>
><br>
>            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.<br>
><br>
><br>
><br>
>            Since, Entity-manager deamon initially taking some time to load all the dbus objects, ipmb-fru-device getting the below error.<br>
><br>
><br>
><br>
>           Error :<br>
><br>
>           “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'.”<br>
><br>
><br>
><br>
>          When we restart EM deamon once, this error got resolved.<br>
><br>
><br>
><br>
>          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.<br>
><br>
><br>
><br>
>          But, still EM deamon taking some time load all the dbus objects.<br>
><br>
><br>
><br>
>          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.<br>
<br>
Isn't this supposed to be the other way around? A FRU daemon reads<br>
EEPROMs (or other means) and hosts raw FRU information on D-Bus, and<br>
then EM can add known D-Bus interfaces based on that. Either way, you<br>
may not need a dependency if you go by standard D-Bus signals<br>
(InterfacesAdded/PropertiesChanged).<br></blockquote><div><br></div><div>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.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Regards,<br>
Deepak<br>
</blockquote></div></div>