svn commit: r339973 - in head/sys: amd64/conf arm/conf arm64/conf i386/conf powerpc/conf riscv/conf sparc64/conf

Kyle Evans kevans at FreeBSD.org
Wed Oct 31 22:38:23 UTC 2018


Author: kevans
Date: Wed Oct 31 22:38:19 2018
New Revision: 339973
URL: https://svnweb.freebsd.org/changeset/base/339973

Log:
  Compile in VERBOSE_SYSINIT support by default, remain silent by default
  
  The loader tunable 'debug.verbose_sysinit' may be used to toggle verbosity.
  This is added to the debugging section of these kernconfs to be turned off
  in stable branches for clarity of intent.
  
  MFC after:	never

Modified:
  head/sys/amd64/conf/GENERIC
  head/sys/amd64/conf/MINIMAL
  head/sys/arm/conf/std.arm
  head/sys/arm/conf/std.armv6
  head/sys/arm/conf/std.armv7
  head/sys/arm64/conf/GENERIC
  head/sys/i386/conf/GENERIC
  head/sys/powerpc/conf/GENERIC
  head/sys/powerpc/conf/GENERIC64
  head/sys/riscv/conf/GENERIC
  head/sys/sparc64/conf/GENERIC

Modified: head/sys/amd64/conf/GENERIC
==============================================================================
--- head/sys/amd64/conf/GENERIC	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/amd64/conf/GENERIC	Wed Oct 31 22:38:19 2018	(r339973)
@@ -99,6 +99,7 @@ options 	INVARIANT_SUPPORT	# Extra sanity checks of in
 options 	WITNESS			# Enable checks to detect deadlocks and cycles
 options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: head/sys/amd64/conf/MINIMAL
==============================================================================
--- head/sys/amd64/conf/MINIMAL	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/amd64/conf/MINIMAL	Wed Oct 31 22:38:19 2018	(r339973)
@@ -91,6 +91,7 @@ options 	INVARIANT_SUPPORT	# Extra sanity checks of in
 options 	WITNESS			# Enable checks to detect deadlocks and cycles
 options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Make an SMP-capable kernel by default
 options 	SMP			# Symmetric MultiProcessor Kernel

Modified: head/sys/arm/conf/std.arm
==============================================================================
--- head/sys/arm/conf/std.arm	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/arm/conf/std.arm	Wed Oct 31 22:38:19 2018	(r339973)
@@ -20,6 +20,7 @@ options 	WITNESS_SKIPSPIN	# Don't run witness on spinl
 #options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
 options 	ALT_BREAK_TO_DEBUGGER	# Enter debugger on keyboard escape sequence
 options 	USB_DEBUG		# Enable usb debug support code
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Optional extras, never enabled by default:
 #options 	BOOTVERBOSE
@@ -31,7 +32,6 @@ options 	USB_DEBUG		# Enable usb debug support code
 #options 	KTR_VERBOSE=0
 #options 	USB_REQ_DEBUG
 #options 	USB_VERBOSE
-#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
 
 
 

Modified: head/sys/arm/conf/std.armv6
==============================================================================
--- head/sys/arm/conf/std.armv6	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/arm/conf/std.armv6	Wed Oct 31 22:38:19 2018	(r339973)
@@ -70,6 +70,7 @@ options 	WITNESS_SKIPSPIN	# Don't run witness on spinl
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
 options 	ALT_BREAK_TO_DEBUGGER	# Enter debugger on keyboard escape sequence
 options 	USB_DEBUG		# Enable usb debug support code
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Optional extras, never enabled by default:
 #options 	BOOTVERBOSE
@@ -81,5 +82,4 @@ options 	USB_DEBUG		# Enable usb debug support code
 #options 	KTR_VERBOSE=0
 #options 	USB_REQ_DEBUG
 #options 	USB_VERBOSE
-#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
 

Modified: head/sys/arm/conf/std.armv7
==============================================================================
--- head/sys/arm/conf/std.armv7	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/arm/conf/std.armv7	Wed Oct 31 22:38:19 2018	(r339973)
@@ -70,6 +70,7 @@ options 	WITNESS_SKIPSPIN	# Don't run witness on spinl
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
 options 	ALT_BREAK_TO_DEBUGGER	# Enter debugger on keyboard escape sequence
 options 	USB_DEBUG		# Enable usb debug support code
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Optional extras, never enabled by default:
 #options 	BOOTVERBOSE
@@ -81,4 +82,3 @@ options 	USB_DEBUG		# Enable usb debug support code
 #options 	KTR_VERBOSE=0
 #options 	USB_REQ_DEBUG
 #options 	USB_VERBOSE
-#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages

Modified: head/sys/arm64/conf/GENERIC
==============================================================================
--- head/sys/arm64/conf/GENERIC	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/arm64/conf/GENERIC	Wed Oct 31 22:38:19 2018	(r339973)
@@ -91,6 +91,7 @@ options 	WITNESS_SKIPSPIN	# Don't run witness on spinl
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
 options 	ALT_BREAK_TO_DEBUGGER	# Enter debugger on keyboard escape sequence
 options 	USB_DEBUG		# enable debug msgs
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: head/sys/i386/conf/GENERIC
==============================================================================
--- head/sys/i386/conf/GENERIC	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/i386/conf/GENERIC	Wed Oct 31 22:38:19 2018	(r339973)
@@ -93,6 +93,7 @@ options 	INVARIANT_SUPPORT	# Extra sanity checks of in
 options 	WITNESS			# Enable checks to detect deadlocks and cycles
 options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: head/sys/powerpc/conf/GENERIC
==============================================================================
--- head/sys/powerpc/conf/GENERIC	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/powerpc/conf/GENERIC	Wed Oct 31 22:38:19 2018	(r339973)
@@ -98,6 +98,7 @@ options 	INVARIANT_SUPPORT	#Extra sanity checks of int
 options 	WITNESS			#Enable checks to detect deadlocks and cycles
 options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: head/sys/powerpc/conf/GENERIC64
==============================================================================
--- head/sys/powerpc/conf/GENERIC64	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/powerpc/conf/GENERIC64	Wed Oct 31 22:38:19 2018	(r339973)
@@ -95,6 +95,7 @@ options 	INVARIANT_SUPPORT	#Extra sanity checks of int
 options 	WITNESS			#Enable checks to detect deadlocks and cycles
 options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: head/sys/riscv/conf/GENERIC
==============================================================================
--- head/sys/riscv/conf/GENERIC	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/riscv/conf/GENERIC	Wed Oct 31 22:38:19 2018	(r339973)
@@ -124,7 +124,7 @@ options 	INVARIANT_SUPPORT	# Extra sanity checks of in
 # options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
 # options 	EARLY_PRINTF
-# options 	VERBOSE_SYSINIT
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Kernel dump features.
 options		ZSTDIO			# zstd-compressed kernel and user dumps

Modified: head/sys/sparc64/conf/GENERIC
==============================================================================
--- head/sys/sparc64/conf/GENERIC	Wed Oct 31 20:42:18 2018	(r339972)
+++ head/sys/sparc64/conf/GENERIC	Wed Oct 31 22:38:19 2018	(r339973)
@@ -88,6 +88,7 @@ options 	INVARIANT_SUPPORT	# Extra sanity checks of in
 options 	WITNESS			# Enable checks to detect deadlocks and cycles
 options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
 options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
+options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps


More information about the svn-src-head mailing list