All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lei YU <mine260309@gmail.com>
To: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Cc: Thaju <tajudheenk@gmail.com>, xiuzhi <1450335857@qq.com>,
	ed <ed@tanous.net>,  openbmc <openbmc@lists.ozlabs.org>,
	Eddie James <eajames@linux.vnet.ibm.com>
Subject: Re: Does obmc-ikvm work with bmcweb?
Date: Thu, 21 Mar 2019 15:02:01 +0800	[thread overview]
Message-ID: <CAARXrtnAURfEDzTHZLHgOojRuD9T4DbUmuQLwvwsS4hvW-Sk_Q@mail.gmail.com> (raw)
In-Reply-To: <77cb1f2b-96c5-bd14-eab7-0da527343ce1@linux.intel.com>

> Check journal (journalctl -f) while you're testing KVM if there is any
> suspicious error. In normal opration, you should see logs like below:

I see the same logs as Thaj, only below logs show when the issue occurs.

Mar 21 05:26:02 romulus env[1564]: 21/03/2019 05:26:02 Unable to
establish connection with systemd socket
Mar 21 05:26:02 romulus env[1564]: 21/03/2019 05:26:02 Listening for
VNC connections on TCP port 5900
Mar 21 05:26:02 romulus env[1564]: 21/03/2019 05:26:02 Listening for
VNC connections on TCP6 port 5900
Mar 21 05:26:06 romulus env[1564]: 21/03/2019 05:26:06 Got connection
from client 127.0.0.1
Mar 21 05:26:06 romulus env[1564]: 21/03/2019 05:26:06   other clients:
Mar 21 05:26:06 romulus env[1564]: 21/03/2019 05:26:06 Normal socket connection

And sometimes it works, then I see logs like:

Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Normal socket connection
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Client Protocol
Version 3.8
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Protocol
version sent 3.8, using 3.8
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12
rfbProcessClientSecurityType: executing handler for type 1
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12
rfbProcessClientSecurityType: returning securityResult for client rfb
version >= 3.8
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Pixel format
for client 192.168.10.11:
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12   32 bpp, depth
24, little endian
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12   true colour:
max r 255 g 255 b 255, shift r 16 g 8 b 0
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Using
compression level 1 for client 192.168.10.11
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Using image
quality level 6 for client 192.168.10.11
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Using JPEG
subsampling 0, Q79 for client 192.168.10.11
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Enabling
X-style cursor updates for client 192.168.10.11
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Enabling
full-color cursor updates for client 192.168.10.11
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Enabling cursor
position updates for client 192.168.10.11
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Enabling
LastRect protocol extension for client 192.168.10.11
Mar 21 06:54:12 romulus env[1957]: 21/03/2019 06:54:12 Using tight
encoding for client 192.168.10.11

It's found that the VNC server may work when the screen is changed, e.g.
reboot the OS, or enter the OS.
When OS is in idle, usually it will not work.

> Also, try these two patches. I added one more patch.
> https://gerrit.openbmc-project.xyz/c/openbmc/obmc-ikvm/+/19392
> https://gerrit.openbmc-project.xyz/c/openbmc/obmc-ikvm/+/19433

Tried the patches, still the same issue as above.

  reply	other threads:[~2019-03-21  7:02 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
2019-03-20 17:43                     ` Jae Hyun Yoo
2019-03-21  7:02                       ` Lei YU [this message]
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=CAARXrtnAURfEDzTHZLHgOojRuD9T4DbUmuQLwvwsS4hvW-Sk_Q@mail.gmail.com \
    --to=mine260309@gmail.com \
    --cc=1450335857@qq.com \
    --cc=eajames@linux.vnet.ibm.com \
    --cc=ed@tanous.net \
    --cc=jae.hyun.yoo@linux.intel.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=tajudheenk@gmail.com \
    /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.