svn commit: r325378 - head/sys/dev/ipmi

Peter Wemm peter at wemm.org
Sun Nov 5 04:51:02 UTC 2017


On Saturday, November 04, 2017 03:01:58 AM Warner Losh wrote:
> Author: imp
> Date: Sat Nov  4 03:01:58 2017
> New Revision: 325378
> URL: https://svnweb.freebsd.org/changeset/base/325378
> 
> Log:
>   Make the startup timeout 0 seconds by default rathern than 420s.  This
>   makes the default fail safe when watchdogd is disabled (which is also
>   the default).

We're still getting unanticipated reboots.

I think what is happening is:
1) orderly reboot initiated.
2) By default, the watchdog code sets a 420 second timer, even with no 
watchdogd.
3) reboot complets, system comes up. 
4) A few minutes later, the pre-reboot 420 second timer expires and *another* 
reboot happens.

Setting hw.ipmi.on="0" in loader.conf stops this...

eg: reboot at 4:41:47.. system comes back up, and later:
...
Uptime: 322 Sun Nov 5 04:48:45 UTC 2017
Uptime: 323 Sun Nov 5 04:48:46 UTC 2017
Uptime: 324 Sun Nov 5 04:48:47 UTC 2017
Stopping cron.
Waiting for PIDS: 1004.
Stopping sshd.
Waiting for PIDS: 994.
Stopping nginx.
...
That's exactly 420 seconds after the original reboot which matches the 
wd_shutdown_countdown timer that is still enabled.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV
UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20171104/5aadb98c/attachment.sig>


More information about the svn-src-head mailing list