update modules after compile kernel

Submitted by giosoftware
on February 6, 2004 - 12:46pm

Hi all. I work in a Knoppix 3.3 inside a laptop samsung x05 with 2.6.0 kernel version.
I know this is a generic answer but when I compile a kernel I ask myself always the same. How know linux what modules can load with a new kernel? There is a command that look up the new available modules in the kernel and update the .conf files that it needs?

I must recognize that the subject of the module still is a mystery for my :-(
PD: like so many others

Sorry by my badly English.

Maybe I don't understand your

Anonymous
on
February 7, 2004 - 3:20pm

Maybe I don't understand your question and maybe I do.

The Kconfig files are what tell Makefile which options can be modules and which can not.
For example look at the file /usr/src/linux/fs/Kconfig

## File system configuration
#

menu "File systems"

config EXT2_FS
tristate "Second extended fs support"

The tristate is what determines if this option can be built as module. There are other types beside tristate which mean different things e.g.

bool This option can only have a yes or no value.
config RAMFS
bool
default y

int You can enter an integer for this option.
config JFFS_FS_VERBOSE
int "JFFS debugging verbosity (0 = quiet, 3 = noisy)"
depends on JFFS_FS
default "0"

There are several other types, they are not hard to figure out by looking through the Kconfig files.

update modules after compile kernel

Anonymous
on
February 9, 2004 - 2:47am

Hi.
When somebody installs a distribution, this comes with a kernel and much modules compiled. The system already formed so that it can load those modules. But when you install a new kernel and compile it single with the modules that you need , the archives modules.conf and others continue being formed according to the initial configuration. Then, I ask myself if there is some command who serves to update these configuration files. Normally the configurations of the distros are very opened to be able to accept hardware very varied.

I hope have explained better.

Thanks!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.