NetBSD Problem Report #58821

From martin@aprisoft.de  Sun Nov 10 11:55:48 2024
Return-Path: <martin@aprisoft.de>
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 370EA1A9238
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 10 Nov 2024 11:55:48 +0000 (UTC)
Message-Id: <20241110115539.BB7765CC79B@emmas.aprisoft.de>
Date: Sun, 10 Nov 2024 12:55:39 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: boot.cfg does not allow loading multiple modules
X-Send-Pr-Version: 3.95

>Number:         58821
>Category:       port-amd64
>Synopsis:       boot.cfg does not allow loading multiple modules
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 10 12:00:00 +0000 2024
>Closed-Date:    Sun Nov 10 12:55:00 +0000 2024
>Last-Modified:  Sun Nov 10 12:55:00 +0000 2024
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.12
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD big-apple.aprisoft.de 10.99.12 NetBSD 10.99.12 (POWERMAC_G5.MP) #121: Wed Sep 25 13:34:14 CEST 2024 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/macppc/compile/POWERMAC_G5.MP macppc
Architecture: powerpc
Machine: macppc
>Description:

My boot.cfg says:

--8<--
clear=1
timeout=0
load pciverbose
load acpiverbose
menu=:fs cgdrd.img;boot netbsd -vx
-->8--

so I would expect bot pciverbose and acpiverbose to be present in the kernel
after booting.

However, modstat only shows 
[/tmp] master-of-confusion # modstat | fgrep verbose
hdaudioverbose             driver   builtin  -        0       - -
pciverbose                 driver   builtin  -        0       - pci
scsiverbose                misc     builtin  -        0       - -

The bootloader code looks like it creates a list of modules, so I expected
this to work.

The man pages (neither boot(8) nor boot.cfg(5)) explain this case, AFAICT.

>How-To-Repeat:
s/a

>Fix:
n/a

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sun, 10 Nov 2024 12:55:00 +0000
State-Changed-Why:
syntax error in boot.cfg (need load= in this part, only can
do "boot prompt command syntax" in a menu line after :)



>Unformatted:

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.