回复: ipmi issues(ubuntu 22.04 and openbmc v2.12.0)

qiu ding qdwby2008 at outlook.com
Tue Dec 23 20:31:20 AEDT 2025


Thank you, but even after specifying -C 17 and upgrading to version 1.8.19, there are still issues with the verification.

Method 1:

$ ipmitool -I lanplus -H 127.0.0.1 -p 6230 -U root -P openBmc -A md5 mc info -C 17
Error: Unable to establish IPMI v2 / RMCP+ session

ipmitool -H 127.0.0.1 -p 6230 -U root -P openBmc -A md5 mc info -C 17
Error: Unable to establish LAN session
Error: Unable to establish IPMI v1.5 / RMCP session

Method 2:
$ ipmitool --version
ipmitool: 无效的选项 -- -
ipmitool version 1.8.19.0.gsnapshot

usage: ipmitool [options...] <command>

       -h             This help
       -V             Show version information
       -v             Verbose (can use multiple times)
       -c             Display output in comma separated format
       -d N           Specify a /dev/ipmiN device to use (default=0)
       -I intf        Interface to use

$ ipmitool -I lanplus -H 127.0.0.1 -p 6230 -U root -P openBmc -A md5 session list
Failed to initialize the OEM info dictionary

$ ipmitool -H 127.0.0.1 -p 6230 -U root -P openBmc -A md5 mc info
Failed to initialize the OEM info dictionary
________________________________
发件人: qiu ding
发送时间: 2025年12月21日 9:51
收件人: openbmc at lists.ozlabs.org <openbmc at lists.ozlabs.org>
主题: ipmi issues(ubuntu 22.04 and openbmc v2.12.0)

Hello, I'm testing the IPMI interface on the evb-ast2600 simulator with Ubuntu 22.04 and OpenBMC v2.12.0. I'm encountering an IPMI authentication issue (the port is 6230 -> 623, and port 623 is listening on UDP by default). How can I resolve this? Does phosphor-ipmi-host use CMake or Autotools for compilation by default?

Addition: When compiling phosphor-ipmi-host, the default recipe parameters from the OpenBMC v2.12.0 branch are used.

Simulator Environment:
root at evb-ast2600:~# systemctl status phosphor-ipmi-host
* phosphor-ipmi-host.service - Phosphor Inband IPMI
     Loaded: loaded (/lib/systemd/system/phosphor-ipmi-host.service; enabled; vendor preset: enabled)
    Drop-In: /lib/systemd/system/phosphor-ipmi-host.service.d
             `-10-override.conf
     Active: active (running) since Thu 1970-01-01 01:23:46 UTC; 5s ago
   Main PID: 305 (ipmid)
     CGroup: /system.slice/phosphor-ipmi-host.service
             `- 305 ipmid

Jan 01 01:23:37 evb-ast2600 systemd[1]: Starting Phosphor Inband IPMI...
Jan 01 01:23:43 evb-ast2600 ipmid[305]: JSON file not found
Jan 01 01:23:46 evb-ast2600 systemd[1]: Started Phosphor Inband IPMI.
Jan 01 01:23:47 evb-ast2600 ipmid[305]: Loading whitelist filter
Jan 01 01:23:47 evb-ast2600 ipmid[305]: Set restrictedMode = false
Jan 01 01:23:47 evb-ast2600 ipmid[305]: New interface mapping
root at evb-ast2600:~#

root at evb-ast2600:~# netstat -an |grep :623
udp        0      0 :::623                  :::*
root at evb-ast2600:~#

Issues:
$ ipmitool -I lanplus -H 127.0.0.1 -p 6230 -U root -P openBmc -A md5 mc info
Error in open session response message : invalid authentication algorithm

Error: Unable to establish IPMI v2 / RMCP+ session

$ ipmitool -I lanplus -H 127.0.0.1 -p 6230 -U root -P openBmc -A none mc info
Error in open session response message : invalid authentication algorithm

Error: Unable to establish IPMI v2 / RMCP+ session
$ ipmitool -H 127.0.0.1 -p 6230 -U root -P openBmc -A none mc info
Authentication type NONE not supported
Error: Unable to establish LAN session
Error: Unable to establish IPMI v1.5 / RMCP session
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20251223/438c8d68/attachment.htm>


More information about the openbmc mailing list