Need Help with IPMBBridgeD

Wilfred Smith wilfredsmith at fb.com
Fri Sep 13 08:30:09 AEST 2019


I’m having great difficulty getting IPMB to work with IPMBBridgeD.

I have Haiyue’s patch, have enabled slave-mqueue in the .cfg file, have written to enable the option (though ipmbbridged now does that itself).

I had it working at one point, but after rebooting can’t get back to where I was…

Error I’m getting:


Jan 01 01:06:32 tiogapass ipmbbridged[305]: [[0;1;31m[[0;1;39m[[0;1;31mprocessI2cEvent: error getting response from IPMI[[0m


Tiogapass.cfg:
[wilfred at centos-linux-for-openbmc linux-aspeed]$ cat tiogapass.cfg
CONFIG_SENSORS_TMP421=y
CONFIG_SENSORS_MAX31785=y
CONFIG_RTC_DRV_RV8803=y
CONFIG_TCG_TPM=y
CONFIG_TCG_TIS_I2C_INFINEON=y
CONFIG_NCSI_OEM_CMD_GET_MAC=y
CONFIG_I2C_SLAVE=y
CONFIG_I2C_SLAVE_MQUEUE_MESSAGE_SIZE=120
CONFIG_I2C_SLAVE_MQUEUE_QUEUE_SIZE=32
CONFIG_I2C_SLAVE_MQUEUE=y

Linux-aspeed_%.bbappend:
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-aspeed:"
SRC_URI += "file://tiogapass.cfg"
SRC_URI += "file://PATCHv7-1-3-dt-bindings-i2c-document-bindings-for-i2c-slave-mqueue.patch"
SRC_URI += "file://PATCHv7-2-3-i2c-slave-mqueue-add-a-slave-backend-to-receive-and-queue-messages.patch"
SRC_URI += "file://PATCHv7-3-3-Documentation-ABI-Add-i2c-slave-mqueue-sysfs-documentation.patch”

I have done echo slave-mqueue 0x1010 > /sys/bus/i2c/devices/i2c-5/new_device

For my busses of interest (4 and 9)

/usr/share/ipmbbridge/ipmb-channels.json:
{
  "channels": [
    {
      "type": "me",
      "master-path": "/dev/i2c-4",
      "slave-path": "/sys/bus/i2c/devices/4-1010/slave-mqueue",
      "bmc-addr": 32,
      "remote-addr": 44
    },
    {
      "type": "ipmb",
      "master-path": "/dev/i2c-9",
      "slave-path": "/sys/bus/i2c/devices/9-1010/slave-mqueue",
      "bmc-addr": 32,
      "remote-addr": 96
    }
  ]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190912/a30acb24/attachment.htm>


More information about the openbmc mailing list