openbmc Digest, Vol 86, Issue 26

Erhan Y. erhan14 at yahoo.com
Tue Oct 11 19:07:38 AEDT 2022


 Hi,- 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?- kcs3 is already defined in our DTS too. 
- Serial port redirection (vUART) is working. What else we can do to test if LPC between host and BMC is working?- Inband IPMI is not working with KCS- We defined /usr/share/ipmi-providers/channel_config.json but nothing has changed

HOST dmidecode
Handle 0x0013,DMI type 38, 18 bytes

IPMI DeviceInformation

       Interface Type: KCS (Keyboard Control Style)

       Specification Version: 2.0

       I2C Slave Address: 0x10

       NV Storage Device: Not Present

       Base Address: 0x0000000000000CA2 (I/O)

       Register Spacing: Successive Byte Boundaries

 

HOST ipmi_sidriver:

[   7.803541] ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address0xca2, slave address 0x20, irq 0
[   7.803550] ipmi_si dmi-ipmi-si.0: Interface detection failed

BMC LOG:root at Test-Server:~# journalctl -xe | grep ipmi░░ Subject: A start job for unit phosphor-ipmi-host.service has begun execution░░ A start job for unit phosphor-ipmi-host.service has begun execution.Jan 01 00:01:36 Test-Server ipmid[402]: JSON file not foundJan 01 00:01:49 Test-Server ipmid[402]: System event sensor not foundJan 01 00:01:49 Test-Server ipmid[402]: The operation failed internally.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.Jan 01 00:01:49 Test-Server ipmid[402]: System event sensor not foundJan 01 00:01:49 Test-Server ipmid[402]: The operation failed internally.Jan 01 00:01:50 Test-Server ipmid[402]: Registering OEM:[0X00C2CF], Cmd:[0X04] for Manual Zone Control░░ Subject: A start job for unit phosphor-ipmi-host.service has finished successfully░░ A start job for unit phosphor-ipmi-host.service has finished successfully.░░ Subject: A start job for unit phosphor-ipmi-kcs at ipmi-kcs3.service has begun execution░░ A start job for unit phosphor-ipmi-kcs at ipmi-kcs3.service has begun execution.░░ Subject: A start job for unit phosphor-ipmi-net at eth0.service has finished successfully░░ A start job for unit phosphor-ipmi-net at eth0.service has finished successfully.Jan 01 00:01:51 Test-Server ipmid[402]: Loading whitelist filter░░ Subject: A start job for unit phosphor-ipmi-kcs at ipmi-kcs3.service has finished successfully░░ A start job for unit phosphor-ipmi-kcs at ipmi-kcs3.service has finished successfully.Jan 01 00:01:52 Test-Server ipmid[402]: New interface mappingJan 01 00:01:52 Test-Server ipmid[402]: Set restrictedMode = falseJan 01 00:01:53 Test-Server ipmid[402]: Error when call setAttention methodJan 01 00:01:54 Test-Server netipmid[437]: Failed to get bus nameJan 01 00:01:54 Test-Server netipmid[437]: Bind to interfaeJan 01 00:01:54 Test-Server ipmid[402]: New interface mappingJan 01 00:01:56 Test-Server ipmid[402]: Host control timeout hit!Jan 01 00:01:57 Test-Server ipmid[402]: Error when call setAttention methodJan 01 00:02:00 Test-Server ipmid[402]: Host control timeout hit!


    On Saturday, October 8, 2022 at 04:00:36 AM GMT+3, openbmc-request at lists.ozlabs.org <openbmc-request at lists.ozlabs.org> wrote: 
 
 >Hi,

On Fri, Oct 07, 2022 at 12:56:02PM +0000, Erhan Y. wrote:
>> We are trying to get SMBIOS tables from host on BMC (ast-2500).

> What tools are you going to use for that once you get IPMI exchange
> working? On our Tioga Pass system it's performed by UEFI on startup
> using MDRv1 protocol.

>> KCS#3 is enabled in DTS (with address CA2)

&kcs3 { 
        // BMC KCS channel 3
        status = "okay";
        aspeed,lpc-io-reg = <0xca2>;
};

is what works for us.

>> [? ? 7.796852] ipmi_si: IPMI System Interface driver
>> [? ? 7.796893] ipmi_si dmi-ipmi-si.0: ipmi_platform: probing via SMBIOS
>> [? ? 7.796900] ipmi_platform: ipmi_si: SMBIOS: io 0xca2 regsize 1 spacing 1 irq 0
>> [? ? 7.796905] ipmi_si: Adding SMBIOS-specified kcs state machine
>> [? ? 7.797140] ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca2, slave address 0x20, irq 0

This looks correct.

>> BMC Logs:?
>> [? ? 0.301014] ast-kcs-bmc 1e78902c.kcs: Initialised IPMI client for channel 3
>> [? ? 0.301085] ast-kcs-bmc 1e78902c.kcs: Initialised channel 3 at 0xca2

This too, 1e78902c.kcs is created and used.

So everything looks proper so far.

Do you know if LPC communication between your host and BMC works at
all? Apart from KCS it's also often used for 16550A serial ports (with
BMC being an LPC slave).

Do you have appropriate confguration for ipmi_kcs3 in
/usr/share/ipmi-providers/channel_config.json?

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20221011/4f773971/attachment-0001.htm>


More information about the openbmc mailing list