The branch main has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=55efb3bf2b6edb8e1b888dc7ed52046f5b9b6591

commit 55efb3bf2b6edb8e1b888dc7ed52046f5b9b6591
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2025-06-12 15:06:04 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2025-06-12 15:34:07 +0000

    loader.conf: add LinuxKPI based wireless drivers to module_blacklist
    
    Despite being discouraged in the man page people are trying to load
    the driver from loader.  In that case firmware is missing and the
    root file system is not there yet and the LinuxKPI based drivers
    will panic the system on boot.  Simply avoid any further support
    trouble by disallowing them to be loaded from loader.
    If someone still wants to do it, they will need to figure out how
    to remove them from the blocklst and how to loader the firmware
    file(s) in advance themselves.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    PR:             287480
    Reviewed by:    imp
    Differential Revision: https://reviews.freebsd.org/D50817
---
 stand/defaults/loader.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/defaults/loader.conf b/stand/defaults/loader.conf
index 5d66708d30ef..1834e3ba3b34 100644
--- a/stand/defaults/loader.conf
+++ b/stand/defaults/loader.conf
@@ -111,7 +111,7 @@ kernels_autodetect="YES"    # Auto-detect kernel 
directories in /boot
 #console="vidconsole"          # A comma separated list of console(s)
 #currdev="disk1s1a"            # Set the current device
 module_path="/boot/modules;/boot/firmware;/boot/dtb;/boot/dtb/overlays"        
# Set the module search path
-module_blacklist="drm drm2 radeonkms i915kms amdgpu"   # Loader module 
blacklist
+module_blacklist="drm drm2 radeonkms i915kms amdgpu if_iwlwifi if_rtw88 
if_rtw89"      # Loader module blacklist
 #prompt="\\${interpret}"       # Set the command prompt
 #root_disk_unit="0"            # Force the root disk unit number
 #rootdev="disk1s1a"            # Set the root filesystem

Reply via email to