[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1021918: #1021918: Kernel module blacklisting doesn't work



Hello,

On 07/01/2023, Ian Jackson wrote :

We edited the vmlinuz line in the installer image boot menu (we were
using the non-graphical installer) to add
   modprobe.blacklist=rtw88_8723de
(...)
The installer had *not* included anything in GRUB_CMDLINE_LINUX.

Did you add the parameter before or after "---" ? As explained previously, only parameters located after "---" are added to the target system /etc/default/grub GRUB_CMDLINE_LINUX by grub-installer. Parameters located before "---" are intended for the installer only, not the target system.

Note: modprobe.blacklist=<module> or "blacklist <module>" only prevent modprobe from loading the module by alias (mostly when called by udev). It does not prevent modprobe from loading the module by name or dependency of another module nor loading the module by pathname with insmod. Since v4.8, the kernel supports the parameter module_blacklist=<module>,<module>... which prevents from loading a list of modules in any way.


Reply to: