udev not loading a module

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm trying to get udev to load the brcmfmac driver as a module but for some reason it's not detected unless I create a .conf file in a /modules-load.d directory (either in /etc or /lib). 
As far as I know, it's not blacklisted and should follow the default udev rules.
udev seems to load an external module fine without any extra files but not brcmfmac. Both are listed in modules.dep and modules.alias.
Why wouldn't it load on boot without the .conf file? Is udevd supposed to be responsible for loading the kernel modules during startup? Thanks in advance.
kernel-modules udev embedded broadcom
 |Â
show 1 more comment
up vote
0
down vote
favorite
I'm trying to get udev to load the brcmfmac driver as a module but for some reason it's not detected unless I create a .conf file in a /modules-load.d directory (either in /etc or /lib). 
As far as I know, it's not blacklisted and should follow the default udev rules.
udev seems to load an external module fine without any extra files but not brcmfmac. Both are listed in modules.dep and modules.alias.
Why wouldn't it load on boot without the .conf file? Is udevd supposed to be responsible for loading the kernel modules during startup? Thanks in advance.
kernel-modules udev embedded broadcom
I think it depends up on which InitRamFS you are using. For example with dracut you have to embed it into the initrd image in order to get it working.
â Antonio Petricca
Sep 25 at 10:30
I'm not using an InitRamFS. rootFS is mounted instead.
â T. Prokopenko
Sep 25 at 11:31
No,udevdisn't responsible for loading kernel modules. It is responsible for doing additional stuff in user space when hardware-related kernel events happen.modprobeloads kernel modules, anddepmoddoes the dependency management for kernel modules.
â dirkt
Sep 25 at 12:31
Which part starts the entire process though? Ifmodprobedoesn't start loading a certain module, the reason must be on a higher level, right? I can't find the program which should call formodprobeduring startup.
â T. Prokopenko
Sep 26 at 8:50
Apparentlymodprobeisn't called during startup at all (I tried to print some info to the console during startup but none of it was shown). Theload_modulefunction in the Kernel is called fromsys_finit_modulebut whence that is called from I can't find out.
â T. Prokopenko
Sep 26 at 12:01
 |Â
show 1 more comment
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to get udev to load the brcmfmac driver as a module but for some reason it's not detected unless I create a .conf file in a /modules-load.d directory (either in /etc or /lib). 
As far as I know, it's not blacklisted and should follow the default udev rules.
udev seems to load an external module fine without any extra files but not brcmfmac. Both are listed in modules.dep and modules.alias.
Why wouldn't it load on boot without the .conf file? Is udevd supposed to be responsible for loading the kernel modules during startup? Thanks in advance.
kernel-modules udev embedded broadcom
I'm trying to get udev to load the brcmfmac driver as a module but for some reason it's not detected unless I create a .conf file in a /modules-load.d directory (either in /etc or /lib). 
As far as I know, it's not blacklisted and should follow the default udev rules.
udev seems to load an external module fine without any extra files but not brcmfmac. Both are listed in modules.dep and modules.alias.
Why wouldn't it load on boot without the .conf file? Is udevd supposed to be responsible for loading the kernel modules during startup? Thanks in advance.
kernel-modules udev embedded broadcom
kernel-modules udev embedded broadcom
edited Sep 25 at 11:50
asked Sep 25 at 9:25
T. Prokopenko
11
11
I think it depends up on which InitRamFS you are using. For example with dracut you have to embed it into the initrd image in order to get it working.
â Antonio Petricca
Sep 25 at 10:30
I'm not using an InitRamFS. rootFS is mounted instead.
â T. Prokopenko
Sep 25 at 11:31
No,udevdisn't responsible for loading kernel modules. It is responsible for doing additional stuff in user space when hardware-related kernel events happen.modprobeloads kernel modules, anddepmoddoes the dependency management for kernel modules.
â dirkt
Sep 25 at 12:31
Which part starts the entire process though? Ifmodprobedoesn't start loading a certain module, the reason must be on a higher level, right? I can't find the program which should call formodprobeduring startup.
â T. Prokopenko
Sep 26 at 8:50
Apparentlymodprobeisn't called during startup at all (I tried to print some info to the console during startup but none of it was shown). Theload_modulefunction in the Kernel is called fromsys_finit_modulebut whence that is called from I can't find out.
â T. Prokopenko
Sep 26 at 12:01
 |Â
show 1 more comment
I think it depends up on which InitRamFS you are using. For example with dracut you have to embed it into the initrd image in order to get it working.
â Antonio Petricca
Sep 25 at 10:30
I'm not using an InitRamFS. rootFS is mounted instead.
â T. Prokopenko
Sep 25 at 11:31
No,udevdisn't responsible for loading kernel modules. It is responsible for doing additional stuff in user space when hardware-related kernel events happen.modprobeloads kernel modules, anddepmoddoes the dependency management for kernel modules.
â dirkt
Sep 25 at 12:31
Which part starts the entire process though? Ifmodprobedoesn't start loading a certain module, the reason must be on a higher level, right? I can't find the program which should call formodprobeduring startup.
â T. Prokopenko
Sep 26 at 8:50
Apparentlymodprobeisn't called during startup at all (I tried to print some info to the console during startup but none of it was shown). Theload_modulefunction in the Kernel is called fromsys_finit_modulebut whence that is called from I can't find out.
â T. Prokopenko
Sep 26 at 12:01
I think it depends up on which InitRamFS you are using. For example with dracut you have to embed it into the initrd image in order to get it working.
â Antonio Petricca
Sep 25 at 10:30
I think it depends up on which InitRamFS you are using. For example with dracut you have to embed it into the initrd image in order to get it working.
â Antonio Petricca
Sep 25 at 10:30
I'm not using an InitRamFS. rootFS is mounted instead.
â T. Prokopenko
Sep 25 at 11:31
I'm not using an InitRamFS. rootFS is mounted instead.
â T. Prokopenko
Sep 25 at 11:31
No,
udevd isn't responsible for loading kernel modules. It is responsible for doing additional stuff in user space when hardware-related kernel events happen. modprobe loads kernel modules, and depmod does the dependency management for kernel modules.â dirkt
Sep 25 at 12:31
No,
udevd isn't responsible for loading kernel modules. It is responsible for doing additional stuff in user space when hardware-related kernel events happen. modprobe loads kernel modules, and depmod does the dependency management for kernel modules.â dirkt
Sep 25 at 12:31
Which part starts the entire process though? If
modprobe doesn't start loading a certain module, the reason must be on a higher level, right? I can't find the program which should call for modprobe during startup.â T. Prokopenko
Sep 26 at 8:50
Which part starts the entire process though? If
modprobe doesn't start loading a certain module, the reason must be on a higher level, right? I can't find the program which should call for modprobe during startup.â T. Prokopenko
Sep 26 at 8:50
Apparently
modprobe isn't called during startup at all (I tried to print some info to the console during startup but none of it was shown). The load_module function in the Kernel is called from sys_finit_module but whence that is called from I can't find out.â T. Prokopenko
Sep 26 at 12:01
Apparently
modprobe isn't called during startup at all (I tried to print some info to the console during startup but none of it was shown). The load_module function in the Kernel is called from sys_finit_module but whence that is called from I can't find out.â T. Prokopenko
Sep 26 at 12:01
 |Â
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471271%2fudev-not-loading-a-module%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I think it depends up on which InitRamFS you are using. For example with dracut you have to embed it into the initrd image in order to get it working.
â Antonio Petricca
Sep 25 at 10:30
I'm not using an InitRamFS. rootFS is mounted instead.
â T. Prokopenko
Sep 25 at 11:31
No,
udevdisn't responsible for loading kernel modules. It is responsible for doing additional stuff in user space when hardware-related kernel events happen.modprobeloads kernel modules, anddepmoddoes the dependency management for kernel modules.â dirkt
Sep 25 at 12:31
Which part starts the entire process though? If
modprobedoesn't start loading a certain module, the reason must be on a higher level, right? I can't find the program which should call formodprobeduring startup.â T. Prokopenko
Sep 26 at 8:50
Apparently
modprobeisn't called during startup at all (I tried to print some info to the console during startup but none of it was shown). Theload_modulefunction in the Kernel is called fromsys_finit_modulebut whence that is called from I can't find out.â T. Prokopenko
Sep 26 at 12:01