Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2024 13:50:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP)
Message-ID:  <bug-278394-7501-TU8TakWv0t@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278394-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278394-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #14 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Gregory Neil Shapiro from comment #10)
So, if you're building a kernel from releng/14.0, GENERIC doesn't have
debugging options enabled.  DEBUG+=-g merely instructs the compiler to include
debug symbols in the output, which helps debuggers but doesn't enable
assertions, invariants checking, etc..

We don't include a debug kernel config on releng branches (this is a problem to
be fixed).  You can add the following lines (taken from GENERIC on main) to
enable more checking which will hopefully catch a problem before the double
fault occurs:

# For full debugger support use (turn off in stable branch):                    
options         BUF_TRACKING            # Track buffer history                  
options         DDB                     # Support DDB.                          
options         FULL_BUF_TRACKING       # Track more buffer history             
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         QUEUE_MACRO_DEBUG_TRASH # Trash queue(2) internal pointers on
invalidation                                                                    
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

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278394-7501-TU8TakWv0t>