From nobody Tue Feb 17 22:57:45 2026 X-Original-To: freebsd-pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fFw5y6X73z6SDbv; Tue, 17 Feb 2026 22:57:58 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo49.interia.pl (smtpo49.interia.pl [217.74.67.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4fFw5y30Cwz4H3Q; Tue, 17 Feb 2026 22:57:58 +0000 (UTC) (envelope-from vermaden@interia.pl) Authentication-Results: mx1.freebsd.org; none Date: Tue, 17 Feb 2026 23:57:45 +0100 From: vermaden Subject: Re: debugging 15.0-RELEASE kernel on 15.0p3? To: Colin Percival , Alan Somers , Michael W. Lucas Cc: "stable@freebsd.org" , freebsd-pkg@freebsd.org X-Mailer: interia.pl/pf09 In-Reply-To: <0100019c6d403fd1-da0238e5-482d-4425-831a-e07fc73d1edc-000000@email.amazonses.com> References: <0100019c6d403fd1-da0238e5-482d-4425-831a-e07fc73d1edc-000000@email.amazonses.com> X-Originating-IP: 45.148.42.20 Message-Id: List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=dk; t=1771369070; bh=5q7+C62cYQYkKRd4QrMtI8CHe5WkcOpdp8tzwC1JI5o=; h=Date:From:Subject:To:Message-Id:MIME-Version:Content-Type; b=SgilDJNZlcn9dJCQKi8roBuwQ9RETKc7QWvMnjtn+j9O8XhRySBMw1GkMC5mqmuyB 5mLmpl5CM31jDqu6nSJdHlcK0lC4i+vzTa19dBFOXvm5bcBgMedn8fJ44XRTWiDl5k fuxXroKC3rYLW6PKqzvi9X1WuPtUPFnkW+XE8Eug= X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16138, ipnet:217.74.64.0/22, country:PL] X-Rspamd-Queue-Id: 4fFw5y30Cwz4H3Q X-Spamd-Bar: ---- Hi, > pkg: No SRV record found for the repo 'FreeBSD-base' Generally this switch helps to overcome that (if its not DNS issue): - url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}", + url: "https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}", - mirror_type: "srv", + mirror_type: "none", Details here: - https://vermaden.wordpress.com/2026/01/07/freebsd-and-poudriere-in-high-s= ecurity-environments/ > The older packages are actually still there, but there's no way for you t= o find them. I would consider enabling 'dirlisting' for all pkg(8) related repositories = ... this 'blindness' does not help - it has been reported many times that h= ow many 'workarounds' one needs to do to manually fetch needed pkg(8) packa= ge. Regards, vermaden Temat: Re: debugging 15.0-RELEASE kernel on 15.0p3? Data: 2026-02-17 21:17 Nadawca: "Colin Percival" <cperciva@tarsnap.com> Adresat: "Alan Somers" <asomers@freebsd.org>; "Michael W. Lucas" <mwl= @mwl.io>;=20 DW: stable@freebsd.org;=20 >=20 >> On 2/17/26 11:41, Alan Somers wrote: >> On Tue, Feb 17, 2026 at 12:37=E2=80=AFPM Michael W. Lucas=20 wrote: >>> 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_relea= se_ >>> 0/" >>> but got: >>> pkg: No SRV record found for the repo 'FreeBSD-base' >=20 > That isn't going to work because pkg+https says "look up SRV records" and the > cloudfront.aws.pkgbase.freebsd.org endpoint is *what the SRV record points > at*. You could have used pkg+https://pkg.freebsd.org/, but that wasn't going > to work anyway since the repo will give you the latest packages (aka the -p3 > kernel). >=20 > The older packages are actually still there, but there's no way for you to > find them. >=20 >> 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. >=20 > The DVD image is the way to go. Either from kernel-dbg.txz or from the > pkgbase repo on the DVD image. But as Alan notes, this only works because > you crashed on the original release. >=20 > We should probably consider creating a separate stash of kernel debug packages > so people can fetch a not-most-recent version if needed. I never thought > about this until now. >=20 > Oh, a third option is to boot up an EC2 15.0-RELEASE-p1 image ("base" or > "cloud-init"; "small" doesn't have debug symbols). But I'm guessing you'd > prefer to look at your panic locally. >=20 > --=20 > Colin Percival > FreeBSD Release Engineering Lead & EC2 platform maintainer > Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid >=20 >=20 >=20 >=20