<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 1 6 1 0 1 1 1 1 1;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:746683260;
        mso-list-type:hybrid;
        mso-list-template-ids:1347444886 -1018534136 865637696 1704367922 -744078018 -1471895998 -546286762 -2061070516 -224210562 1537788260;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\25BA;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:\25BA;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\25BA;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\25BA;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\25BA;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\25BA;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\25BA;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\25BA;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\25BA;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-TW" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">Hi Felixzhang,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">About this kind of systemd target start fail, you can use
<b>dbus-monitor</b> to check target dependency more detail.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">BTW, you can also use
<b>systemctl list-dependecies obmc-host-start@0.target</b> to get all related services.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">For example for using x86-power-control:<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">systemctl list-dependencies obmc-host-start@0.target<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">obmc-host-start@0.target (Power ON)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">-> mapper-wait@-xyz-openbmc_project-Chassis-Control-Power0.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">-> phosphor-reset-host-reboot-attempts@0.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">-> obmc-host-startmin@0.target<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">     -> mapper-wait@-xyz-openbmc_project-Chassis-Control-Power0.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">     -> obmc-enable-host-watchdog@0.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">     -> phosphor-watchdog@poweron.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">     -> obmc-chassis-poweron@0.target<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">          -> intel-power-start@0.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">          -> mapper-wait@-xyz-openbmc_project-Chassis-Control-Power0.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">          -> phosphor-fan-control-init@0.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">          -> phosphor-fan-monitor-init@0.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">          -> phosphor-fan-presence-tach@0.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">Then you should found that might some services doesn’t start normally and cause your obmc-host-tart@0.target start fail.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:ZH-TW">Tim<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> openbmc [mailto:openbmc-bounces+chli30=nuvoton.com@lists.ozlabs.org]
<b>On Behalf Of </b>zhang_cy1989<br>
<b>Sent:</b> Wednesday, December 25, 2019 7:19 PM<br>
<b>To:</b> openbmc@lists.ozlabs.org<br>
<b>Subject:</b> systemctl start obmc-host-start@0.target fail<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Dear All<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">   On ast2500+x86 platform, use the romulus bmc firmware, the detail information:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#DD4032">ID="openbmc-phosphor"</span></b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#DD4032"><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 lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">  The BMC ip: 192.168.0.1<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">  Remote Computer ip: 192.168.0.2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">  I use the ipmitool to communicate with BMC:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">ipmitool -I lanplus -H 192.168.0.1 -U root -P 0penBmc power on<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> And from the journalctl results, I found those infromations:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">......<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">-- The unit
<a href="mailto:op-wait-power-on@0.service">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">op-wait-power-on@0.service</a> has failed<br>
-- Defined-By: systemd<br>
-- Support: <a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel">
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">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">obmc-chassis-poweron@0.target</a> has failed<br>
-- Defined-By: systemd<br>
-- Support: <a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel">
https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
--<br>
-- A start job for unit <a href="mailto:obmc-chassis-poweron@0.target">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">obmc-host-startmin@0.target</a> has failed<br>
-- Defined-By: systemd<br>
-- Support: <a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel">
https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
--<br>
-- A start job for unit <a href="mailto:obmc-host-startmin@0.target">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">obmc-host-start@0.target</a> has failed<br>
-- Defined-By: systemd<br>
-- Support: <a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel">
https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
--<br>
-- A start job for unit <a href="mailto:obmc-host-start@0.target">obmc-host-start@0.target</a> has finished with a failure.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Nov 28 08:24:09 romulus systemd[1]:
<a href="mailto:obmc-host-start@0.target">obmc-host-start@0.target</a>: Job <a href="mailto:obmc-host-start@0.target">
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">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">
obmc-host-startmin@0.target</a>: Job <a href="mailto:obmc-host-startmin@0.target">
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">
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">
obmc-chassis-poweron@0.target</a>: Job <a href="mailto:obmc-chassis-poweron@0.target">
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">
obmc-chassis-poweron@0.target</a>: Triggering OnFailure= dependencies.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">......<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">I alse do the following action:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#528135">systemctl start
<a href="mailto:obmc-host-start@0.target">obmc-host-start@0.target</a> </span></b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">And alse get the similar fail result.
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">I don't how to debug this isuue.Could you give me some suggestions?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Best Regards<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Felixzhang<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<hr align="center" width="100%">
<span style="font-size:12pt;line-height:0.7;font-family: 'Arial'; color:#808080">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>
</body>
</html>