Discussion Locked

Can someone explain the modules system?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can someone explain the module systemto me?
And how shall I load a module and finding a
specific driver.
I'm using Slackware currently...

6 replies

by forhire

Modules are pieces of the kernel seperated into loadable pieces. The benefit is that you can reduce memory usage by not having a feature loaded into the kernel at all times. You can then load the module if that feature is needed.

In many versions of Linux, you can use modconf to easily insert or remove modules. Slackware may need to use

insmod .

To remove a module, use:

rmmod

substituting the module filename for of course. You can find alist of modules in /lib/modules//.

To compile a feature as a module, select type M or Module for the install. Use make modules ; make modules_install to compile and install the modules...

Hope that helps

by joshnarins

The other person's answer is pretty accurate, I just feel the need to add mentioned of the /etc/conf.modules files which is often used to set up relations between things like ethernet cards and modules with "alias" lines...

alias eth0 3c959 (a random 3com NIC identifier)

This discussion is closed to new replies.