NetBSD Problem Report #59716
From paul@whooppee.com Mon Oct 20 07:34:58 2025
Return-Path: <paul@whooppee.com>
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 D26FF1A9239
for <gnats-bugs@gnats.NetBSD.org>; Mon, 20 Oct 2025 07:34:58 +0000 (UTC)
Message-Id: <20251020073455.938AB49AD14@speedy.whooppee.com>
Date: Mon, 20 Oct 2025 00:34:55 -0700 (PDT)
From: paul@whooppee.com
Reply-To: paul@whooppee.com
To: gnats-bugs@NetBSD.org
Subject: Need a mechanism to more selectively build and install modules
X-Send-Pr-Version: 3.95
>Number: 59716
>Category: kern
>Synopsis: Need a mechanism to more selectively build and install modules
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Oct 20 07:35:00 +0000 2025
>Last-Modified: Sun Dec 28 20:25:00 +0000 2025
>Originator: Paul Goyette
>Release: NetBSD 11.99.3
>Organization:
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | 1B11 1849 721C 56C8 F63A | paul@whooppee.com |
| Software Developer | 6E2E 05FD 15CE 9F2D 5102 | pgoyette@netbsd.org |
| & Network Engineer | | pgoyette99@gmail.com |
+---------------------+--------------------------+----------------------+
>Environment:
System: NetBSD speedy.whooppee.com 11.99.3 NetBSD 11.99.3 (SPEEDY 2025-10-02 05:04:28 UTC) #0: Thu Oct 2 08:10:57 UTC 2025 paul@speedy.whooppee.com:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
We need a mechanism to selectively build and install modules based on
bus attachment rather than only selecting based on machine and/or
architecture. Ref the following comment in $SRC/sys/modules/Makefile
starting at line 484
# For now, all of these are disabled, pending resolution of how to deal
# with attachment-specific modules and bus-specific modules (as opposed
# to machine- or architecture-specific modules)
.if 0
...
Note that there are more than 30 modules listed which aren't even
being compile-tested due to this lack of selectivity.
(Well, a few of them _are_ being built, tested, and used on my own
system, but my testing of even these few cannot be assumed to continue
indefinitely!)
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: "Paul Goyette" <pgoyette@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/59716 CVS commit: src/sys/modules
Date: Sun, 28 Dec 2025 20:24:56 +0000
Module Name: src
Committed By: pgoyette
Date: Sun Dec 28 20:24:56 UTC 2025
Modified Files:
src/sys/modules: Makefile
Log Message:
Cross-ref to PR/59716
To generate a diff of this commit:
cvs rdiff -u -r1.298 -r1.299 src/sys/modules/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.