Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 05:13:53 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257421 - head/sys/dev/ipmi
Message-ID:  <201310310513.r9V5DrYI029040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Thu Oct 31 05:13:53 2013
New Revision: 257421
URL: http://svnweb.freebsd.org/changeset/base/257421

Log:
  Provide a crutch that prevents watchdog to interrupt dumping
  on a box with IPMI enabled.
  
  Okay from:	jhb
  Sponsored by:	Netflix
  Sponsored by:	Nginx, Inc.

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

Modified: head/sys/dev/ipmi/ipmi.c
==============================================================================
--- head/sys/dev/ipmi/ipmi.c	Thu Oct 31 05:00:50 2013	(r257420)
+++ head/sys/dev/ipmi/ipmi.c	Thu Oct 31 05:13:53 2013	(r257421)
@@ -647,6 +647,9 @@ ipmi_wd_event(void *arg, unsigned int cm
 	unsigned int timeout;
 	int e;
 
+	if (dumping)
+		return;
+
 	cmd &= WD_INTERVAL;
 	if (cmd > 0 && cmd <= 63) {
 		timeout = ((uint64_t)1 << cmd) / 1000000000;



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