View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-16-2005, 11:01 PM   #1
Registered: Jun 2003
Posts: 165

Rep: Reputation: 16
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, 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?
Old 01-17-2005, 10:18 AM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,661

Rep: Reputation: 229Reputation: 229Reputation: 229
"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
Old 01-17-2005, 02:30 PM   #3
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Don't forget to run "depmod -a".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 05:09 PM
modules won't load huntz Slackware 2 10-03-2004 10:37 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 05:40 AM
modules.conf - Cannot get modules to load automatically gundelgauk Linux - General 1 12-27-2003 11:27 PM
Load Modules Before X Parksy Linux - Software 13 08-05-2003 08:58 PM

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration