Skip to Content

HowTo install modules?!

AMS's picture

I want to make some module installation without compiling the kernel,instead of make #modprobe for every time I start linux.

Thanks in advance.

Conceptor's picture

what distro you are

what distro you are using?


Diaa Radwan

AMS's picture

>what distro you are

>what distro you are using?

I think it doesn't make any difference, because I talked about modules and kernel it self or maybe I'm wrong. Anyway I'm using FC5 and 2.6.16-1.2122_FC5smp kernel.

Regards,

Ahmed Elsebaey

Pronco's picture

It makes difference

It makes difference. Most distros have a tool to fix this automatically, but you can also edit /etc/modules.conf


- I'm a code junkie security enthusiast

Pronco's picture

You do want to install

You do want to install modules or load modules at boot time

You're talking about loading modules at boot time, I suppose


- I'm a code junkie security enthusiast

AMS's picture

>You do want to install

>You do want to install modules or load modules at boot time

Oh! sorry .

truly I mean load it in boot time to avoid make #modprobe every time. I check kernel configuration and discover that the modules I want to install is allready built as a module in kernel, but as you said need to be load in boot time.

I'll check /etc/modules.conf and see it's manual

Thanks pronco for this tip.

Redgards,

Ahmed M. Elsebaey

Pronco's picture

That'll solve it

That'll solve it, but it might confuse FCs automatic module tools. I dunno.

I'm sure looking at /etc/modules.conf is worth it. It might even tell you what tool to use.


- I'm a code junkie security enthusiast

AMS's picture

I discoverd that the

I discoverd that the /etc/modules.conf replaced with modprope.conf in 2.6 kernel and it's a simplification of it, used in 2.4 kernels and earlier.

Is this true or modules.conf in other place in fc5 ? and which the true file to edit to be able to load modules in boot time?

Redgards,

Ahmed M. Elsebaey

Pronco's picture

check out /etc/modutils/*

check out /etc/modutils/* , maybe?

maybe your /etc/modules.conf are updated using files found in /etc/modutils/*

there's something else called generate-modprobe.conf command script comes with module-init-tools that translate your old /etc/modules.conf into /etc/modprobe.conf


- I'm a code junkie security enthusiast

Comment viewing options

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


Dr. Radut | forum