git: a22c61e95408 - stable/14 - loader.conf: add LinuxKPI based wireless drivers to module_blacklist
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Jun 2025 07:17:00 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=a22c61e954086eab0e64ed0844db3769f6c8496c
commit a22c61e954086eab0e64ed0844db3769f6c8496c
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-06-12 15:06:04 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-06-17 23:08:44 +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
PR: 287480
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D50817
(cherry picked from commit 55efb3bf2b6edb8e1b888dc7ed52046f5b9b6591)
---
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 c3de7cdfb74b..7397082ac29b 100644
--- a/stand/defaults/loader.conf
+++ b/stand/defaults/loader.conf
@@ -109,7 +109,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/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