<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="moz-cite-prefix">On 1/3/21 23:44, Milton Miller II
wrote:<br>
</div>
<blockquote type="cite" cite="mid:OF1171F140.21EF2A71-ON00258652.005BFA8E-1609692280165@notes.na.collabserv.com">
January 03, 2021 8:45 AM Thu Nguyen wrote and <a href="mailto:miltonm@us.ibm.com" moz-do-not-send="true">miltonm@us.ibm.com</a>
responded:<br>
<br>
In our test platform, BMC boot up with NC-SI module is plugged and
<br>
powered. NC-SI interface (eth0) is up and worked well.<br>
<br>
Then the power of NC-SI module is power off. NC-SI driver can't
detect <br>
this state.<br>
<br>
BMC console keeps print:<br>
<br>
[ 1780.411126] ftgmac100 1e660000.ethernet eth0: NCSI Channel 0
timed out!<br>
<br>
[ 1785.579455] ftgmac100 1e660000.ethernet eth0: NCSI: No channel
with <br>
link found, configuring channel 0<br>
<br>
[ 1802.253375] ftgmac100 1e660000.ethernet eth0: NCSI Channel 0
timed out!<br>
<br>
[ 1807.501456] ftgmac100 1e660000.ethernet eth0: NCSI: No channel
with <br>
link found, configuring channel 0<br>
<br>
Look at the ncs-manager.c code, it seems if a channel of NC-SI
module is <br>
time out its' monitor_state will be disabled, the link will be
down then <br>
the driver will go to next channel.<br>
<br>
But if all of channels of NC-SI module are down. The driver will
reset <br>
the monitor_state of all channels and check their states again.<br>
<br>
Milton> The NCSI specification explicitly says that power to
the nics and the controller must be synchronized. <br>
<br>
<br>
Do we have any mechanism to detect power off state of NC-SI
module?<br>
<br>
Milton> No, but the state machines will reset if you ifconfig
down the interface.<br>
</blockquote>
<p>[Thu] Thank for this info. It seem there are no ways to detect
Power off state of NC-SI module.</p>
<p>This case is similar with the case OCP is failure or Unplugged
when hot plug.<br>
</p>
<blockquote type="cite" cite="mid:OF1171F140.21EF2A71-ON00258652.005BFA8E-1609692280165@notes.na.collabserv.com"><br>
How about hot plug NC-SI module?<br>
<br>
<br>
Regards.<br>
<br>
Thu Nguyen.<br>
<br>
</blockquote>
<p>Regards.</p>
<p>Thu Nguyen.<br>
</p>
<blockquote type="cite" cite="mid:OF1171F140.21EF2A71-ON00258652.005BFA8E-1609692280165@notes.na.collabserv.com"><br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<p><br>
</p>
</body>
</html>