All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
To: xiuzhi <1450335857@qq.com>, openbmc <openbmc@lists.ozlabs.org>,
	Eddie James <eajames@linux.vnet.ibm.com>
Subject: Re: obmc-ikvm host OS console mode issue
Date: Thu, 21 Feb 2019 09:22:15 -0800	[thread overview]
Message-ID: <2648d3de-e949-3eee-c2be-cd8e119d4c7c@linux.intel.com> (raw)
In-Reply-To: <tencent_601B7E351099FC4A291EA922@qq.com>

Hi xuizhi,

Virtual terminal also works. I used 'sudo chvt 2' instead of using
'Ctrl+Alt+F2' because I couldn't send the hot key through webui kvm.
Also, instead of clicking the 'refresh' button, I changed web page
to the 'Server overview' page and changed it back to
'Server control -> KVM' page. It works well.

IMHO, you might want check the 'refresh' button handling logic in
webui implementation. Actually, the 'refresh' button is for system
info update, not for kvm screen update, anyways.

Cheers,
Jae


On 2/20/2019 10:27 PM, xiuzhi wrote:
> Hi Joe,
>        It did work on EFI BIOS shell mode and OS GUI mode as your 
> screenshots.  It will fail on host OS console mode.
> Please press "Ctrl+Alt+F2" to switch to OS console as the attachment 
> screenshot , then click the "Refresh" button, the issue will be reproduced.
>     I updated the source  
> https://gerrit.openbmc-project.xyz/#/c/openbmc/obmc-ikvm/+/18583/
>    The ikvm window is black screen when the host OS screen start 
> dormancy or no LCD monitor device available .
>    My BMC hardware is Ast2500.
> Hi xiuzhi,
> I tested it and checked that kvm through websocket works on both text
> mode and gui mode of the host. Please find captured image I'm attaching.
> 
> As you experienced, current kvm implementation is a bit unstable.
> In case it doesn't work, restart 'start-ipkvm' service and try again.
> 
> # systemctl stop start-ipkvm
> # systemctl start start-ipkvm
> 
> If the issue is relating to the host wake-up event, please try this:
> https://gerrit.openbmc-project.xyz/#/c/openbmc/obmc-ikvm/+/18583/
> 
> Since it still needs lots of improvement, your debugging and
> contribution on this kvm function would be very appreciated.
> 
> Thanks,
> Jae
> 
> 
> On 2/19/2019 6:01 PM, xiuzhi wrote:
>  > Hi Jae,
>  >     The issue can be reproduced by the following cases:
>  > 1) the ikvm engine driver is from
>  > https://lists.ozlabs.org/pipermail/openbmc/2019-January/014523.html
>  > 2) ikvm handler patch is from:
>  > 
> https://github.com/Nuvoton-Israel/openbmc/blob/master/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/recipes-phosphor/interfaces/phosphor-rest/0001-add-kvm-handler.patch
>  > 3) webui is from
>  > https://gerrit.openbmc-project.xyz/#/c/openbmc/phosphor-webui/+/10268/
>  >
>  > Case1, Start the host OS to GUI mode, click the "refresh" Button on
>  > https://xxx.xxx.xxx.xxx/#/kvm page.
>  >
>  > Case2,  switch hostOS to console mode, click the "refresh" Button on
>  > https://xxx.xxx.xxx.xxx/#/kvm page.
>  >
>  > 1,Using obmc-ikvm commit 7dfac9ff2d1569aedf83175fb0427562c2188e63
>  > case1 is OK
>  > case2 refresh page fail, can not get the host screen.
>  >
>  > 2,Using obmc-ikvm commit
>  >   b9c253dca682d01e076ec6240ade2db151aec81a
>  > case1 is OK
>  > case2 is OK
>  >
>  > Best,
>  > xiuzhi
>  > ------------------ Original ------------------
>  > *From: * "jae.hyun.yoo";<jae.hyun.yoo@linux.intel.com>;
>  > *Date: * Feb 20, 2019
>  > *To: * "xiuzhi"<1450335857@qq.com>; "openbmc"<openbmc@lists.ozlabs.org>;
>  > *Subject: * Re: obmc-ikvm host OS console mode issue
>  >
>  > Hi xiuzhi,
>  >
>  > I don't think the commit causes the issue. Check aspeed-video driver
>  > module in kernel that what happens on video mode change events.
>  >
>  > Cheers,
>  > Jae
>  >
>  > On 2/19/2019 12:26 AM, xiuzhi wrote:
>  >  > Hi Jae,
>  >  >     I updated the obmc-ikvm commit
>  > 7dfac9ff2d1569aedf83175fb0427562c2188e63
>  >  >   It caused one issue:
>  >  > The ikvm only works on linux OS GUI mode,
>  >  > When I switch to os console mode, the ikvm can't get the host screen.
>  >  > Please check you commit.
>  >  >
>  >  > Best,
>  >  > xiuzhi
> 

  reply	other threads:[~2019-02-21 17:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21  6:27 obmc-ikvm host OS console mode issue xiuzhi
2019-02-21 17:22 ` Jae Hyun Yoo [this message]
2019-02-22  3:01   ` xiuzhi
2019-02-22 17:07     ` Jae Hyun Yoo
2019-02-22 19:39       ` Jae Hyun Yoo
2019-02-25  3:41         ` =?gb18030?B?eGl1emhp?=
  -- strict thread matches above, loose matches on Subject: below --
2019-02-20  3:21 xiuzhi
2019-02-19  8:26 xiuzhi
2019-02-19 19:34 ` Jae Hyun Yoo
2019-02-20  2:01   ` xiuzhi
2019-02-20 23:21     ` Jae Hyun Yoo

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=2648d3de-e949-3eee-c2be-cd8e119d4c7c@linux.intel.com \
    --to=jae.hyun.yoo@linux.intel.com \
    --cc=1450335857@qq.com \
    --cc=eajames@linux.vnet.ibm.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.