qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@acm.org>
To: "Longever, Joseph" <Joseph.Longever@emc.com>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] QEMU IPMI support
Date: Tue, 07 Apr 2015 07:43:46 -0500	[thread overview]
Message-ID: <5523D102.3010408@acm.org> (raw)
In-Reply-To: <9C46C997A77C834C81ACBF2B3F67C3170565723968@MX43A.corp.emc.com>

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):
>
> root@vBMC1:~$ 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	other threads:[~2015-04-07 12:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9C46C997A77C834C81ACBF2B3F67C31705657234BF@MX43A.corp.emc.com>
     [not found] ` <551ED8C5.7020003@acm.org>
     [not found]   ` <9C46C997A77C834C81ACBF2B3F67C31705657237D7@MX43A.corp.emc.com>
2015-04-05  2:02     ` [Qemu-devel] QEMU IPMI support Corey Minyard
2015-04-07 12:24       ` Longever, Joseph
2015-04-07 12:43         ` Corey Minyard [this message]
2015-04-07 12:51           ` Longever, Joseph
2015-04-07 15:05           ` Longever, Joseph
2015-04-07 12:31       ` Corey Minyard
     [not found] <CAGm6yaQdByfFu=8qv4+tt01jE=uDupFzDcXUBghFA0YJaRn1cQ@mail.gmail.com>
     [not found] ` <20131105135305.GA3696@redhat.com>
2013-11-05 16:43   ` [Qemu-devel] Qemu " Bret Ketchum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5523D102.3010408@acm.org \
    --to=minyard@acm.org \
    --cc=Joseph.Longever@emc.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).