qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] QEMU IPMI support


From: Corey Minyard
Subject: Re: [Qemu-devel] QEMU IPMI support
Date: Tue, 07 Apr 2015 07:43:46 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 04/07/2015 07:24 AM, Longever, Joseph wrote:
> Hi Corey,
>
> Thanks so much for the support.  I pulled down the 2.2-ipmi stable snapshot 
> and everything compiled with no issues.
>
> Could you help confirm my configuration?

Can you send your complete configuration file and startup command file? 
I'm guessing you haven't enabled things properly in the startup command
file or in the configuration file, and if you don't do that you won't
get a valid BMC.  It looks like it's connecting, just not working right.

Also, what version of OpenIPMI did you try?  The latest git release is
probably the best.

I just tried it out, BTW, and it worked ok for me.

-corey

> I ran lanserv with the serial parameter to create the socket that will 
> communicate with the QEMU IPMI device over port 9002:
>
> Host lanserv config:
>  addr :: 623
>
>   # Define a serial VM inteface for channel 15 (the system interface) on
>   # port 9002, just available to the local system (localhost).
>   serial bt localhost 9002 codec VM ipmb 0x20
>
>   # startcmd is what to execute to start a VM associated with the
>   # codec above (localhost 9002).  It also starts a console serial port
>   # on port 9003 that is also used as the monitor interface.
>
>   startcmd "qemu-system-x86_64 -vnc :1 --enable-kvm -chardev 
> socket,id=ipmi0,host=localhost,port=9002,reconnect=10 -device 
> isa-ipmi,chardev=ipmi0,interface=bt,irq=5 -device 
> e1000,netdev=net0,mac=${VNETMAC} -netdev tap,id=net0 -device ich9-usb-ehci1 
> -daemonize -serial mon:tcp::9003,server,telnet,nowait -m ${VMEM} -smp ${VSMP} 
> ${STARTCMD_OPTS}"
>
>   # Start startcmd at startup?  Default is false.
>   startnow true
>
>
> But the QEMU VM doesn't find the BMC over the BT channel.  I've tried KCS 
> channel as well,  similar problem.  I also set the serial parameter for 
> channel 15, same.
>
> On VM:
> [   10.199536] ipmi message handler version 39.2
> [   10.201363] ipmi device interface
> [   10.203908] IPMI System Interface driver.
> [   10.204739] ipmi_si: Trying SMBIOS-specified bt state machine at i/o 
> address 0xe4, slave address 0x20, irq 5
> [   10.206353] ipmi_si: There appears to be no BMC at this location
> [   10.342602] ipmi_si: Unable to find any System Interface(s)
> [   10.344943] IPMI Watchdog: driver initialized
>
> The socket is listening on the host at port 9002 (the LAN port is the default 
> 623):
>
> address@hidden:~$ netstat -ln
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
> tcp        0      0 0.0.0.0:9003            0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
> tcp        0      0 ::1:9002                :::*                    LISTEN
> tcp        0      0 :::22                   :::*                    LISTEN
> tcp        0      0 :::23                   :::*                    LISTEN
> udp        0      0 :::623                  :::*
> Active UNIX domain sockets (only servers)
> Proto RefCnt Flags       Type       State         I-Node Path
>
> Thanks,
>   Joel 
>
> -




reply via email to

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