kernel panic and fun debugging
Warner Losh
imp at bsdimp.com
Sat Oct 17 18:59:02 UTC 2020
On Sat, Oct 17, 2020, 12:00 PM Andrey V. Elsukov <bu7cher at yandex.ru> wrote:
> On 15.10.2020 09:56, Steve Kargl wrote:
> > Just had a kernel panic. Best info I give you is
> >
> > % uname -a
> > FreeBSD mobile 13.0-CURRENT FreeBSD 13.0-CURRENT #1 r366176M: Sat Sep 26
> 10:35:23 PDT 2020 kargl at mobile:/usr/obj/usr/src/i386.i386/sys/MOBILE
> i386
> >
> > % kgdb gdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.1
> > ...
> > Reading symbols from /usr/lib/debug/boot/kernel/kernel.debug...
> > /usr/ports/devel/gdb/work-py37/gdb-9.2/gdb/inferior.c:283:
> internal-error: struct inferior *find_inferior_pid(int): Assertion `pid !=
> 0' failed.
> > A problem internal to GDB has been detected,
> > further debugging may prove unreliable.
>
> Hi,
>
> do you have /var/crash/core.txt.1 file?
> It may have some useful info. Also did you try an old version
> /usr/libexec/kgdb ?
>
I got this same error, btw, when I pointed kgdb at the wrong kernel for the
core file.
But you can 'more' the uncompressed vmcore to get at least a traceback if
the proper kernel is gone...
Warner
--
> WBR, Andrey V. Elsukov
>
>
More information about the freebsd-current
mailing list