<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Stanley,</p>
<p>Could you tell:</p>
<p>-- The o/p of "systemctl status <span lang="EN-US"><a class="moz-txt-link-abbreviated" href="mailto:obmc-led-group-start@bmc_booted.service">obmc-led-group-start@bmc_booted.service</a>"</span></p>
<p><span lang="EN-US">-- Properties of </span><span lang="EN-US">/xyz/openbmc_project/led/groups/bmc_booted</span></p>
<p><span lang="EN-US">-- properties of
xyz/openbmc_project/led/physical/heartbeat ?</span></p>
<p><span lang="EN-US">!! Vishwa !!<br>
</span></p>
<div class="moz-cite-prefix">On 7/15/19 1:57 PM, CS20 YSChu wrote:<br>
</div>
<blockquote type="cite"
cite="mid:HK2PR03MB451678ECD01E44B509753895B6CF0@HK2PR03MB4516.apcprd03.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@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 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></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]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In normal case, we will
see bmc_booted LED group been asserted when bmc starts up.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Apr 08 04:56:30
evb-npcm750 systemd[1]: Starting Wait for
/xyz/openbmc_project/led/groups/bmc_booted...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Apr 08 04:56:31
evb-npcm750 systemd[1]: Started Wait for
/xyz/openbmc_project/led/groups/bmc_booted.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Apr 08 04:56:35
evb-npcm750 systemd[1]: Starting Assert bmc_booted LED...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Apr 08 04:56:35
evb-npcm750 systemd[1]: Started Assert bmc_booted LED.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Recently, I update to
newer commit (don’t know what exact commit cause this), the
wanted service was started but bmc-led-group-start service
itself was not started. As a result, bmc heartbeat led was
not blinked.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Can anyone please advise
how to investigate such kind of issue?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jul 11 04:54:03
runbmc-nuvoton systemd[1]: Starting Wait for
/xyz/openbmc_project/led/groups/bmc_booted...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jul 11 04:54:06
runbmc-nuvoton systemd[1]: Started Wait for
/xyz/openbmc_project/led/groups/bmc_booted.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Below is unit file of
<a class="moz-txt-link-abbreviated" href="mailto:obmc-led-group-start@bmc_booted.service">obmc-led-group-start@bmc_booted.service</a> in
/lib/systemd/system/multi-user.target.wants<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Unit]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Description=Assert %i
LED<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a class="moz-txt-link-abbreviated" href="mailto:Wants=mapper-wait@-xyz-openbmc_project-led-groups-%i.service">Wants=mapper-wait@-xyz-openbmc_project-led-groups-%i.service</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a class="moz-txt-link-abbreviated" href="mailto:After=mapper-wait@-xyz-openbmc_project-led-groups-%i.service">After=mapper-wait@-xyz-openbmc_project-led-groups-%i.service</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a class="moz-txt-link-abbreviated" href="mailto:Conflicts=obmc-led-group-stop@%i.service">Conflicts=obmc-led-group-stop@%i.service</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Service]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Type=oneshot<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">RemainAfterExit=yes<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Restart=no<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ExecStart=/bin/sh -c
"busctl call `mapper get-service
/xyz/openbmc_project/led/groups/%i`
/xyz/openbmc_project/led/groups/%i
org.freedesktop.DBus.Properties Set ssv
xyz.openbmc_project.Led.Group Asserted b true"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">SyslogIdentifier=obmc-led-group-start<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Stanley<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<hr width="100%" align="center">
<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>
</blockquote>
</body>
</html>