You are not logged in.
Pages: 1
Hi. I want to compile a custom kernel for my laptop. I want to build in kernel my required modules and not compile the modules i do not need(to speed up compilation times ).
I want to ask what method did you used(the one who made this) to generate a .config file that is tuned for your computer.(I tried to build into the kernel the modules listed by lsmod and remove the other modules but not all modules listed by lsmod are in the .config, ) I realy do not want to compile unneeded drivers as modules because on my machine it takes a lot of time , more then 2 hours to build a kernel
Thx for you reading ths
Last edited by simion314 (2008-09-19 05:51:45)
Offline
A really good one is to use the one from abs, copy it to your home folder, and edit the config file, then makepkg.Do you know what I am saying?
Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.
Offline
If your going to compile a custom kernel in Arch, it's recommend you follow through with it in ABS, not that you couldn't but it's nice to keep the system clean through building packages.
Check out the wiki article(if you haven't): http://wiki.archlinux.org/index.php/Cus … n_with_ABS
Offline
Linux kernel in a nutshell offers some great tips and scripts on configuring the kernel for your hardware http://www.kroah.com/lkn/ .
Hwdetect, lspci, and some hunting around /sys can also help. Issues about not finding config options for lsmod output may be just due to naming; modinfo and modprobe -l can help with, that but you may need to go down to the individual Makefiles to get the exact config option (easier to just google methinks).
cheers,
EDIT:
Here's a nice script that I just came across. I haven't used it but it's seems like a great way to automagically trim your unused modules from your config: http://lkml.org/lkml/2008/9/18/203
Last edited by somedrew (2008-09-19 00:06:19)
Offline
Linux kernel in a nutshell offers some great tips and scripts on configuring the kernel for your hardware http://www.kroah.com/lkn/ .
Hwdetect, lspci, and some hunting around /sys can also help. Issues about not finding config options for lsmod output may be just due to naming; modinfo and modprobe -l can help with, that but you may need to go down to the individual Makefiles to get the exact config option (easier to just google methinks).cheers,
EDIT:
Here's a nice script that I just came across. I haven't used it but it's seems like a great way to automagically trim your unused modules from your config: http://lkml.org/lkml/2008/9/18/203
Thx, this is a greath book.
Offline
Agreed, great book! What would kick *maximum ass* though would be a kernel config wiki, so all the new options could be updated as the kernel evolves.
Offline
Pages: 1