<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<style>
font{
line-height: 1.6;
}
ul,ol{
padding-left: 20px;
list-style-position: inside;
}
</style>
<div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif;font-size:14px; line-height:1.6;">
<div><div>
<div>
<span>
<br>
</span>
</div>
<div>
<span>
<br>
</span>
</div>
<div id="ntes-pcmac-signature" style="font-family:'微软雅黑'">
<div style="font-size:14px; padding: 0; margin:0;">
</div>
</div>
</div></div><div class="J-reply ntes-mailmaster-quote" style="padding-top: 1px; padding-bottom: 1px">
<div style="
margin-top: 2em;
margin-bottom: 1em;
font-size: 14px;
line-height: 1.25;
color: #78787a;
">
---- Replied Message ----
</div>
<div style="
margin-bottom: 1em;
font-size: 12px;
line-height: 1.25;
color: #232324;
padding: 0.5em 0.25em;
border-radius: 0.67em;
background-color: #f0f0f0;
">
<table width="100%" cellpadding="0" cellspacing="9" border="0">
<tbody><tr class="firstRow">
<td valign="top" style="
width: 4.25em;
font-size: 12px;
line-height: 1.25;
color: #78787a;
">
From
</td>
<td valign="top" style="
font-size: 12px;
line-height: 1.25;
color: #232324;
word-break: break-all;
">
<a class="mail-from" style="color: #3061f2; text-decoration: none" href="mailto:cld795@163.com">Landon<cld795@163.com>
</a>
</td>
</tr>
<tr>
<td valign="top" style="
width: 4.25em;
font-size: 12px;
line-height: 1.25;
color: #78787a;
">
Date
</td>
<td class="mail-date" valign="top" style="
font-size: 12px;
line-height: 1.25;
color: #232324;
word-break: break-all;
">
6/14/2022 09:58
</td>
</tr>
<tr>
<td valign="top" style="
width: 4.25em;
font-size: 12px;
line-height: 1.25;
color: #78787a;
">
To
</td>
<td valign="top" style="
font-size: 12px;
line-height: 1.25;
color: #232324;
word-break: break-all;
">
<a class="mail-to" style="color: #3061f2; text-decoration: none" href="mailto:patrick@stwcx.xyz">
patrick@stwcx.xyz<patrick@stwcx.xyz>
,<br>
</a>
<a class="mail-to" style="color: #3061f2; text-decoration: none" href="mailto:jason.m.bills@linux.intel.com">
jason.m.bills@linux.intel.com<jason.m.bills@linux.intel.com>
,<br>
</a>
<a class="mail-to" style="color: #3061f2; text-decoration: none" href="mailto:openbmc@lists.ozlabs.org">
openbmc@lists.ozlabs.org<openbmc@lists.ozlabs.org>
</a>
</td>
</tr>
<tr>
<td valign="top" style="
width: 4.25em;
font-size: 12px;
line-height: 1.25;
color: #78787a;
">
Subject
</td>
<td class="mail-subject" valign="top" style="
font-size: 12px;
line-height: 1.25;
color: #232324;
word-break: break-all;
">
OpenBMC state manager problem
</td>
</tr>
</tbody></table>
</div>
<div id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 14px; font-family: '微软雅黑';"><div class="J-reply ntes-mailmaster-quote" style="padding-top: 1px; padding-bottom: 1px"><div style="
margin-bottom: 1em;
font-size: 12px;
line-height: 1.25;
color: #232324;
padding: 0.5em 0.25em;
border-radius: 0.67em;
background-color: #f0f0f0;
"><br>
</div>
<div id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 14px; font-family: '微软雅黑';"><div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif;font-size:14px; line-height:1.6;">
<div></div><span style="font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 1.6;">hello~</span><div><div style="color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; word-break: break-word !important;">now I use aspeed ast2600 openbmc.</div><div style="color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; word-break: break-word !important;"><span style="color: rgb(51, 51, 51); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; line-height: 26px; text-align: justify; widows: auto; word-break: break-word !important; background-color: rgb(247, 248, 250);">At first, I set pwer state command: but failed!</span><br style="word-break: break-word !important;"></div><div style="color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; word-break: break-word !important;"><span style="white-space: pre-wrap; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; font-variant-ligatures: normal; orphans: 2; widows: 2; color: rgb(0, 97, 255); word-break: break-word !important; background-color: rgb(255, 255, 255);">root@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</span></div><div style="color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; word-break: break-word !important;"><span style="white-space: pre-wrap; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; font-variant-ligatures: normal; orphans: 2; widows: 2; color: rgb(0, 97, 255); word-break: break-word !important; background-color: rgb(255, 255, 255);">root@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</span></div></div><div style="color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; word-break: break-word !important;"><span style="white-space: pre-wrap; word-break: break-word !important; color: rgb(185, 187, 190); font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(47, 49, 54);"><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;">so I modify the "\meta-aspeed-sdk\meta-ast2600-sdk\conf\machine\ast2600-emmc.conf", remove the <span style="line-height: 22.4px; word-break: break-word !important;">"x86-power-control"... :</span></div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;">PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-aspeed-obmc"<br style="word-break: break-word !important;">PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"</div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;"><span style="color: rgb(255, 67, 18); word-break: break-word !important;"># I remove the 2 lines :<br style="word-break: break-word !important;">#VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"<br style="word-break: break-word !important;">#VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"</span><br style="word-break: break-word !important;">EXTRA_IMAGEDEPENDS:append = "\<br style="word-break: break-word !important;"> aspeed-image-recoveryuart \<br style="word-break: break-word !important;"> aspeed-image-emmcboot \</div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;"><br style="word-break: break-word !important;"></div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;">After, <span style="color: rgb(51, 51, 51); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; line-height: 26px; text-align: justify; word-break: break-word !important; background-color: rgb(247, 248, 250);">I set pwer state command OK :</span></div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;"><span style="white-space: pre-wrap; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; line-height: 22.4px; orphans: 2; widows: 2; color: rgb(0, 97, 255); word-break: break-word !important;">root@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@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"</span></div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;">but, after I update openbmc for the lastest the version, it can't enter the system :</div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;">[ 8.025630] systemd[1]: Hostname set to .<br>[ 8.034897] systemd[1]: Initializing machine ID from random generator.<br>[ 8.182435] systemd-sysv-generator[179]: SysV service '/etc/init.d/bmc-watchdog' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.<br>[ 8.210534] systemd-sysv-generator[179]: SysV service '/etc/init.d/ipmidetectd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.<br>[ 8.238552] systemd-sysv-generator[179]: SysV service '/etc/init.d/ipmiseld' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.<br>[ 8.783127] systemd[1]: Failed to put bus name to hashmap: File exists<br>[ 8.790587] systemd[1]: <a data-auto-link="1" href="mailto:xyz.openbmc_project.State.Host@0.service">xyz.openbmc_project.State.Host@0.service</a>: Two services allocated for the same bus name xyz.openbmc_project.State.Host0, refusing operation.<br>[ 9.136389] systemd[1]: /lib/systemd/system/host-poweron.service:3: Failed to add dependency on <a data-auto-link="1" href="mailto:obmc-chassis-poweroff@0.target.requires">obmc-chassis-poweroff@0.target.requires</a>, ignoring: Invalid argument<br>[ 9.155891] systemd[1]: /lib/systemd/system/host-reset.service:3: Failed to add dependency on <a data-auto-link="1" href="mailto:obmc-chassis-poweroff@0.target.requires">obmc-chassis-poweroff@0.target.requires</a>, ignoring: Invalid argument<br>[ 9.689673] systemd[1]: /lib/systemd/system/phosphor-ipmi-net@.socket:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device<br>[ 9.711232] systemd[1]: /lib/systemd/system/phosphor-ipmi-net@.socket:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device<br><span style="color: rgb(255, 67, 18);">[ 9.770316] systemd[1]: Failed to isolate default target: Unit <a data-auto-link="1" href="mailto:xyz.openbmc_project.State.Host@0.service">xyz.openbmc_project.State.Host@0.service</a> failed to load properly, please adjust/correct and reload service manager: File exists<br>[!!!!!!] Failed to isolate default target.</span><br>[ 9.954507] systemd[1]: Freezing execution.<br>[ 35.674323] SDHCI0 Vcc: disabling<br>[ 35.678049] SDHCI1 Vcc: disabling<br>[ 35.681750] SDHCI1 VccQ: disabling</div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;"><br></div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;"><div style="line-height: 22.4px; word-break: break-word !important;">and I open the 2 lines :</div><div style="line-height: 22.4px; word-break: break-word !important;"><span style="color: rgb(255, 67, 18); line-height: 22.4px; word-break: break-word !important;">VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"</span><br style="color: rgb(255, 67, 18); line-height: 22.4px; word-break: break-word !important;"><span style="color: rgb(255, 67, 18); line-height: 22.4px; word-break: break-word !important;">VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"</span></div><div style="line-height: 22.4px; word-break: break-word !important;"><span style="color: rgb(51, 51, 51); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; line-height: 26px; text-align: justify; widows: auto; word-break: break-word !important; background-color: rgb(247, 248, 250);">the system is OK.</span></div><div style="line-height: 22.4px; word-break: break-word !important;"><span style="color: rgb(51, 51, 51); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; line-height: 26px; text-align: justify; widows: auto; word-break: break-word !important; background-color: rgb(247, 248, 250);">b<span style="widows: auto; color: rgb(16, 5, 62); word-break: break-word !important;">ut, th</span>e </span><span style="color: rgb(255, 67, 18); line-height: 22.4px; word-break: break-word !important;">"x86-power-control"</span><span style="color: rgb(51, 51, 51); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; line-height: 26px; text-align: justify; word-break: break-word !important; background-color: rgb(247, 248, 250);"> is disable, I set pwer state command is failed !</span></div><div style="line-height: 22.4px; word-break: break-word !important;"><span style="color: rgb(51, 51, 51); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; line-height: 26px; text-align: justify; word-break: break-word !important; background-color: rgb(247, 248, 250);"></span><span style="color: rgb(0, 97, 255);"><span style="white-space: pre-wrap; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; line-height: 22.4px; orphans: 2; widows: 2; word-break: break-word !important;">root@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"</span><span style="font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; line-height: 26px; text-align: justify; word-break: break-word !important; background-color: rgb(247, 248, 250);"><br style="word-break: break-word !important;"></span></span></div><span style="white-space: pre-wrap; line-height: 22.4px; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; orphans: 2; widows: 2; color: rgb(0, 97, 255); word-break: break-word !important;">Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable </span></div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;"><span style="white-space: pre-wrap; line-height: 22.4px; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; orphans: 2; widows: 2; color: rgb(0, 97, 255); word-break: break-word !important;">root@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" </span></div><div style="white-space: normal; color: rgb(49, 53, 59); font-family: 微软雅黑, Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px; orphans: auto; widows: 1; word-break: break-word !important;"><span style="white-space: pre-wrap; line-height: 22.4px; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; orphans: 2; widows: 2; color: rgb(0, 97, 255); word-break: break-word !important;">Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable</span><div style="line-height: 22.4px; word-break: break-word !important;"><span style="color: rgb(51, 51, 51); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; line-height: 26px; text-align: justify; word-break: break-word !important; background-color: rgb(247, 248, 250);">so how to solve the problem for the set pwer state command ?</span></div><div style="line-height: 22.4px; word-break: break-word !important;"><span style="color: rgb(51, 51, 51); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; line-height: 26px; text-align: justify; widows: auto; word-break: break-word !important; background-color: rgb(247, 248, 250);">Thank you very much !</span></div></div></span></div>
</div></div>
</div></div>
</div>
<!--😀-->
</div>
</body>
</html>