<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:Wingdings;
panose-1:5 0 0 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:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
{font-family:"Arial Unicode MS";
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"\@Arial Unicode MS";
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:803473414;
mso-list-type:hybrid;
mso-list-template-ids:68707086 1951446436 1074331673 1074331675 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:28.5pt;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:64.5pt;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
margin-left:100.5pt;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:136.5pt;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:172.5pt;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
margin-left:208.5pt;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:244.5pt;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:280.5pt;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
margin-left:316.5pt;
text-indent:-9.0pt;}
@list l1
{mso-list-id:1250429227;
mso-list-type:hybrid;
mso-list-template-ids:150498628 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675;}
@list l1:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l2
{mso-list-id:1352225124;
mso-list-type:hybrid;
mso-list-template-ids:237827062 -468663140 1074331673 1074331675 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675;}
@list l2:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:28.5pt;
text-indent:-18.0pt;}
@list l2:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:64.5pt;
text-indent:-18.0pt;}
@list l2:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
margin-left:100.5pt;
text-indent:-9.0pt;}
@list l2:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:136.5pt;
text-indent:-18.0pt;}
@list l2:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:172.5pt;
text-indent:-18.0pt;}
@list l2:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
margin-left:208.5pt;
text-indent:-9.0pt;}
@list l2:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:244.5pt;
text-indent:-18.0pt;}
@list l2:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:280.5pt;
text-indent:-18.0pt;}
@list l2:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
margin-left:316.5pt;
text-indent:-9.0pt;}
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="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I had basic understanding of below processes and its dependency in openbmc.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">button_power.exe <o:p></o:p></p>
<p class="MsoNormal">power_control.exe ( without timeout and interval for GPIO Pgood pin polling ).
<o:p></o:p></p>
<p class="MsoNormal">Chassis_control.py <o:p></o:p></p>
<p class="MsoNormal">System_manager.py ( <span style="font-family:"Calibri Light",sans-serif">
which is again depends on skeleton/configs/Platform.py.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri Light",sans-serif"> In my case I have created one dummy Platform.py by referring existing openbmc platform</span>).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Issues is observed in below two scenarios:<o:p></o:p></b></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0cm;mso-list:l1 level1 lfo1">Whenever I am pressing power button.
<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l1 level1 lfo1">Whenever sending REST command to Power On the Host. (RequestedHostTransition
<span style="font-family:Wingdings">à</span> ON). <o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Issue:<o:p></o:p></b></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> In both scenarios I am able to power on the host, But We are getting watchdog Timeout and,<o:p></o:p></p>
<p class="MsoNormal"> after some time target is reached quiesce state, and Host power OFF script is also started Running.
<o:p></o:p></p>
<p class="MsoNormal"> (Linked host-poweroff script in obmc-host-stop.target.requires ). <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> Also phosphor-state-manager is always getting Host state as
<span style="font-size:9.0pt;font-family:Consolas;color:#24292E;background:white">
HOST_STATE_QUIESCE_TGT in sysStateChange() </span>functionality.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E;background:white"><o:p> </o:p></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="color:#24292E;margin-left:-7.5pt;mso-list:l2 level1 lfo3">
<span style="font-size:9.0pt;font-family:Consolas;background:white">What are all the process is responsible to send Host state signal as quiesce to phosphor-host-state-manager. ?.<o:p></o:p></span></li><li class="MsoListParagraph" style="color:#24292E;margin-left:-7.5pt;mso-list:l2 level1 lfo3">
<span style="font-size:9.0pt;font-family:Consolas;background:white">If phosphor-watchdog or system_manager is responsible.Please let us know clear view of understanding.
<o:p></o:p></span></li><li class="MsoListParagraph" style="color:#24292E;margin-left:-7.5pt;mso-list:l2 level1 lfo3">
<span style="font-size:9.0pt;font-family:Consolas;background:white">In our platform, We are not using BOOTCOUNT sensor concept as initial phase.
<o:p></o:p></span></li></ol>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E;background:white"> <o:p></o:p></span></p>
<p class="MsoNormal"><b>Please refer short journal log: <o:p></o:p></b></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME phosphor-watchdog[1338]: Timer Expired<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME systemd-journald[640]: Forwarding to syslog missed 11 messages.<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME phosphor-watchdog[1338]: watchdog: Timed out<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAMEi systemd[1]: Created slice system-op\x2docc\x2ddisable.slice.<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME systemd[1]: Detaching egress BPF program from cgroup failed: Invalid argument<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME systemd[1]: Starting OpenPOWER OCC Active Disable...<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME systemd[1]: Reached target Quiesce Target.<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME systemd[1]: Stopping Phosphor poweron watchdog...<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME systemd[1]: Stopped Phosphor poweron watchdog.<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME phosphor-host-state-manager[1215]: Auto reboot enabled, rebooting<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME phosphor-host-state-manager[1215]: Beginning reboot...<o:p></o:p></p>
<p class="MsoNormal">Nov 09 05:38:04 HOSTNAME phosphor-host-state-manager[1215]: Host State transaction request<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks <o:p></o:p></p>
<p class="MsoNormal">Maheswari A<o:p></o:p></p>
</div>
</body>
</html>