All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thaju <tajudheenk@gmail.com>
To: Lei YU <mine260309@gmail.com>
Cc: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>,
	xiuzhi <1450335857@qq.com>,  openbmc <openbmc@lists.ozlabs.org>,
	ed <ed@tanous.net>,  Eddie James <eajames@linux.vnet.ibm.com>
Subject: Re: Does obmc-ikvm work with bmcweb?
Date: Wed, 20 Mar 2019 16:42:53 +0530	[thread overview]
Message-ID: <CAH2KKeajTT96Y6rOdKGct+EBLdbFxGo97SEfWzMrcu0hqRh_Hw@mail.gmail.com> (raw)
In-Reply-To: <CAARXrtkkmxHcgvkp1Mi8esY0onqdHxRzaymcf8NaBZSM9uVYRQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2526 bytes --]

Hi Jae/Xiuzhi,

I have tried enabling KVM as mentioned in the mail thread. But unable to
get the video in the web. Also tried using vnc viewer, but connection
refused.

I see the following:

# obmc-ikvm -v /dev/video0 -f 10 -k /dev/hidg0 -p /dev/hidg1
26/02/2019 09:41:04 Unable to establish connection with systemd socket
26/02/2019 09:41:04 Listening for VNC connections on TCP port 5900
26/02/2019 09:41:04 Listening for VNC connections on TCP6 port 5900
26/02/2019 09:42:17 Got connection from client 127.0.0.1
26/02/2019 09:42:17   other clients:
26/02/2019 09:42:17 Normal socket connection

# dmesg | grep video
[   18.921547] aspeed-video 1e700000.video: assigned reserved memory node
framebuffer
[   59.799015] aspeed-video 1e700000.video: Timed out; first mode detect

obmc-ikvm recipe:

SUMMARY = "obmc kvm application"
DESCRIPTION = "Interfaces video device and USB HID device on BMC"

FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

inherit systemd
inherit obmc-phosphor-systemd
inherit autotools pkgconfig

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"

PV = "1.0+git${SRCPV}"

SRC_URI = "git://github.com/openbmc/obmc-ikvm \
        file://Fix_video_restarting_sync_issue.patch \
        "
SRCREV = "2bc661d34abd1fda92a9d2b256ed88ca0e90d09a"

DEPENDS += "autoconf-archive"
DEPENDS += "libvncserver"
DEPENDS += "sdbusplus"
DEPENDS += "sdeventplus"
DEPENDS += "phosphor-logging"
DEPENDS += "phosphor-dbus-interfaces"
DEPENDS += "systemd"

S = "${WORKDIR}/git"

SERVICE_FILE = "start-ipkvm.service"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}"
SYSTEMD_DEFAULT_TARGET ?= "${SYSTEMD_DEFAULT_TARGET}"

What am I doing wrong here?
Do we need to set "-DBMCWEB_ENABLE_KVM=ON" in bmcweb?

Regards,
Thaj

On Wed, Mar 20, 2019 at 11:01 AM Lei YU <mine260309@gmail.com> wrote:

> > Check if there are /dev/hidg0 and /dev/hidg1. If not, check kernel
> > configs again.
> > Also, check 'start-ipkvm.service' file whether that launches obmc-ikvm
> > using this options:
> > ExecStart=/usr/bin/env obmc-ikvm -v /dev/video0 -f 10 -k /dev/hidg0 -p
> > /dev/hidg1
>
> Confirmed that both /dev/hidg0 and /dev/hidg1 are created, and the service
> is
> started with obmc-ikvm -v /dev/video0 -f 10 -k /dev/hidg0 -p /dev/hidg1.
>
> >
> > Try this patch:
> > https://gerrit.openbmc-project.xyz/c/openbmc/obmc-ikvm/+/19392
>
> Unfortunately, the patch does not fix the issue, the KVM page still shows a
> small black block when browsed to another page and back.
>

[-- Attachment #2: Type: text/html, Size: 4038 bytes --]

  reply	other threads:[~2019-03-20 11:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-14  2:21 Does obmc-ikvm work with bmcweb? xiuzhi
2019-03-14 17:53 ` Jae Hyun Yoo
2019-03-15  7:18   ` xiuzhi
2019-03-15 17:11     ` Jae Hyun Yoo
2019-03-18  2:25       ` Lei YU
2019-03-18 17:21         ` Jae Hyun Yoo
2019-03-18 17:33           ` Jae Hyun Yoo
2019-03-19  3:05             ` xiuzhi
2019-03-19 18:04               ` Jae Hyun Yoo
2019-03-19  9:22             ` Lei YU
2019-03-19 18:09               ` Jae Hyun Yoo
2019-03-20  5:30                 ` Lei YU
2019-03-20 11:12                   ` Thaju [this message]
2019-03-20 17:43                     ` Jae Hyun Yoo
2019-03-21  7:02                       ` Lei YU
2019-03-21 16:19                         ` Jae Hyun Yoo
2019-03-21 16:27                           ` Thaju
2019-03-21 21:31                             ` Jae Hyun Yoo
2019-04-14  7:12                               ` xiuzhi
2019-04-15 19:26                                 ` Jae Hyun Yoo
2019-04-16  1:53                                   ` xiuzhi
2019-03-22  3:34                           ` Lei YU
2019-03-22 15:21                             ` Eddie James
2019-04-04  5:21     ` ikvm refresh failed on host screen 1680x1050 resolution xiuzhi
2019-04-04 17:16       ` Jae Hyun Yoo
2019-04-08  1:14         ` xiuzhi

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=CAH2KKeajTT96Y6rOdKGct+EBLdbFxGo97SEfWzMrcu0hqRh_Hw@mail.gmail.com \
    --to=tajudheenk@gmail.com \
    --cc=1450335857@qq.com \
    --cc=eajames@linux.vnet.ibm.com \
    --cc=ed@tanous.net \
    --cc=jae.hyun.yoo@linux.intel.com \
    --cc=mine260309@gmail.com \
    --cc=openbmc@lists.ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.