Need Help with IPMBBridgeD

James Feist james.feist at linux.intel.com
Fri Sep 13 09:33:10 AEST 2019


On 9/12/19 3:30 PM, Wilfred Smith wrote:
> 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
> 

Generally this means phosphor-host-ipmid went out to lunch, but 
ipmbbridged is still working. I'd check to see if ipmid is still 
responsive over dbus.


> 
> 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
>      }
>    ]
> }


More information about the openbmc mailing list