<div dir="ltr">Hi all:<div>    Thanks for your sharing and that's really helpful. I still have a question for chassis power on/off.  I add service to run poweron shell while obmc-host-start@t0.target triggered and run poweroff shell while obms-host-shutdown@0.target triggered. After issuing chassis power on command, my platform can power on system but power off after few seconds. I check journalctl as below:</div>Jan 06 11:05:39   systemd[1]: Starting Start Watchdog0...<br>Jan 06 11:05:39   systemd[1]: Starting Assert bmc_booted LED...<br>Jan 06 11:05:39   phosphor-watchdog[352]: watchdog: enabled and started<br>Jan 06 11:05:39   phosphor-ledmanager[222]: [[0;1;31m[[0;1;39m[[0;1;31mNo service providers for physical LED[[0m<br>Jan 06 11:05:39   systemd[1]: Started Start Watchdog0.<br>Jan 06 11:05:39   systemd[1]: Started Assert bmc_booted LED.<br>Jan 06 11:05:39   systemd[1]: Reached target Start Host0 Minimum.<br>Jan 06 11:05:39   systemd[1]: Reached target Start Host0.<br>Jan 06 11:05:39   systemd[1]: Startup finished in 4.527s (kernel) + 1min 32.169s (userspace) = 1min 36.697s.<br>Jan 06 11:05:39   phosphor-host-state-manager[315]: Received signal that host is running<br>Jan 06 11:05:39   phosphor-host-state-manager[315]: Change to Host State<br>Jan 06 11:05:39   phosphor-timemanager[320]: Changing time settings is *deferred* now<br>Jan 06 11:06:09   phosphor-watchdog[352]: watchdog: Timed out<br>Jan 06 11:06:09   systemd[1]: unit_file_find_fragment: obmc-host-timeout@.target+0 → obmc-host-timeout@0.target<br>Jan 06 11:06:09   phosphor-watchdog[352]: watchdog: disabled<br>Jan 06 11:06:09   systemd[1]: Reached target Quiesce Target.<br>Jan 06 11:06:09   systemd[1]: Reached target Host instance 0 timed out refreshing Watchdog.<br>Jan 06 11:06:09   systemd[1]: Stopping Phosphor poweron watchdog...<br>Jan 06 11:06:09   systemd[1]: phosphor-watchdog@poweron.service: Succeeded.<br>Jan 06 11:06:09   systemd[1]: Stopped Phosphor poweron watchdog.<br>Jan 06 11:06:09   phosphor-host-state-manager[315]: Auto reboot enabled, rebooting<br>Jan 06 11:06:09   phosphor-host-state-manager[315]: Beginning reboot...<br>Jan 06 11:06:09   phosphor-host-state-manager[315]: Host State transaction request<br>Jan 06 11:06:09   systemd[1]: unit_file_find_fragment: obmc-host-reboot@.target+0 → obmc-host-reboot@0.target<br>Jan 06 11:06:09   systemd[1]: unit_file_find_fragment: obmc-host-shutdown@.target+0 → obmc-host-shutdown@0.target<br>Jan 06 11:06:09   systemd[1]: unit_file_find_fragment: obmc-host-stopping@.target+0 → obmc-host-stopping@0.target<br>Jan 06 11:06:09   systemd[1]: unit_file_find_fragment: obmc-host-stopped@.target+0 → obmc-host-stopped@0.target<br>Jan 06 11:06:09   systemd[1]: unit_file_find_fragment: obmc-power-stop-pre@.target+0 → obmc-power-stop-pre@0.target<br>Jan 06 11:06:09   systemd[1]: unit_file_find_fragment: obmc-host-stop-pre@.target+0 → obmc-host-stop-pre@0.target<br>Jan 06 11:06:09   systemd[1]: Created slice system-phosphor\x2dreboot\x2dhost.slice.<br>Jan 06 11:06:09   systemd[1]: Reached target Chassis0 (Power Off).<br>Jan 06 11:06:09   systemd[1]: Stopped target Start Host0.<br>Jan 06 11:06:09   systemd[1]: Stopped target Start Host0 Minimum.<br>Jan 06 11:06:09   systemd[1]: Reached target Stop Host0 (Pre).<br>Jan 06 11:06:09   systemd[1]: Stopped target Host instance 0 timed out refreshing Watchdog.<br>Jan 06 11:06:09   systemd[1]: Stopped target Quiesce Target.<br>Jan 06 11:06:09   systemd[1]: Starting Configure GPIOs for Host Power Control...<br>Jan 06 11:06:09   systemd[1]: Starting Wait for /org/openbmc/HostIpmi/1...<br>Jan 06 11:06:09   systemd[1]: Started Reboot host0.<br>Jan 06 11:06:09   init_once.sh[404]: init_once.sh<br>Jan 06 11:06:09   phosphor-chassis-state-manager[290]: Received signal that power OFF is complete<br>Jan 06 11:06:09   phosphor-chassis-state-manager[290]: Change to Chassis Power State<br>Jan 06 11:06:09   systemd[1]: Started Configure GPIOs for Host Power Control.<br>Jan 06 11:06:09   systemd[1]: Starting Stop Host...<br><div>Jan 06 11:06:09   poweroff.sh[408]: out -> poweroff</div><div><br></div><div>The power on process suspended by phosphor-watchdog timeout. I have no idea to clear watchdog timer. Could you provide any suggestion for this situation? Thanks.</div><div><br></div><div>Tyler.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">zhang_cy1989 <<a href="mailto:zhang_cy1989@163.com">zhang_cy1989@163.com</a>> 於 2019年12月26日 週四 上午11:11寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div>Dear Tim</div><div>  Thanks a milion.</div><div>  The infromation is very useful for me.</div><div><br></div><div>  Thank you again for your prompt reply.<br></div><div>  <br></div><div>  Best Regards</div><div><br></div><div>Felix<br></div>在 2019-12-26 10:32:54,"CS20 CHLi30" <<a href="mailto:CHLI30@nuvoton.com" target="_blank">CHLI30@nuvoton.com</a>> 写道:<blockquote id="gmail-m_-4363428767718468764isReplyContent" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)">






<div>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Hi Felixzhang,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Yes, you can using op-power-control on X86 motherboard for sure.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Example about using op-power-control:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">systemctl list-dependencies
<a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">obmc-host-start@0.target (Power ON)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">-> mapper-wait@-org-openbmc-control-chassis0.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">-> phosphor-reset-host-reboot-attempts@0.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">-> obmc-host-startmin@0.target<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">     -> mapper-wait@-org-openbmc-control-chassis0.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">     -> obmc-enable-host-watchdog@0.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">     -> phosphor-watchdog@poweron.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">     -> obmc-chassis-poweron@0.target<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          -> op-power-start@0.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          -> mapper-wait@-xyz-openbmc_project-state-chassis0.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          -> phosphor-fan-control-init@0.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          -> phosphor-fan-monitor-init@0.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          -> phosphor-fan-presence-tach@0.service<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">BTW, here is the list about the sequence of
<a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a> for you refer it.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">When you presss Power ON button from WebUI the state RequestedHostTransition change to ON, what happens behind that is done by systemd
 units, roughly described as below:<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:18pt">
<span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>1.<span style="font:7pt "Times New Roman"">     
</span></span></span><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Host state manager starts
<u>obmc-host-start@0.target</u><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:18pt">
<span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>2.<span style="font:7pt "Times New Roman"">     
</span></span></span><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">The above target requires
<u>obmc-host-startmin@0.target</u><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:18pt">
<span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>3.<span style="font:7pt "Times New Roman"">     
</span></span></span><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">The above target requires
<u>obmc-chassis-poweron@0.target</u> and <u>start_host@0.service</u><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:18pt">
<span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>4.<span style="font:7pt "Times New Roman"">     
</span></span></span><u><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">obmc-chassis-poweron@0.target</span></u><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">
 requires <u>op-power-start@0.service</u> and <u>op-wait-power-on@0.service</u><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:18pt">
<span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>5.<span style="font:7pt "Times New Roman"">     
</span></span></span><u><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">op-power-start@0.service</span></u><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">
 is to call the PowerControl service to DC on. And <u>op-wait-power-on@0.service</u> is to wait for PGood after DC on.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:18pt">
<span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>6.<span style="font:7pt "Times New Roman"">     
</span></span></span><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">After that (DC is on and PGood is OK),
<u>start_host@0.service</u> is to start the host CPU.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Tim<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US"> zhang_cy1989 [mailto:<a href="mailto:zhang_cy1989@163.com" target="_blank">zhang_cy1989@163.com</a>]
<br>
<b>Sent:</b> Thursday, December 26, 2019 10:22 AM<br>
<b>To:</b> CS20 CHLi30 <<a href="mailto:CHLI30@nuvoton.com" target="_blank">CHLI30@nuvoton.com</a>><br>
<b>Cc:</b> <a href="mailto:openbmc@lists.ozlabs.org" target="_blank">openbmc@lists.ozlabs.org</a><br>
<b>Subject:</b> Re:RE: systemctl start obmc-host-start@0.target fail<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">Dear,Tim<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">   Thank you for guidance.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">   I will study the dbus-monitor and the dependencies of
<a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a>.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> </span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(51,51,51);background:rgb(224,224,224)" lang="EN-US">@CS20 CHLi30</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">  I need ask you another advice.
<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> 
<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">  I use the romulus recipes to build BMC firmware. And use this fw to the X86 motherboard + AST2500.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">  The romulus is base on openpower. And my platform is X86 motherboard.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> 
</span><b><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(221,64,50)" lang="EN-US">Is it feasible that using romulus BMC firmware to X86 motherboard, specially the power control part?</span></b><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">  Would you have better suggestion?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">  Looking forward to your replay.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> Best Regards<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> Felixzhang<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u> <u></u></span></p>
<p><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">At 2019-12-26 09:34:09, "CS20 CHLi30" <<a href="mailto:CHLI30@nuvoton.com" target="_blank">CHLI30@nuvoton.com</a>> wrote:<u></u><u></u></span></p>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm" id="gmail-m_-4363428767718468764isReplyContent">
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Hi Felixzhang,</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">About this kind of systemd target start fail, you can use
<b>dbus-monitor</b> to check target dependency more detail.</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">BTW, you can also use
<b>systemctl list-dependecies <a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a></b> to get all related services.</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">For example for using x86-power-control:</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">systemctl list-dependencies
<a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a></span></b><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a>
 (Power ON)</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">->
<a href="mailto:mapper-wait@-xyz-openbmc_project-Chassis-Control-Power0.service" target="_blank">
mapper-wait@-xyz-openbmc_project-Chassis-Control-Power0.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">->
<a href="mailto:phosphor-reset-host-reboot-attempts@0.service" target="_blank">phosphor-reset-host-reboot-attempts@0.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">->
<a href="mailto:obmc-host-startmin@0.target" target="_blank">obmc-host-startmin@0.target</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">     ->
<a href="mailto:mapper-wait@-xyz-openbmc_project-Chassis-Control-Power0.service" target="_blank">
mapper-wait@-xyz-openbmc_project-Chassis-Control-Power0.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">     ->
<a href="mailto:obmc-enable-host-watchdog@0.service" target="_blank">obmc-enable-host-watchdog@0.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">     ->
<a href="mailto:phosphor-watchdog@poweron.service" target="_blank">phosphor-watchdog@poweron.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">     ->
<a href="mailto:obmc-chassis-poweron@0.target" target="_blank">obmc-chassis-poweron@0.target</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          ->
<a href="mailto:intel-power-start@0.service" target="_blank">intel-power-start@0.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          ->
<a href="mailto:mapper-wait@-xyz-openbmc_project-Chassis-Control-Power0.service" target="_blank">
mapper-wait@-xyz-openbmc_project-Chassis-Control-Power0.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          ->
<a href="mailto:phosphor-fan-control-init@0.service" target="_blank">phosphor-fan-control-init@0.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          ->
<a href="mailto:phosphor-fan-monitor-init@0.service" target="_blank">phosphor-fan-monitor-init@0.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">          ->
<a href="mailto:phosphor-fan-presence-tach@0.service" target="_blank">phosphor-fan-presence-tach@0.service</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Then you should found that might some services doesn’t start
 normally and cause your <a href="mailto:obmc-host-tart@0.target" target="_blank">obmc-host-tart@0.target</a> start fail.</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Best regards,</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Tim</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif;color:black" lang="EN-US">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif;color:black" lang="EN-US">
 openbmc [<a href="mailto:openbmc-bounces+chli30=nuvoton.com@lists.ozlabs.org" target="_blank">mailto:openbmc-bounces+chli30=nuvoton.com@lists.ozlabs.org</a>]
<b>On Behalf Of </b>zhang_cy1989<br>
<b>Sent:</b> Wednesday, December 25, 2019 7:19 PM<br>
<b>To:</b> <a href="mailto:openbmc@lists.ozlabs.org" target="_blank">openbmc@lists.ozlabs.org</a><br>
<b>Subject:</b> systemctl start <a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a> fail</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
<div>
<p><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">Dear All<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">   On ast2500+x86 platform, use the romulus bmc firmware, the detail information:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(221,64,50)" lang="EN-US">ID="openbmc-phosphor"</span></b><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(221,64,50)" lang="EN-US"><br>
<b>NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"</b><br>
<b>VERSION="2.7.0-0"</b><br>
<b>VERSION_ID="2.7.0-0-gcb91a7773-dirty"</b><br>
<b>PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) 2.7.0-0"</b><br>
<b>BUILD_ID="2.7.0"</b><br>
<b>OPENBMC_TARGET_MACHINE="romulus"</b></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">  The BMC ip: 192.168.0.1<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">  Remote Computer ip: 192.168.0.2<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">  I use the ipmitool to communicate with BMC:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">ipmitool -I lanplus -H 192.168.0.1 -U root -P 0penBmc power on<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> And from the journalctl results, I found those infromations:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">......<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">-- The unit
<a href="mailto:op-wait-power-on@0.service" target="_blank">op-wait-power-on@0.service</a> has entered the 'failed' state with result 'timeout'.<br>
Nov 28 07:55:47 romulus systemd[1]: Failed to start Wait for Power0 to turn on.<br>
-- Subject: A start job for unit <a href="mailto:op-wait-power-on@0.service" target="_blank">op-wait-power-on@0.service</a> has failed<br>
-- Defined-By: systemd<br>
-- Support: <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_systemd-2Ddevel&d=DwMGbg&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=_vvS1tH9U_15yp1--_mdcWxVamV74LY4Xz5Zy4-7UIo&m=EhLiDsjPMBS98eeZEQG2UAHMPrvbvGb_OublwmQy2uc&s=UO9vddeGuzrgEFSgZkdgqCUEsjWHcXBofqYYlHxCNkM&e=" target="_blank">
https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
--<br>
-- A start job for unit <a href="mailto:op-wait-power-on@0.service" target="_blank">op-wait-power-on@0.service</a> has finished with a failure.<br>
--<br>
-- The job identifier is 906 and the job result is failed.<br>
Nov 28 07:55:47 romulus systemd[1]: Dependency failed for Chassis0 (Power On).<br>
-- Subject: A start job for unit <a href="mailto:obmc-chassis-poweron@0.target" target="_blank">obmc-chassis-poweron@0.target</a> has failed<br>
-- Defined-By: systemd<br>
-- Support: <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_systemd-2Ddevel&d=DwMGbg&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=_vvS1tH9U_15yp1--_mdcWxVamV74LY4Xz5Zy4-7UIo&m=EhLiDsjPMBS98eeZEQG2UAHMPrvbvGb_OublwmQy2uc&s=UO9vddeGuzrgEFSgZkdgqCUEsjWHcXBofqYYlHxCNkM&e=" target="_blank">
https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
--<br>
-- A start job for unit <a href="mailto:obmc-chassis-poweron@0.target" target="_blank">obmc-chassis-poweron@0.target</a> has finished with a failure.<br>
--<br>
-- The job identifier is 886 and the job result is dependency.<br>
Nov 28 07:55:47 romulus systemd[1]: Dependency failed for Start Host0 Minimum.<br>
-- Subject: A start job for unit <a href="mailto:obmc-host-startmin@0.target" target="_blank">obmc-host-startmin@0.target</a> has failed<br>
-- Defined-By: systemd<br>
-- Support: <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_systemd-2Ddevel&d=DwMGbg&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=_vvS1tH9U_15yp1--_mdcWxVamV74LY4Xz5Zy4-7UIo&m=EhLiDsjPMBS98eeZEQG2UAHMPrvbvGb_OublwmQy2uc&s=UO9vddeGuzrgEFSgZkdgqCUEsjWHcXBofqYYlHxCNkM&e=" target="_blank">
https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
--<br>
-- A start job for unit <a href="mailto:obmc-host-startmin@0.target" target="_blank">obmc-host-startmin@0.target</a> has finished with a failure.<br>
--<br>
-- The job identifier is 752 and the job result is dependency.<br>
Nov 28 07:55:47 romulus systemd[1]: Dependency failed for Start Host0.<br>
-- Subject: A start job for unit <a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a> has failed<br>
-- Defined-By: systemd<br>
-- Support: <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_systemd-2Ddevel&d=DwMGbg&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=_vvS1tH9U_15yp1--_mdcWxVamV74LY4Xz5Zy4-7UIo&m=EhLiDsjPMBS98eeZEQG2UAHMPrvbvGb_OublwmQy2uc&s=UO9vddeGuzrgEFSgZkdgqCUEsjWHcXBofqYYlHxCNkM&e=" target="_blank">
https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
--<br>
-- A start job for unit <a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a> has finished with a failure.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">Nov 28 08:24:09 romulus systemd[1]:
<a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a>: Job <a href="mailto:obmc-host-start@0.target" target="_blank">
obmc-host-start@0.target</a>/start failed with result 'dependency'.<br>
Nov 28 08:24:09 romulus systemd[1]: <a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a>: Triggering OnFailure= dependencies.<br>
Nov 28 08:24:10 romulus systemd[1]: <a href="mailto:obmc-host-startmin@0.target" target="_blank">
obmc-host-startmin@0.target</a>: Job <a href="mailto:obmc-host-startmin@0.target" target="_blank">
obmc-host-startmin@0.target</a>/start failed with result 'dependency'.<br>
Nov 28 08:24:10 romulus systemd[1]: <a href="mailto:obmc-host-startmin@0.target" target="_blank">
obmc-host-startmin@0.target</a>: Triggering OnFailure= dependencies.<br>
Nov 28 08:24:10 romulus systemd[1]: <a href="mailto:obmc-chassis-poweron@0.target" target="_blank">
obmc-chassis-poweron@0.target</a>: Job <a href="mailto:obmc-chassis-poweron@0.target" target="_blank">
obmc-chassis-poweron@0.target</a>/start failed with result 'dependency'.<br>
Nov 28 08:24:10 romulus systemd[1]: <a href="mailto:obmc-chassis-poweron@0.target" target="_blank">
obmc-chassis-poweron@0.target</a>: Triggering OnFailure= dependencies.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">......<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">I alse do the following action:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(82,129,53)" lang="EN-US">systemctl start
<a href="mailto:obmc-host-start@0.target" target="_blank">obmc-host-start@0.target</a> </span></b><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">And alse get the similar fail result.
<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">I don't how to debug this isuue.Could you give me some suggestions?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">Best Regards<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">Felixzhang<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
<p><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"> <u></u><u></u></span></p>
</div>
<div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US">
<hr width="100%" size="2" align="center">
</span></div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:gray" lang="EN-US">The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are
 not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation
 is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by
 Nuvoton. </span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black" lang="EN-US"><u></u><u></u></span></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-bottom:12pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<hr width="100%" align="center">
<span style="font-size:12pt;line-height:0.7;font-family:Arial;color:rgb(128,128,128)">The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the
 addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly
 appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
</span>


</blockquote></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div>