udev not loading a module

The name of the pictureThe name of the pictureThe name of the pictureClash 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.










share|improve this question























  • 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, 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










  • 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














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.










share|improve this question























  • 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, 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










  • 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












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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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, 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










  • 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
















  • 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, 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










  • 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















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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay