Load module Permanently in Fedora 13 (/etc/modprobe ?)
Hi,
Where to get the modules installed Permanently in /etc/modprobe directory in Fedora13? |
Quote:
Do you want load module permanently ? What command or method you tried ? Regards, |
modprobe <modulename> works
but when system restarts it doesnt list it under "lsmod" |
|
Hi Please tell me for fedora13.In Fedora 13 there is no modprobe.conf
|
Quote:
OR create file in /etc/modprobe.d/ dir and place entry in that file Regards, |
You can also use
Code:
echo "modprobe [modulenamehere]" >> /etc/rc.local |
Hi,
Surfing on net and consulting some of the developers i came to know that there is some kconfig file in kernel source directory, where i can add the the module. I don't know how to start.Can some one shower some light? |
Quote:
Simply editing kconfig file(s) will not do it - you need to rebuild the kernel if this is indeed what you want. |
Ya I need to do the same.
I will try to elaborate more on it. I have this module which i compiled and intalled using modprobe (cx24120) [root@localhost ~]# lsmod |grep -i cx24120 Quote:
Note:Its SkyStar S2 Data (Technisat) http://www.technisat-daun.de/downloa...-2008_6611.zip driver for conexant 24120. |
Hi :)
You don't need to elaborate more on what you want - I believe we are clear now. You need to rebuild your kernel, or I suppose, download a pre-compiled kernel for your OS, that already has the module statically compiled.. Does this module come with the kernel? I.e. is it an in-tree kernel module, or is this some module that goes with a piece of hardware but the driver is not included with the kernel? If the driver is included with the kernel, no biggie - rebuild the kernel. If this driver is not included with the kernel, you would have a lot more work if you plan to incorporate it into the kernel. I'd say, don't bother. In that case, I would do one of the suggestions above, such as using: /etc/rc.d/rc.local file to insert the module during boot. That would be MUCH easier, and virtually guaranteed to work, rather than trying to incorporate an out-of-tree module into the kernel. |
Some queries
If a module is shown in lsmod. Does that mean the module is loaded correctly? Also note that "driver is not included with the kernel" |
If driver is shown in `lsmod` then yes, it is loaded. Doesn't necessarily mean it's going to work, but if it's the right driver for the hardware, and it loads and unloads correctly, then that's as right as it can be. :)
If driver is "not included with kernel" then I repeat what I wrote above: simplest thing is to use rc.local and/or /etc/modprobe.conf or /etc/modprobe.d/some-file to tell the kernel to load this module when it encounters your device. Myself, I would use rc.local. |
Hi Celine,
Thanks for clearing my doubts.Ya module loads correctly using (adding insmod)/etc/rc.local.I need to connect the DVB stream now and check if the card works correctly. Reagrds, Prayag |
Hi,
yes, good idea to test it out and make sure it works! Also, whenever possible, you should use `modprobe` rather than `insmod`, because `modprobe` is the newer method, and will do dependency checking when you insert/remove the module, whereas `insmod` does not do this. |
All times are GMT -5. The time now is 10:16 AM. |