Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-12-2004, 03:16 PM   #1
Registered: Dec 2003
Posts: 55

Rep: Reputation: 15
how do i get modules to load automatically


I have googling around for a few weeks trying to figure out the whole kernel module mess. I built LFS, and am working on blfs, and more, and i need to use modules and want to modularize the kernel as much as I can. I am currently using linux-2.4.23, and am confused. do i have to put every module in /etc/modules.conf. How do i automate the whole process insmod isn't very convienent. I have read about kerneld, found out it was obseleate. So i guess the kernel modules howto is superfluous. I read about kmod, but i am confused about what it is, is it a daemon a kernel internel thing. How do i configure it, or is it obseleate also. please help linux is really pissing me off.

thanx, joe
Old 04-13-2004, 08:29 PM   #2
Registered: Dec 2003
Posts: 55

Original Poster
Rep: Reputation: 15

Is kmod a daemon or a kernel thread only, and do i need a startup script for it I'm still using linux-2.4.x so I beleive i use kmod, i ran depmod -c and it listed my modules where loaded that are part of the kernel package. I installed alsa-1.0.4, and i put all the aliases in my /etc/modules.conf file so now i want to use them, but they do not load when i boot or try to restore the mixer settings. I can manually load them with modprobe however. I was wondering if i have kmod configed properly or what the deal is i don't trust kernel documentation to be up to date or any googled material. Please help me or at least guide me to good lit on this subject i really want to get my first linux box working.

thanx joe
Old 04-13-2004, 08:32 PM   #3
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Not sure if this works with LFS, but is there an /etc/modules.autoload/kernel-2.4 file? That's the file (in Gentoo at least) where I put all the references to the modules I want loaded during startup. Pardon me if that's not how it's done in LFS.



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 On
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
how to load modules automatically kulmis Linux - Newbie 4 08-08-2005 09:59 AM
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
Automatically "force load " modules of PCtel modem on redhat juby Linux - Hardware 2 01-14-2003 11:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:23 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