Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp89668imu; Mon, 26 Nov 2018 17:32:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/UGBNQibWl1aGdbsPX4zbuEAKTGxOCFL6lrWjYDpF/12gqmEaQoPgiw9ehEvawOesBa9w+N X-Received: by 2002:a17:902:2ac3:: with SMTP id j61mr30201420plb.185.1543282335220; Mon, 26 Nov 2018 17:32:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543282335; cv=none; d=google.com; s=arc-20160816; b=XqwoYd+Go4fymqV987x5p0FrFXURIeQJhAHqP0sXfsn2VpvoW+XeSmocUuA3cHN/b+ MA0kNwQDkTYFC9hjBWJ+/mwqPdx0pJ+De7oYUUUJno8Z3A+dlChKc/iMHGd7+kS4VQ/O 7YFMKUpKb0m5s9jqb4gzPiBAxeqqIm+zTTXhwm4Kx/hdMAsU5FQoaW5jtvlFsXIeuvlV mmqVT+MvlfFhxYw/TfMXtgpthlxBb4uOp+zniuAjNDV4xgLcJ3DjEJB/sfhrylOM7WED l1pMcM1VAr16FNCeZM8sZKCRgmd3QoYFcc9HgNMUG6HkwklcDCOAselrfl0WvDpR3aVl OI0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date; bh=i/KG0kNyJCF1SZi/0NVhdoYkMyPp015NDzpwxFLJ758=; b=aDfurogl5H+PbTFvYd33O2WJSlAzUrzXaY7rA1AIOoWOBFju/eF1476AGx/CdvCykh 0j5BU2CrJQ6F/1DWwRoZmcWcZ5Z7ewgPQk7mKJOxnK05SwTTXTnoA8pGBZ0hsrpyIfPQ lSHMWuKlRCF48lU9sOQ4Rx/l0s31io7GSXndiAUid/qp+nWNP5V0223uoQ7G9Aq/HiUz MtpK+cLPD2OVyUjobUH3yrVMPr1eJMvoysPI19CCr4BsVheBNKFugao2PTPI18yh2Rui PQaU+RTiNUBGIGNQCd6Vz/k37ANA0HIeiGCxDvxDkbPdjvB7qy1OW4d6UuDf/5hninBi TwVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3si1925133pgf.453.2018.11.26.17.31.58; Mon, 26 Nov 2018 17:32:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727761AbeK0M12 (ORCPT + 99 others); Tue, 27 Nov 2018 07:27:28 -0500 Received: from g9t1613g.houston.hpe.com ([15.241.32.99]:3375 "EHLO g9t1613g.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbeK0M12 (ORCPT ); Tue, 27 Nov 2018 07:27:28 -0500 Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by g9t1613g.houston.hpe.com (Postfix) with ESMTPS id 3BA5560B67; Tue, 27 Nov 2018 01:31:21 +0000 (UTC) Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id 2CEAF59; Tue, 27 Nov 2018 01:31:19 +0000 (UTC) Received: from anatevka (anatevka.americas.hpqcorp.net [10.34.81.61]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id EA62C49; Tue, 27 Nov 2018 01:31:17 +0000 (UTC) Date: Mon, 26 Nov 2018 18:31:17 -0700 From: Jerry Hoemann To: Tao Ren Cc: Guenter Roeck , Wim Van Sebroeck , "linux-watchdog@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "openbmc@lists.ozlabs.org" Subject: Re: [PATCH] watchdog: core: suppress "watchdog did not stop" message Message-ID: <20181127013117.GB11080@anatevka> Reply-To: Jerry.Hoemann@hpe.com References: <20181115234413.27009-1-taoren@fb.com> <20181116001938.GA16009@roeck-us.net> <9a43bb84-f476-d6c8-886a-2120312ee8e7@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9a43bb84-f476-d6c8-886a-2120312ee8e7@fb.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 16, 2018 at 12:37:28AM +0000, Tao Ren wrote: > On 11/15/18 4:19 PM, Guenter Roeck wrote: > > NACK. This message is displayed if/when the watchdog application > > exits without stopping the watchdog and/or without closing properly. > > This _is_ critical since it will reboot the system after the next > > timeout period. > > > > If userspace triggers this message on purpose (eg by the mentioned > > script, which does not exit properly), userspace is at fault, > > not the kernel. > > > > Guenter > > Thank you for the quick response, Guenter. I see the log each time when I reboot my system, and when I searched the message in google, I also found posts asking why the message is printed at reboot, and that's why I feel it's confusing. > > Anyways, please ignore the patch since it's necessary. Tao, If you're on a system running systemd, the default behavior is to enable the watchdog during shutdown. This guards against shutdown hanging. So this message will be routinely printed out during orderly shutdown. See file: /etc/systemd/system.conf ---------------------------------- ... # Entries in this file show the compile time defaults. ... #ShutdownWatchdogSec=10min -- ----------------------------------------------------------------------------- Jerry Hoemann Software Engineer Hewlett Packard Enterprise -----------------------------------------------------------------------------