LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-09-2008, 09:27 AM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
What's loading my NIC module?


A question I've had for some time now centers on module loading. As an
example, my NIC (3COM) is compiled as a module in all kernel variations
on my Slack 12 system (2.6.21.5) but nowhere is there an rc.netdevice
nor is the card's modprobe entry uncommented in rc.modules.

I suspected that this was something peculiar to the 2.6 kernel versions
so I checked another system running Slack 10.2 (2.4.31) and was surprised
to see the same lack of rc.netdevice or uncommented entry in rc.modules.

However, ps -A tells me that udevd is a running process on both systems
even though a comment in rc.S on 10.2 says udev is to be loaded only for
2.6 kernels. Slack 12 contains the following comments about udev in rc.S:

Quote:
... in the 2.6.x kernels, udev has taken over the job of hotplug
(finding hardware and loading the kernel modules for it, as well as creating device nodes in /dev)
Is it udevd that is loading the modules and if so why is rc.modules or
rc.netdevice even mentioned any more? I suppose udevd only recognizes
hardware and certain modules like "capability" need to be loaded in the
old fashion, but they can certainly be placed somewhere else like rc.S.
 
Old 05-09-2008, 10:14 AM   #2
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by raypen View Post
A question I've had for some time now centers on module loading. As an
example, my NIC (3COM) is compiled as a module in all kernel variations
on my Slack 12 system (2.6.21.5) but nowhere is there an rc.netdevice
nor is the card's modprobe entry uncommented in rc.modules.

I suspected that this was something peculiar to the 2.6 kernel versions
so I checked another system running Slack 10.2 (2.4.31) and was surprised
to see the same lack of rc.netdevice or uncommented entry in rc.modules.

However, ps -A tells me that udevd is a running process on both systems
even though a comment in rc.S on 10.2 says udev is to be loaded only for
2.6 kernels. Slack 12 contains the following comments about udev in rc.S:



Is it udevd that is loading the modules and if so why is rc.modules or
rc.netdevice even mentioned any more? I suppose udevd only recognizes
hardware and certain modules like "capability" need to be loaded in the
old fashion, but they can certainly be placed somewhere else like rc.S.
udev loads the modules. You only have an rc.netdevice if you create one. rc.modules/rc.netdevice are still useful as you may want to load additional modules for certain things, eg. using ndiswrapper instead of the native driver, adding in power-related modules such as battery, adding in cpu frequency controls, etc.

Brian
 
  


Reply



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
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
Auto loading a NIC module in RH9 MadTurki Linux - Networking 1 12-23-2003 01:21 PM
Problems loading the module dmfe.o for a davicom nic. adz Linux - Networking 15 09-07-2003 09:44 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:55 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
Open Source Consulting | Domain Registration