From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13F3EC46467 for ; Wed, 18 Jan 2023 16:44:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230406AbjARQo1 (ORCPT ); Wed, 18 Jan 2023 11:44:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbjARQnq (ORCPT ); Wed, 18 Jan 2023 11:43:46 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8906B3754D for ; Wed, 18 Jan 2023 08:43:45 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id D9FA7CE1D3A for ; Wed, 18 Jan 2023 16:43:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C87B6C433D2; Wed, 18 Jan 2023 16:43:41 +0000 (UTC) Date: Wed, 18 Jan 2023 11:43:40 -0500 From: Steven Rostedt To: LKML Cc: Masami Hiramatsu Subject: Re: [PATCH] ktest.pl: Fix missing "end_monitor" when machine check fails Message-ID: <20230118114340.704eca59@gandalf.local.home> In-Reply-To: <20230118114301.6b4d09cf@gandalf.local.home> References: <20230118114301.6b4d09cf@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Jan 2023 11:43:01 -0500 Steven Rostedt wrote: > From: Steven Rostedt > > 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 > --- Masami, I believe this will fix your issue with the console after running the test. -- Steve