Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2014 16:40:40 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265018 - head/release
Message-ID:  <201404271640.s3RGeeab031046@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Sun Apr 27 16:40:40 2014
New Revision: 265018
URL: http://svnweb.freebsd.org/changeset/base/265018

Log:
  Turn off the full witness trace on console output.
  
  On head/, or more specifically, when WITNESS is in
  the kernel config, the console is spammed excessively
  with lock order reversal between isofs and devfs.
  
  Set debug.witness.trace=0 in the installer sysctl.conf
  to avoid printing the full KDB stack backtrace.  This
  does not prevent printing the lock order reversal has
  happened, only lessens the console spam.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/release/Makefile

Modified: head/release/Makefile
==============================================================================
--- head/release/Makefile	Sun Apr 27 16:34:59 2014	(r265017)
+++ head/release/Makefile	Sun Apr 27 16:40:40 2014	(r265018)
@@ -164,6 +164,7 @@ system: packagesystem
 	ln -fs /tmp/bsdinstall_etc/resolv.conf release/etc/resolv.conf
 	echo sendmail_enable=\"NONE\" > release/etc/rc.conf
 	echo hostid_enable=\"NO\" >> release/etc/rc.conf
+	echo debug.witness.trace=0 >> release/etc/sysctl.conf
 	cp ${.CURDIR}/rc.local release/etc
 	touch ${.TARGET}
 
@@ -188,6 +189,7 @@ bootonly: packagesystem
 	ln -fs /tmp/bsdinstall_etc/resolv.conf bootonly/etc/resolv.conf
 	echo sendmail_enable=\"NONE\" > bootonly/etc/rc.conf
 	echo hostid_enable=\"NO\" >> bootonly/etc/rc.conf
+	echo debug.witness.trace=0 >> bootonly/etc/sysctl.conf
 	cp ${.CURDIR}/rc.local bootonly/etc
 
 dvd:
@@ -206,6 +208,7 @@ dvd:
 	ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
 	echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
 	echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
+	echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
 	cp ${.CURDIR}/rc.local ${.TARGET}/etc
 	touch ${.TARGET}
 



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