[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#651624: Booting from zfs root seems to not work 8.3 and 10.0 however work



2011/12/12 Christoph Egger <christoph@christoph-egger.org>:
>> Please try setting vfs.zfs.debug=1 from GRUB and see if relevant
>> output turns up.
>
> [...]

Can't see anything relevant in those messages.  Could you rebuild
kfreebsd-9 with debug options (see attachment) and try that?  The
internal sanity checks might bring up something useful.

-- 
Robert Millan
--- kfreebsd-9/sys/amd64/conf/GENERIC	2011-12-10 21:56:22.876720247 +0100
+++ kfreebsd-10/sys/amd64/conf/GENERIC	2011-12-10 21:36:24.844192564 +0100
@@ -71,8 +71,20 @@
 #options 	KDTRACE_FRAME		# Ensure frames are compiled in
 #options 	KDTRACE_HOOKS		# Kernel DTrace hooks
 options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
-options 	KDB			# Kernel debugger related code
-options 	KDB_TRACE		# Print a stack trace for a panic
+
+# Debugging support.  Always need this:
+options 	KDB			# Enable kernel debugger support.
+# For minimum debugger support (stable branch) use:
+#options 	KDB_TRACE		# Print a stack trace for a panic.
+# For full debugger support use this instead:
+options 	DDB			# Support DDB.
+options 	GDB			# Support remote GDB.
+options 	DEADLKRES		# Enable the deadlock resolver
+options 	INVARIANTS		# Enable calls of extra sanity checking
+options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
+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
 
 # Make an SMP-capable kernel by default
 #options 	SMP			# Symmetric MultiProcessor Kernel

Reply to: