svn commit: r265018 - head/release

Glen Barber gjb at FreeBSD.org
Sun Apr 27 16:40:40 UTC 2014


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}
 


More information about the svn-src-all mailing list