qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Cant make the IPMI simulator work, help needed.


From: RamakrishnaDeepak Battu
Subject: [Qemu-devel] Cant make the IPMI simulator work, help needed.
Date: Tue, 2 Jun 2015 16:28:12 +0530

Hi, 

I am trying to simulate the IPMI simulator for test purposes  but was failing somehow.. 
I see lot of help being given in this forum , especially Corey Minyard. Thank you.
I am new to IPMI and QEMU, but followed the threads and was able to fix up to some point. Right now struck and not able to figure out .So reaching for you guys help.

I compiled and installed  stable-2.2-ipmi Qemu branch, and new version of OpenIPMI.
I am using the cirros image to boot up using the Qemu.

My startcmd is as follows: 

/usr/local/bin/qemu-system-x86_64 --enable-kvm  -nographic -net nic,model=e1000,macaddr=52:54:00:12:34:59 -net user,hostfwd=tcp::5555-10.0.2.15:22 -chardev socket,id=ipmi0,host=localhost,port=9002,reconnect=10 -device isa-ipmi,chardev=ipmi0,interface=bt,irq=5 -serial mon:tcp::9003,server,telnet,nowait -initrd /opt/cirros/cirros-0.3.4-x86_64-initramfs -kernel /opt/cirros/cirros-0.3.4-x86_64-kernel --append 'root=/dev/hda console=ttyS0,115200'

When ran Qemu command alone on the console get this error: 
qemu-system-x86_64: Unable to connect character device ipmi0: Error connecting to socket: Connection refused

My BMC and lan.conf are  
https://gist.github.com/bot11/5d33a14a1cba442b5ef2
https://gist.github.com/bot11/3c385eea081609a8a7f4

Once I ran the ipmi_sim command, I can see the bmc variables read from the emu file, but I dont see the qemu instance booted up.
And when I ran the ipmitool , I am getting the following errors:

address@hidden ipmitool -I lanplus -v  -H 127.0.0.1 -p 9002 -U ipmiusr power status                                                                             Password:
Get Auth Capabilities error
Get Auth Capabilities error
Error issuing Get Channel Authentication Capabilies request
Error: Unable to establish IPMI v2 / RMCP+ session
Unable to get Chassis Power Status
----


This is where I am struck. Please suggest.

Thanks,
Ramakrishna.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]