NetBSD Problem Report #60385
From www@netbsd.org Mon Jun 29 21:58:49 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "R13" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 6D05E1A923A
for <gnats-bugs@gnats.NetBSD.org>; Mon, 29 Jun 2026 21:58:49 +0000 (UTC)
Message-Id: <20260629215848.85CCD1A923B@mollari.NetBSD.org>
Date: Mon, 29 Jun 2026 21:58:48 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: missing machdep.booted_kernel
X-Send-Pr-Version: www-1.0
X-From4GNATS: "campbell+netbsd@mumble.net via gnats" <gnats-admin@NetBSD.org>
>Number: 60385
>Category: port-arm
>Synopsis: missing machdep.booted_kernel
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-arm-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 29 22:00:00 +0000 2026
>Originator: Taylor R Campbell
>Release: current, 11, 10, 9, ...
>Organization:
The BootBSD Foundbutwhere?
>Environment:
>Description:
I can never remember whether my arm gizmos boot from /netbsd or
/boot/netbsd.img or what.
On x86 I can use `sysctl machdep.booted_kernel' to remind me.
But on arm it's not there.
It would be nice if it were.
(Ditto other architectures, really, I just happen to be hitting
this right now on arm.)
>How-To-Repeat:
sysctl machdep.booted_kernel
>Fix:
Yes, please!
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.