how can i use ipmitool to interact with openbmc which boot from qemu-system-arm

南野ムルシエラゴ 1181052146 at qq.com
Thu Sep 26 22:54:20 AEST 2019


Greetings:
i have build a openbmc image, and boot with qemu:


#qemu-system-arm -m 256 -M palmetto-bmc -nographic -drive file=/home/openbmc/openbmc/build/tmp/deploy/images/palmetto/obmc-phosphor-image-palmetto-20190926123057.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostname=qemu


and when i run the following command in my ubuntu18.04:


#curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST https://127.0.0.1:2443/login -d "{\"data\": [ \"root\", \"0penBmc\" ] }"


it works well, but when i try to use impitool:


#ipmitool -H 127.0.0.1 -I lanplus -U root -P 0penBmc power status


i got "Error: unable to establish IPMI v2 / RMCP+ session". how can i do?


Thanks!
Liu Hongwei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190926/62fba86d/attachment.htm>


More information about the openbmc mailing list