Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jul 2023 09:55:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 272319] FreeBSD kernel crash on MPD5 restart with PPP configuration.
Message-ID:  <bug-272319-7501-xDe91ZXttQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272319-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272319-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=3D272319

--- Comment #4 from Eugene Grosbein <eugen@freebsd.org> ---
I've added some debugging options to my kernel:

options         INVARIANT_SUPPORT
options         INVARIANTS
options         WITNESS
options         WITNESS_KDB

And got more sane panic message:

panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netgraph/ng_ksocket.c=
:940

(kgdb) bt
#0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
#1  doadump (textdump=3D<optimized out>) at /usr/src/sys/kern/kern_shutdown=
.c:371
#2  0xffffffff804c6eef in kern_reboot (howto=3D260) at
/usr/src/sys/kern/kern_shutdown.c:452
#3  0xffffffff804c7251 in vpanic (fmt=3D<optimized out>, ap=3D0xfffffe00184=
e6280)
    at /usr/src/sys/kern/kern_shutdown.c:881
#4  0xffffffff804c7093 in panic (fmt=3D<unavailable>) at
/usr/src/sys/kern/kern_shutdown.c:808
#5  0xffffffff804a77a0 in __mtx_lock_flags (c=3D0xfffff8004da77ba8,
opts=3D<optimized out>,
    file=3D0xffffffff807e1b04 "/usr/src/sys/netgraph/ng_ksocket.c", line=3D=
940)
    at /usr/src/sys/kern/kern_mutex.c:261
#6  0xffffffff805e1478 in ng_ksocket_shutdown (node=3D0xfffff8001066f100)
    at /usr/src/sys/netgraph/ng_ksocket.c:940
#7  0xffffffff805db00f in ng_rmnode (node=3D0xfffff8001066f100, dummy1=3D<o=
ptimized
out>,
    dummy2=3D<optimized out>, dummy3=3D<optimized out>) at
/usr/src/sys/netgraph/ng_base.c:757
#8  0xffffffff805dcec9 in ng_apply_item (node=3D<unavailable>,
item=3D<unavailable>, rw=3D1)
    at /usr/src/sys/netgraph/ng_base.c:2477
#9  0xffffffff805e0080 in ngthread (arg=3D<optimized out>) at
/usr/src/sys/netgraph/ng_base.c:3439
#10 0xffffffff804891c0 in fork_exit (callout=3D0xffffffff805dfea0 <ngthread=
>,
arg=3D0x0,
    frame=3D0xfffffe00184e6480) at /usr/src/sys/kern/kern_fork.c:1080
#11 <signal handler called>

--=20
You are receiving this mail because:
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-272319-7501-xDe91ZXttQ>