OpenBMC state manager problem
Landon
cld795 at 163.com
Mon Jun 13 17:49:39 AEST 2022
hello~
now I use aspeed ast2600 openbmc.
At first, I set pwer state command: but failed!
root at ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable root at ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable
so I modify the "\meta-aspeed-sdk\meta-ast2600-sdk\conf\machine\ast2600-emmc.conf", remove the "x86-power-control"... :
PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-aspeed-obmc"
PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"
# I remove the 2 lines :
#VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"
#VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
EXTRA_IMAGEDEPENDS:append = "\
aspeed-image-recoveryuart \
aspeed-image-emmcboot \
After, I set pwer state command OK :
root at ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" root at ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running"
but, after I update openbmc for the lastest the version, it can't enter the system.
and I open the 2 lines :
VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"
VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
the system is OK.
but, the "x86-power-control" is disable, I set pwer state command is failed !
root at ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off"
Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable root at ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable
so how to solve the problem for the set pwer state command ?
Thank you very much !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220613/b0a4f1a7/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ECB5178C-A5CB-49DF-8700-240B3D4ADA34.png
Type: image/png
Size: 74026 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220613/b0a4f1a7/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D516BB7B-1C02-4D0C-A7B7-6C6EBD032EDB.png
Type: image/png
Size: 315630 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220613/b0a4f1a7/attachment-0003.png>
More information about the openbmc
mailing list