lkml.org 
[lkml]   [2023]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ktest.pl: Fix missing "end_monitor" when machine check fails
On Wed, 18 Jan 2023 11:43:01 -0500
Steven Rostedt <rostedt@goodmis.org> wrote:

> From: Steven Rostedt <rostedt@goodmis.org>
>
> In the "reboot" command, it does a check of the machine to see if it is
> still alive with a simple "ssh echo" command. If it fails, it will assume
> that a normal "ssh reboot" is not possible and force a power cycle.
>
> In this case, the "start_monitor" is executed, but the "end_monitor" is
> not, and this causes the screen not to be given back to the console. That
> is, after the test, a "reset" command needs to be performed, as "echo" is
> turned off.
>
> Fixes: 6474ace999edd ("ktest.pl: Powercycle the box on reboot if no connection can be made")
> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
> ---

Masami, I believe this will fix your issue with the console after running
the test.

-- Steve

\
 
 \ /
  Last update: 2023-03-26 23:46    [W:0.036 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site