<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hmm.,,</p>
<p>Clearly, the systemd unit did not run / was not loaded
successfully etc. Below line is telling me that some edits were
done.<br>
</p>
<p><span style="color:#1F497D" lang="EN-US">Warning: The unit file,
source configuration file or drop-ins of
<a class="moz-txt-link-abbreviated" href="mailto:obmc-led-group-start@bmc_booted.service">obmc-led-group-start@bmc_booted.service</a> changed on disk. Run
'systemctl daemon-reload' to reload units.</span></p>
<p><span style="color:#1F497D" lang="EN-US"><font color="#000000">Have
you tried to reload systemd ?</font><br>
</span></p>
<p><span lang="EN-US">Jul 11 04:54:06 runbmc-nuvoton systemd[1]:
Started Wait for /xyz/openbmc_project/led/groups/bmc_booted.</span></p>
<p><span lang="EN-US">That is telling me that, it is waiting for the
precondition to be met.. I thought you won't reach BMCReady
state while having this stuck. What is the "obmcutil state"
saying ?.</span></p>
<p><span lang="EN-US">Also, can you try "systemctl start</span><span
lang="EN-US"> </span><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>"
and see how it behaves.</span></p>
<p><span lang="EN-US">If it's a one-off, I would suggest retry.. If
this is persisting, open a girhub issue with needed information
on how to recreate.</span></p>
<p><span lang="EN-US">!! Vishwa !!</span></p>
On 7/16/19 9:20 AM, CS20 YSChu wrote:<br>
<blockquote type="cite"
cite="mid:HK2PR03MB4516A42C3DDE5528F5515D1CB6CE0@HK2PR03MB4516.apcprd03.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<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;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";
color:black;}
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:"Calibri","sans-serif";
color:black;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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 style="color:#1F497D" lang="EN-US">Hi
Vishwa,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US">-- The o/p of "systemctl status <a
href="mailto:obmc-led-group-start@bmc_booted.service"
moz-do-not-send="true">
obmc-led-group-start@bmc_booted.service</a>"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" 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>
- Assert bmc_booted LED<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
Loaded: loaded
(/lib/systemd/system/obmc-led-group-start@.service; static;
vendor preset: enabled)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
Drop-In:
/lib/systemd/system/obmc-led-group-start@bmc_booted.service.d<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
</span><span
style="font-family:"新細明體","serif";color:#1F497D">└─</span><span
style="color:#1F497D" lang="EN-US">bmc_booted.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
Active: inactive (dead)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Warning:
The unit file, source configuration file or drop-ins of
<a class="moz-txt-link-abbreviated" href="mailto:obmc-led-group-start@bmc_booted.service">obmc-led-group-start@bmc_booted.service</a> changed on disk. Run
'systemctl daemon-reload' to reload units.<o:p></o:p></span></p>
<p><span lang="EN-US">-- Properties of
/xyz/openbmc_project/led/groups/bmc_booted<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
array [<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
dict entry(<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
string "Asserted"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
variant boolean false<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US">-- properties of
xyz/openbmc_project/led/physical/heartbeat ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
array [<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
dict entry(<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
string "State"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
variant string
"xyz.openbmc_project.Led.Physical.Action.Off"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
dict entry(<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
string "DutyOn"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
variant byte 50<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
dict entry(<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
string "Color"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
variant string
"xyz.openbmc_project.Led.Physical.Palette.Unknown"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
dict entry(<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
string "Period"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
variant uint16 1000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Stanley<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> vishwa [<a class="moz-txt-link-freetext" href="mailto:vishwa@linux.vnet.ibm.com">mailto:vishwa@linux.vnet.ibm.com</a>]
<br>
<b>Sent:</b> Monday, July 15, 2019 5:48 PM<br>
<b>To:</b> CS20 YSChu; <a class="moz-txt-link-abbreviated" href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a><br>
<b>Subject:</b> Re: bmc_booted LED group was not
asserted when BMC started up<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US">Hi Stanley,<o:p></o:p></span></p>
<p><span lang="EN-US">Could you tell:<o:p></o:p></span></p>
<p><span lang="EN-US">-- The o/p of "systemctl status <a
href="mailto:obmc-led-group-start@bmc_booted.service"
moz-do-not-send="true">
obmc-led-group-start@bmc_booted.service</a>"<o:p></o:p></span></p>
<p><span lang="EN-US">-- Properties of
/xyz/openbmc_project/led/groups/bmc_booted<o:p></o:p></span></p>
<p><span lang="EN-US">-- properties of
xyz/openbmc_project/led/physical/heartbeat ?<o:p></o:p></span></p>
<p><span lang="EN-US">!! Vishwa !!<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 7/15/19 1:57 PM,
CS20 YSChu wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<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 href="mailto:obmc-led-group-start@bmc_booted.service"
moz-do-not-send="true">
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
href="mailto:Wants=mapper-wait@-xyz-openbmc_project-led-groups-%25i.service"
moz-do-not-send="true">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
href="mailto:After=mapper-wait@-xyz-openbmc_project-led-groups-%25i.service"
moz-do-not-send="true">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
href="mailto:Conflicts=obmc-led-group-stop@%25i.service"
moz-do-not-send="true">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 class="MsoNormal" style="text-align:center"
align="center"><span style="font-family:"Times New
Roman","serif"" lang="EN-US">
<hr width="100%" size="3" 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-family:"Times New
Roman","serif"" lang="EN-US"><o:p></o:p></span></p>
</blockquote>
</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>