LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-23-2007, 10:44 PM   #1
VampireL0rd
Member
 
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 37

Rep: Reputation: 16
Kernel Modules, to load or not to load


I would like to ask a general question first, as I don't know, but learning. I thought if you make a kernel module instead of directly building support into the kernel that it would load when needed, or does it? For example, Redhat 9.0 has kernel module support built into the kernel by default for most 3com network cards at that date, and lets say after installation I install one. Will the kernel load the module into itself allowing me to use the device or do I have to. How do you know it even has support when it does, if it doesn't configure itself and work then what command can I use to check that I can bring if up by using ifconfig eth0 up. Is their also a way to check what modules the kernel has at its disposal, not what is loaded . I ask this because as you can guess I'm running Redhat 9.0 and have no network support(I have to use this version for a commercial application that depends on the kernel for driver support) and I'm running on a nforce 3 mobo with a 1000M/b 3com network card. Any help would be appreciated, yes I did install the rpm kernel patch for nforce 3 for redhat 9.0 and it didn't change anything, although I installed I think the wrong one, as I looked I had kernel 2.4.20-8 and I installed ~2.4.20-6.rpm by accident and when using rpm -e <name> it just says not installed, but I saw it load.
 
Old 07-24-2007, 09:55 AM   #2
VampireL0rd
Member
 
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 37

Original Poster
Rep: Reputation: 16
bump*

I would really like to just now the general question of modules loading and well the question is above. If a moderator sees this then maybe I would get more response if this was moved to the kernel section.
 
Old 07-24-2007, 07:31 PM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
There has to be an initscript that runs as part of the startup that tells the system to load a kernel driver module. Recent distros have an autodetect mechanism that matches detected hardware to the drivers needed for that hardware, and loads the right driver. This usually works, though I have seen it go badly wrong for some things even in recent distros.

An older distro such as you have won't autodetect; you'll have to tell it to load a driver. You probably (not sure...that distro is old and I don't recall exactly) will specify the driver for it in /etc/modules.conf.
 
Old 07-24-2007, 09:20 PM   #4
VampireL0rd
Member
 
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 37

Original Poster
Rep: Reputation: 16
Thanks, I just wondered how it worked for past and modern systems.
 
  


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
How to load kernel modules ginda Linux - Software 2 01-12-2007 06:06 AM
2.6.17 kernel runs but no modules will load!? stardotstar Linux - Kernel 3 08-11-2006 03:55 PM
How to Load Kernel Modules? binarybob0001 Linux - General 5 11-16-2005 10:15 AM
Custom kernel does not load modules Ankardo Linux - Newbie 2 06-10-2005 06:30 AM
new kernel 2.6.7 cant load modules short101 Debian 8 08-21-2004 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:34 AM.

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
Open Source Consulting | Domain Registration