NetBSD Problem Report #59794

From www@netbsd.org  Wed Nov 26 15:37:55 2025
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EE2041A9239
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 26 Nov 2025 15:37:54 +0000 (UTC)
Message-Id: <20251126153753.91B9C1A923A@mollari.NetBSD.org>
Date: Wed, 26 Nov 2025 15:37:53 +0000 (UTC)
From: thorpej@me.com
Reply-To: thorpej@me.com
To: gnats-bugs@NetBSD.org
Subject: savecore(8) should not require an accessible kernel binary for basic "save the crash dump" functionality
X-Send-Pr-Version: www-1.0

>Number:         59794
>Category:       bin
>Synopsis:       savecore(8) should not require an accessible kernel binary for basic "save the crash dump" functionality
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 26 15:40:00 +0000 2025
>Originator:     Jason Thorpe
>Release:        NetBSD 11.99.4
>Organization:
Knights of the CISCadel
>Environment:
NetBSD virt68k 11.99.4 NetBSD 11.99.4 (GENERIC) #162: Mon Nov 24 08:28:07 PST 2025  thorpej@dhcp-171.ktnet:/Users/thorpej/NetBSD/current/m68k/src/sys/arch/virt68k/compile/GENERIC virt68k

>Description:
savecore(8) requires a kernel image in order to access various things that, while seemingly nice to have, do not seem to be critical for the basic task of "extract crash dump from dump device and write it out to /var/crash".  This is particularly annoying on systems where the kernel is loaded not out of the root file system, but via some other mechanism (e.g. on the command line of an emulator, as with virt68k).
>How-To-Repeat:
Try to use savecore(8) on virt68k.
>Fix:
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.