Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2017 05:05:19 +0000 (UTC)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325425 - head/sys/dev/ipmi
Message-ID:  <201711050505.vA555JSf067297@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: peter
Date: Sun Nov  5 05:05:18 2017
New Revision: 325425
URL: https://svnweb.freebsd.org/changeset/base/325425

Log:
  As a follow-on to r325378, make the shutdown timer default to 0 as well.
  
  Otherwise an orderly shutdown will initiate a watchdog that will cause
  a 7 minute delayed reboot *by default*,  In the freebsd.org cluster's case
  this often worked out be a surprise reboot a minute or two after the
  machine came back up.

Modified:
  head/sys/dev/ipmi/ipmi.c

Modified: head/sys/dev/ipmi/ipmi.c
==============================================================================
--- head/sys/dev/ipmi/ipmi.c	Sun Nov  5 04:28:05 2017	(r325424)
+++ head/sys/dev/ipmi/ipmi.c	Sun Nov  5 05:05:18 2017	(r325425)
@@ -83,7 +83,7 @@ int ipmi_attached = 0;
 static int on = 1;
 static bool wd_in_shutdown = false;
 static int wd_timer_actions = IPMI_SET_WD_ACTION_POWER_CYCLE;
-static int wd_shutdown_countdown = 420; /* sec */
+static int wd_shutdown_countdown = 0; /* sec */
 static int wd_startup_countdown = 0; /* sec */
 static int wd_pretimeout_countdown = 120; /* sec */
 static int cycle_wait = 10; /* sec */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711050505.vA555JSf067297>