[Bug 198208] FreeBSD 10.1 multiple kernel panics

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 25 20:22:40 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198208

Mateusz Guzik <mjg at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjg at FreeBSD.org

--- Comment #7 from Mateusz Guzik <mjg at FreeBSD.org> ---
(In reply to Dan from comment #6)

Please build a debug kernel.

The following (somewhat spurious) options added to your kernel config should do
the trick:

# Debugging support.  Always need this:
options         KDB                     # Enable kernel debugger support.
options         KDB_TRACE               # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
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
options         DEBUG_VFS_LOCKS

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list