NetBSD Problem Report #60360

From www@netbsd.org  Wed Jun 24 01:20:20 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)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "R13" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 05C431A923A
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Jun 2026 01:20:19 +0000 (UTC)
Message-Id: <20260624012019.1E4971A923B@mollari.NetBSD.org>
Date: Wed, 24 Jun 2026 01:20:19 +0000 (UTC)
From: agc@pkgsrc.org
Reply-To: agc@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: sysinst: unpacking dtb set overflows the boot partition when provisioning new aarch64 VM
X-Send-Pr-Version: www-1.0
X-From4GNATS: "agc@pkgsrc.org via gnats" <gnats-admin@NetBSD.org>

>Number:         60360
>Category:       install
>Synopsis:       sysinst: unpacking dtb set overflows the boot partition when provisioning new aarch64 VM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 24 01:25:00 +0000 2026
>Last-Modified:  Thu Jun 25 15:15:01 +0000 2026
>Originator:     Alistair Crooks
>Release:        NetBSD-11.99.6 (from DAILY iso) 23-Jun-2026 19:53
>Organization:
None
>Environment:
Similar to: NetBSD agc-vm-20250222.localdomain 11.99.6 NetBSD 11.99.6 (GENERIC64) #0: Mon Jun 22 13:50:23 PDT 2026  agc@agc-vm-20250222.localdomain:/usr/build/obj/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
>Description:
When unpacking all sets on aarch64 (in a Fusion VM), an attempt is made to unpack the dtb set, which overflows the boot partition (it seems to be 64 sectors by default). dtb isn't needed under Fusion.
>How-To-Repeat:
Unpack sets on aarch64 install via sysinst
>Fix:
Either don't automatically install dtb sets when not needed (which might be a tad difficult a priori), or make the /boot partition a tad larger

>Audit-Trail:
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/60360 CVS commit: src/usr.sbin/sysinst
Date: Wed, 24 Jun 2026 10:33:22 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Jun 24 10:33:22 UTC 2026

 Modified Files:
 	src/usr.sbin/sysinst: util.c
 	src/usr.sbin/sysinst/arch/evbarm: md.c md.h

 Log Message:
 PR 60360: make the default /boot partition on evbarm 64MB if we need
 the dtb set (the newer dtb files overflow the old 32mb default).
 In ACPI environments where we do not need dtb installed, do not select
 the set by default.


 To generate a diff of this commit:
 cvs rdiff -u -r1.80 -r1.81 src/usr.sbin/sysinst/util.c
 cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sysinst/arch/evbarm/md.c
 cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/sysinst/arch/evbarm/md.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Julian Coleman" <jdc@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/60360 CVS commit: [netbsd-11] src/usr.sbin/sysinst
Date: Thu, 25 Jun 2026 15:10:09 +0000

 Module Name:	src
 Committed By:	jdc
 Date:		Thu Jun 25 15:10:09 UTC 2026

 Modified Files:
 	src/usr.sbin/sysinst [netbsd-11]: util.c
 	src/usr.sbin/sysinst/arch/evbarm [netbsd-11]: md.c md.h

 Log Message:
 Pull up the following revisions, requested by martin in ticket #327:

 src/usr.sbin/sysinst/util.c			1.81
 src/usr.sbin/sysinst/arch/evbarm/md.c		1.24
 src/usr.sbin/sysinst/arch/evbarm/md.h		1.10

 PR 60360: make the default /boot partition on evbarm 64MB if we need
 the dtb set (the newer dtb files overflow the old 32mb default).
 In ACPI environments where we do not need dtb installed, do not select
 the set by default.


 To generate a diff of this commit:
 cvs rdiff -u -r1.77.4.3 -r1.77.4.4 src/usr.sbin/sysinst/util.c
 cvs rdiff -u -r1.23 -r1.23.2.1 src/usr.sbin/sysinst/arch/evbarm/md.c
 cvs rdiff -u -r1.9 -r1.9.4.1 src/usr.sbin/sysinst/arch/evbarm/md.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(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.