diff options
author | gjb <gjb@FreeBSD.org> | 2014-04-27 16:40:40 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2014-04-27 16:40:40 +0000 |
commit | bb7c7a96141e622264dea170cc940422012ecf02 (patch) | |
tree | 5fbea84cd34c30eb59b4edec5637d9043b6f3008 /release/Makefile | |
parent | c3bdb37a0c272ec8422a37b2758ea1de0a723266 (diff) | |
download | FreeBSD-src-bb7c7a96141e622264dea170cc940422012ecf02.zip FreeBSD-src-bb7c7a96141e622264dea170cc940422012ecf02.tar.gz |
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
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile index c0f5506..92075f8 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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} |