LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Why won't my modules load? (https://www.linuxquestions.org/questions/linux-hardware-18/why-wont-my-modules-load-278694/)

redss 01-16-2005 11:01 PM

Why won't my modules load?
 
I compiled some modules on Debian, so that I can learn which modules are necessary to get a soundcard's midi ports working on a Knoppix liveCD. Therefore recompiling the kernel is not an option since the kernel can't be updated on a liveCD.

After downloading the source tree from kernel.org, I do "make menuconfig", "make dep", "make modules", and "make modules_install" and also "update-modules".

After rebooting, the modules under /lib/modules/2.4.26 are not loaded, so I must be missing a step? What do I do to tell Debian to load the modules? How does it know which directory under /lib/modules to load from?

jailbait 01-17-2005 10:18 AM

"How does it know which directory under /lib/modules to load from?"

It loads modules from the directory with the same name as the kernel. You can find out what your kernel name is with:
uname -r

"After rebooting, the modules under /lib/modules/2.4.26 are not loaded, so I must be missing a step? What do I do to tell Debian to load the modules? "

There is a file with modprobe commands to load all needed loadable modules at boot. I don't know what this file is called in Debian. Possible names are /etc/modprobe.conf and /etc/modules.conf.

-------------------------
Steve Stites

voyciz 01-17-2005 02:30 PM

Don't forget to run "depmod -a".


All times are GMT -5. The time now is 04:23 AM.