Results 1 to 4 of 4
Hey,
Just want to throw this out there. Is there a program to auto config the kernel settings. Not as in install everything but a... bare option with what your ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-05-2012 #1Just Joined!
- Join Date
- Jun 2012
- Posts
- 3
Kernel config
Hey,
Just want to throw this out there. Is there a program to auto config the kernel settings. Not as in install everything but a... bare option with what your computer hardware can actually use.
For instance, say computer needs option a, b, c and yet doesn't need option d-g but can use h for kvm. Is there a program that can cross reference what your hardware specs are and optimize it for you I guess is what I am getting at that way you don't have unneccessary modules installed.
Thanks for any help, if not... I know what my next project is.
Ian
- 06-05-2012 #2
Not that I am aware of, if you find one let me know. I get tired of rebuilding kernels so I usually skip three or four before I will update it.
You can generate a .config from a running kernel, however.
http://forums.gentoo.org/viewtopic-p-6084695.html
(May take awhile to load)I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
- 07-09-2012 #3
Although it is not recomended you could use your .config file from an older kernel to build new kernel.
1. copy .config from previously configured kernel to .config.old to the root folder of new kernel.
2. run make oldconfig and set new options
Settings that have not changed from the old config get carried over.
Gentoo documentation do not recomend this, I have used this once or twice but to be honest configuring kernel for my machines has kinda become second nature to me. You get used to the settings you use often.
For more information about using old .config see the gentoo kernel config guide.
- 11-02-2012 #4Just Joined!
- Join Date
- Sep 2008
- Posts
- 10
There are make's configuration targets that let you update existing config depending on what's in use modules wise.
to see what can be done andCode:> cd /usr/src/linux > make help
If using genkernelCode:> make localmodconfig
Every piece of hardware that was in use during "make localmodconfig" should be enabled in that config, but things that weren't in use have to be reenabled. I'm talking fs types, usb storage etc. Check those.Code:> cp .config /etc/kernels/kernel-config-ARCH-VER-gentoo >genkernel --menuconfig all
Regarding oldconfig - i'm using it since 3.0 (now on 3.6) and didnt have any issues. OFC kernel config is quite 'personal' matter, so anything can happen to your config


Reply With Quote

