Re: debugging 15.0-RELEASE kernel on 15.0p3?

Alan Somers <[email protected]>
Newsgroups gmane.os.freebsd.stable
Message-ID <CAOtMX2gZSk8Zb4MPO6jXBYdp6ydGp_i-FDLo6g5qN7hKAc1L-A@mail.gmail.com>
On Tue, Feb 17, 2026 at 12:37 PM Michael W. Lucas <[email protected]> wrote:
>
> Hi,
>
> I got my first kernel panic in ten years! (Was attempting to add a 32nd
> zvol-backed drive to a bhyve guest.)
>
> This host didn't have kernel debug symbols. I went to install them and
> discovered my host needed updates. Thoughtlessly, I grabbed the new
> kernel and the new symbols.
>
> Oops. You can't debug a 15.0 kernel on 15.0p3.
>
> bucket/var/crash;kgdb -n 0
> kgdb: couldn't find a suitable kernel image
>
> I have a 15.0 boot environment I could boot into, if there's a way to
> install the debugging symbols? Or is there a way to pull the old
> kernel and debug symbols down on the current BE?
>
> On dch's advice I tried setting the pkg.conf URL:
>   url:
> "pkg+https://cloudfront.aws.pkgbase.freebsd.org/FreeBSD:15:amd64/base_release_
> 0/"
> but got:
> pkg: No SRV record found for the repo 'FreeBSD-base'
>
>
> Thanks,
> ==ml
>
> PS: I shoulda just done make world, that way I'd have /boot/kernel.old. ;-)
>
>
>
> --
> Michael W.(Warren) Lucas        https://mwl.link/

You can probably install the symbols from the DVD image.  They're in
the kernel-dbg.txz dist set.  That should work for you, since your
crash happened in 15.0.  But the same technique wouldn't work if you
had crashed at, say, 15.0-p1.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.