<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 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]-->
</head>
<body lang="ZH-TW" link="blue" vlink="purple" style="text-justify-trim:punctuation">
<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 obmc-led-group-start@bmc_booted.service 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">Wants=mapper-wait@-xyz-openbmc_project-led-groups-%i.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">After=mapper-wait@-xyz-openbmc_project-led-groups-%i.service<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Conflicts=obmc-led-group-stop@%i.service<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 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>