Do you not have the device /dev/ipmi0 or /dev/ipmidev/0 in your sysfs? You may not have your IPMI device configured correctly.  Which wire are you trying to use IPMI over, LAN or something like LPC or IPMB?

On Sun, Jul 1, 2018 at 11:02 PM Chuong Le Anh Tran <chuong.tran@amperecomputing.com> wrote:

Hi Akash,

 

Where did you get ipmitool? I believe command “ipmitool -I dbus” works normally. phosphor-ipmi-tool recipe (https://github.com/openbmc/ipmitool) supports OpenBMC D-Bus protocol. You can easily package that ipmitool to openbmc rootfs, try to add below line to your machine conf file and rebuild openbmc phosphor image.

 

OBMC_IMAGE_EXTRA_INSTALL_append += “phosphor-ipmi-tool”

 

Best regards,

Chuong.

 

 

From: openbmc [mailto:openbmc-bounces+chuong.tran=amperecomputing.com@lists.ozlabs.org] On Behalf Of AKASH G J
Sent: Monday, July 2, 2018 11:23 AM
To: openbmc@lists.ozlabs.org
Subject: Unable to execute IPMI commands

________________________________________________________________________________________________________________________

Hi Team,

 

I am new in BMC. We have one custom board that contains Aspeed AST-2500 BMC chip. I have installed openbmc Linux into the board and tried to execute IPMI commands using ipmitool. I tried with both open interface and dbus interface. But it is showing errors "Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0. No such file or directory" and "error loading interface dbus". Please someone help to resolve this.

 

Whether any firmware required for running IPMI commands on the board, other than openbmc Linux image ?

 

 

 

 

Thanks and regards,

 

Akash G J