* How to disable module auto-loading
@ 2018-03-27 8:18 Nicolas Salmin
2018-03-27 9:12 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Salmin @ 2018-03-27 8:18 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
Hello all,
I would like to know the better way to disable module auto-loading ?
I tried to create /etc/modprobe.d/blacklist.conf but as /etc/modprobe.d
doesn't exist on my rootfs i think is not a good solution.
I have tested also with *KERNEL_MODULE_AUTOLOAD -= "module.name
<http://module.name>"* and
*KERNEL_MODULE_AUTOLOAD_remove = "module.name <http://module.name>"*
Last solution will be pass *modprobe.blacklist=module.name
<http://module.name>* in cmd line.
So in your opinion, which is the better way to do that ?
Cheers,
Nicolas
[-- Attachment #2: Type: text/html, Size: 2021 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to disable module auto-loading
2018-03-27 8:18 How to disable module auto-loading Nicolas Salmin
@ 2018-03-27 9:12 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2018-03-27 9:12 UTC (permalink / raw)
To: Nicolas Salmin; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]
On Tue, Mar 27, 2018 at 10:18:28AM +0200, Nicolas Salmin wrote:
> Hello all,
>
> I would like to know the better way to disable module auto-loading ?
>
> I tried to create /etc/modprobe.d/blacklist.conf but as /etc/modprobe.d
> doesn't exist on my rootfs i think is not a good solution.
>
> I have tested also with *KERNEL_MODULE_AUTOLOAD -= "module.name
> <http://module.name>"* and
> *KERNEL_MODULE_AUTOLOAD_remove = "module.name <http://module.name>"*
>
> Last solution will be pass *modprobe.blacklist=module.name
> <http://module.name>* in cmd line.
>
> So in your opinion, which is the better way to do that ?
KERNEL_MODULE_AUTOLOAD_remove should work, check with bitbake -e to
confirm that it was correctly applied.
It's also possible to blacklist it with:
module_conf_<module-name> = "blacklist <module-name>"
Cheers,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-27 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-27 8:18 How to disable module auto-loading Nicolas Salmin
2018-03-27 9:12 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.