<html><head></head><body><div class="ydp4514369byahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div id="ydp4514369byiv8929625084"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" class="ydp4514369byiv8929625084ydp4268bbbdyahoo-style-wrap"><div></div>
<div dir="ltr">Hi,</div><div dir="ltr"><span><span style="color:rgb(38, 40, 42);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;">- We can use UEFI or user space tools to send the SMBIOS tables to BMC. Isn't there any pre-ready tool for Intel based servers?</span></span></div><div dir="ltr"><span><span style="color:rgb(38, 40, 42);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;">- kcs3 is already defined in our DTS too. </span></span><br clear="none"></div><div dir="ltr"><span><span style="color:rgb(38, 40, 42);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;">- Serial port redirection (vUART) is working. What else we can do to test if LPC between host and BMC is working?</span></span></div><div dir="ltr" data-setdir="false"><span><span style="color:rgb(38, 40, 42);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;">- Inband IPMI is not working with KCS</span></span></div><div dir="ltr" data-setdir="false"><span><span style="color:rgb(38, 40, 42);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;">- We defined <span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">/usr/share/ipmi-providers/channel_config.json but nothing has changed</span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color:rgb(38, 40, 42);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;"><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;"><br></span></span></span></span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span><span style="color:rgb(38, 40, 42);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;"><span><div><u><span style="font-size:12.0pt;color:#993300">HOST dmidecode</span></u></div>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300">Handle 0x0013,
DMI type 38, 18 bytes</span></p>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300">IPMI Device
Information</span></p>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300">
Interface Type: KCS (Keyboard Control Style)</span></p>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300">
Specification Version: 2.0</span></p>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300">
I2C Slave Address<b>: 0x10</b></span></p>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300">
NV Storage Device: Not Present</span></p>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300">
Base Address: 0x0000000000000CA2 (I/O)</span></p>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300">
Register Spacing: Successive Byte Boundaries</span></p>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300"> </span></p>
<p class="ydpe629033eMsoNormal"><u><span style="font-size:12.0pt;color:#993300">HOST ipmi_si
driver:</span></u></p>
<p class="ydpe629033eMsoNormal"><span style="font-size:12.0pt;color:#993300">[
7.803541] ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address
0xca2, <b>slave address 0x20</b>, irq 0</span></p>
<div><span style="font-size:12.0pt;color:#993300">[
7.803550] ipmi_si dmi-ipmi-si.0: Interface detection failed</span></div><div><span style="font-size:12.0pt;color:#993300"><br></span></div><div dir="ltr" data-setdir="false"><span style="font-size:12.0pt;color:#993300"><br></span></div><div dir="ltr" data-setdir="false"><span style="font-size:12.0pt;color:#993300">BMC LOG:</span></div><div dir="ltr" data-setdir="false"><div><div>root@Test-Server:~# journalctl -xe | grep ipmi</div><div>░░ Subject: A start job for unit phosphor-ipmi-host.service has begun execution</div><div>░░ A start job for unit phosphor-ipmi-host.service has begun execution.</div><div>Jan 01 00:01:36 Test-Server ipmid[402]: JSON file not found</div><div>Jan 01 00:01:49 Test-Server ipmid[402]: System event sensor not found</div><div>Jan 01 00:01:49 Test-Server ipmid[402]: The operation failed internally.</div><div>Jan 01 00:01:49 Test-Server ipmid[402]: Failed to convert /xyz/openbmc_project/logging/entry/1 to SEL: xyz.openbmc_project.Common.Error.InternalFailure: The operation failed internally.</div><div>Jan 01 00:01:49 Test-Server ipmid[402]: System event sensor not found</div><div>Jan 01 00:01:49 Test-Server ipmid[402]: The operation failed internally.</div><div>Jan 01 00:01:50 Test-Server ipmid[402]: Registering OEM:[0X00C2CF], Cmd:[0X04] for Manual Zone Control</div><div>░░ Subject: A start job for unit phosphor-ipmi-host.service has finished successfully</div><div>░░ A start job for unit phosphor-ipmi-host.service has finished successfully.</div><div>░░ Subject: A start job for unit phosphor-ipmi-kcs@ipmi-kcs3.service has begun execution</div><div>░░ A start job for unit phosphor-ipmi-kcs@ipmi-kcs3.service has begun execution.</div><div>░░ Subject: A start job for unit phosphor-ipmi-net@eth0.service has finished successfully</div><div>░░ A start job for unit phosphor-ipmi-net@eth0.service has finished successfully.</div><div>Jan 01 00:01:51 Test-Server ipmid[402]: Loading whitelist filter</div><div>░░ Subject: A start job for unit phosphor-ipmi-kcs@ipmi-kcs3.service has finished successfully</div><div>░░ A start job for unit phosphor-ipmi-kcs@ipmi-kcs3.service has finished successfully.</div><div>Jan 01 00:01:52 Test-Server ipmid[402]: New interface mapping</div><div>Jan 01 00:01:52 Test-Server ipmid[402]: Set restrictedMode = false</div><div>Jan 01 00:01:53 Test-Server ipmid[402]: Error when call setAttention method</div><div>Jan 01 00:01:54 Test-Server netipmid[437]: Failed to get bus name</div><div>Jan 01 00:01:54 Test-Server netipmid[437]: Bind to interfae</div><div>Jan 01 00:01:54 Test-Server ipmid[402]: New interface mapping</div><div>Jan 01 00:01:56 Test-Server ipmid[402]: Host control timeout hit!</div><div>Jan 01 00:01:57 Test-Server ipmid[402]: Error when call setAttention method</div><div>Jan 01 00:02:00 Test-Server ipmid[402]: Host control timeout hit!</div><div><br></div></div></div></span></span></span></div><div dir="ltr"><span><span style="color:rgb(38, 40, 42);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;"><br clear="none"></span></span></div><div><br clear="none"></div>
</div><div id="ydp4514369byiv8929625084ydp59aeb5adyahoo_quoted_5602659905" class="ydp4514369byiv8929625084ydp59aeb5adyahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Saturday, October 8, 2022 at 04:00:36 AM GMT+3, openbmc-request@lists.ozlabs.org <openbmc-request@lists.ozlabs.org> wrote:
<br></div>
</div></div></div></div><div id="ydp33f67da9yiv8929625084yqtfd53609" class="ydp33f67da9yiv8929625084yqt8555863371"><div><br clear="none"></div>
<div>>Hi,<br clear="none"></div><div><div dir="ltr"><br clear="none"></div><div dir="ltr">On Fri, Oct 07, 2022 at 12:56:02PM +0000, Erhan Y. wrote:<br clear="none"></div><div dir="ltr">>> We are trying to get SMBIOS tables from host on BMC (ast-2500).<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">> What tools are you going to use for that once you get IPMI exchange<br clear="none"></div><div dir="ltr">> working? On our Tioga Pass system it's performed by UEFI on startup<br clear="none"></div><div dir="ltr">> using MDRv1 protocol.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">>> KCS#3 is enabled in DTS (with address CA2)<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">&kcs3 { <br clear="none"></div><div dir="ltr"> // BMC KCS channel 3<br clear="none"></div><div dir="ltr"> status = "okay";<br clear="none"></div><div dir="ltr"> aspeed,lpc-io-reg = <0xca2>;<br clear="none"></div><div dir="ltr">};<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">is what works for us.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">>> [? ? 7.796852] ipmi_si: IPMI System Interface driver<br clear="none"></div><div dir="ltr">>> [? ? 7.796893] ipmi_si dmi-ipmi-si.0: ipmi_platform: probing via SMBIOS<br clear="none"></div><div dir="ltr">>> [? ? 7.796900] ipmi_platform: ipmi_si: SMBIOS: io 0xca2 regsize 1 spacing 1 irq 0<br clear="none"></div><div dir="ltr">>> [? ? 7.796905] ipmi_si: Adding SMBIOS-specified kcs state machine<br clear="none"></div><div dir="ltr">>> [? ? 7.797140] ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca2, slave address 0x20, irq 0<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">This looks correct.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">>> BMC Logs:?<br clear="none"></div><div dir="ltr">>> [? ? 0.301014] ast-kcs-bmc 1e78902c.kcs: Initialised IPMI client for channel 3<br clear="none"></div><div dir="ltr">>> [? ? 0.301085] ast-kcs-bmc 1e78902c.kcs: Initialised channel 3 at 0xca2<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">This too, 1e78902c.kcs is created and used.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">So everything looks proper so far.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Do you know if LPC communication between your host and BMC works at<br clear="none"></div><div dir="ltr">all? Apart from KCS it's also often used for 16550A serial ports (with<br clear="none"></div><div dir="ltr">BMC being an LPC slave).<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Do you have appropriate confguration for ipmi_kcs3 in<br clear="none"></div><div dir="ltr">/usr/share/ipmi-providers/channel_config.json?<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">-- <br clear="none"></div><div dir="ltr">Be free, use free (<a shape="rect" href="http://www.gnu.org/philosophy/free-sw.html" rel="nofollow" target="_blank">http://www.gnu.org/philosophy/free-sw.html</a>) software!<br clear="none"></div><div dir="ltr">mailto:<a shape="rect" href="mailto:fercerpav@gmail.com" rel="nofollow" target="_blank">fercerpav@gmail.com</a><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div></div>
</div><div id="ydp33f67da9yiv8929625084yqtfd53597" class="ydp33f67da9yiv8929625084yqt8555863371">
</div></body></html>