LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices



Reply
 
Search this Thread
Old 01-17-2005, 12:01 AM   #1
redss
Member
 
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 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?
 
Old 01-17-2005, 11:18 AM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,591

Rep: Reputation: 188Reputation: 188
"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, 03:30 PM   #3
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

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


Reply


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 06:09 PM
modules won't load huntz Slackware 2 10-03-2004 11:37 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 06:40 AM
modules.conf - Cannot get modules to load automatically gundelgauk Linux - General 1 12-28-2003 12:27 AM
Load Modules Before X Parksy Linux - Software 13 08-05-2003 09:58 PM


All times are GMT -5. The time now is 09:03 PM.

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