How I can use only the necessary modules/driver for Linux?
Hi,
Like title say, how I can use only the necessary modules? I mean, I know what modules/drivers is running Linux using lsmod, lspci -k right? but exist a way when I recompile a linux, tell some how to use only the modules I use right now? and cut the process to select manually? By the way I am new on recompiling kernel, just use the generic kernel in Slackware, and some little tweaks but that's it :D So this is how I "do", when I do makeconfig, I just select manually the drivers and stuff, then save the .config. But when I need to do the same thing again and again is frustrating... :( What is the good way to do this? (maybe a tutorial?) because I have differents hardware (servers) and some of the server never change. I only want recompile only with the modules used right now. I use Slackware if it makes a difference... Thanks in advance, John |
You have two options:
1. Use Code:
make localmodconfig 2. Use Code:
make localyesconfig |
Actually you have plenty of options - those happen to be two of the better ones .... :p
An implication you may have missed (as a new person compiling kernel(s)), is that you'd probably be better off without modules at all, as per 2. above. |
Quote:
Quote:
Have a doubt :D I see a lot of modules when compile, it is normal? I mean if I use "make localyesconfig" should not build a few modules? Because I see for example a lot of unnecessary modules like radeon, nouveau and others :S and when compiled don't load the mouse (I tested in my workstation). Why? if I use "localyesconfig". John |
[edited] I had not realized haha oops :D
regards, John |
All times are GMT -5. The time now is 05:37 PM. |