NetBSD Problem Report #59793
From www@netbsd.org Wed Nov 26 15:25:18 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 4A45D1A9239
for <gnats-bugs@gnats.NetBSD.org>; Wed, 26 Nov 2025 15:25:18 +0000 (UTC)
Message-Id: <20251126152517.320FB1A923A@mollari.NetBSD.org>
Date: Wed, 26 Nov 2025 15:25:17 +0000 (UTC)
From: thorpej@me.com
Reply-To: thorpej@me.com
To: gnats-bugs@NetBSD.org
Subject: ld_virtio assertion failure after forced kernel core dump during reboot
X-Send-Pr-Version: www-1.0
>Number: 59793
>Category: kern
>Synopsis: ld_virtio assertion failure after forced kernel core dump during reboot
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 26 15:30:00 +0000 2025
>Originator: Jason Thorpe
>Release: NetBSD 11.99.4
>Organization:
Knights of the CISCadel
>Environment:
NetBSD 11.99.4 on virt68k
>Description:
While gathering a kernel crash dump in order to do some libkvm development, ld_virtio had an assertion failure while rebooting:
[ 129.5899928] dumping to dev 2,1 offset 1048526
[ 129.5899928] dump 512 511 510 509 508 507 506 505 504 503 502 501 500 499 498
.
.
.
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 succeeded
[ 129.5899928] Skipping crash dump on recursive panic
[ 129.5899928] panic: kernel diagnostic assertion "vr->vr_bp == NULL" failed: file "../../../../dev/pci/ld_virtio.c", line 923
[ 129.5899928] cpu0: Begin traceback...
[ 129.5899928] ?(?)
[ 129.5899928] db_panic(1,1288080,27448a,274d81,bbd4db8) at 0
[ 129.5899928] vpanic(?)
[ 129.5899928] kern_assert(274d81,274d75,2aaf9c,2aaf7c,39b) + 184
[ 129.5899928] ld_virtio_ioctl(1288080,80046476,0,0,1) + 11c
[ 129.5899928] ld_flush() + 30
[ 129.5899928] cpu0: End traceback...
[ 129.5899928] rebooting...
>How-To-Repeat:
I triggered the issue by doing: "halt -d", but I don't know if it's reproducible (yet).
>Fix:
N/A
(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.