Check on bypass phosphor-discover-system-state at .service if BMC not boot from A/C

Andrew Geissler geissonator at gmail.com
Sat Feb 19 03:14:33 AEDT 2022



> On Feb 18, 2022, at 1:36 AM, Thang Nguyen OS <thang at amperemail.onmicrosoft.com> wrote:
< snip>
> # busctl get-property xyz.openbmc_project.State.BMC /xyz/openbmc_project/state/bmc0 xyz.openbmc_project.State.BMC LastRebootCause
> 
> s "xyz.openbmc_project.State.BMC.RebootCause.POR"
> 
> I would like to check if you have any idea on how to use the above information to prevent the power restore policy executed in case of BMC reboot.
> 
Sounds a lot like what I’m doing in https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/50706. IBM has a requirement to not
start power restore policy when the system is reset due to a pinhole reset. I imagine you could just add a check like mine for yours as well.

> 
> 
> Thanks,
> 
> Thang Q. Nguyen 
> 



More information about the openbmc mailing list