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=3D278394

--- 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+=3D-g merely instructs the compiler to in=
clude
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 proble=
m 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):=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
options         BUF_TRACKING            # Track buffer history=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
options         DDB                     # Support DDB.=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
options         FULL_BUF_TRACKING       # Track more buffer history=20=20=
=20=20=20=20=20=20=20=20=20=20=20
options         GDB                     # Support remote GDB.=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
options         DEADLKRES               # Enable the deadlock resolver=20=
=20=20=20=20=20=20=20=20=20
options         INVARIANTS              # Enable calls of extra sanity chec=
king=20
options         INVARIANT_SUPPORT       # Extra sanity checks of internal
structures, required by INVARIANTS=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
options         QUEUE_MACRO_DEBUG_TRASH # Trash queue(2) internal pointers =
on
invalidation=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
options         WITNESS                 # Enable checks to detect deadlocks=
 and
cycles=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for
speed=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
options         MALLOC_DEBUG_MAXZONES=3D8 # Separate malloc(9) zones=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
options         VERBOSE_SYSINIT=3D0       # Support debug.verbose_sysinit, =
off by
default

--=20
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>