Results 1 to 6 of 6
Hi,
I have fedora 12 installed on my desktop. I tried to compile kernel 2.6.35 on it, but it seems that my config file is not matching with my hardware. ...
- 10-08-2010 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 9
[SOLVED] .config file problem
Hi,
I have fedora 12 installed on my desktop. I tried to compile kernel 2.6.35 on it, but it seems that my config file is not matching with my hardware. I have AMD duel core processor, with nvidia motherboard. I am not sure about exact versions of hardware.
I tried to use .config file of fedora12 distribution located in /usr/src/kernel/2.6.29____/.config, but compilation fails with this config file.
Is there some way so that I can figure out which modules/drivers I should enable in .config file, so that kernel will be compiled successfully?
(I have another machine with Via motherboard and pentium 4 processor and same problem appears there as well.)
- 10-08-2010 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
If you Google for kernel compiling tutorials, you'll see that a common "trick" is to copy the config from your currently-running build to your new build.
Your current config is generally under /boot and the filename starts with "config."
* Keep in mind jumping *several* kernel versions ahead can be a problem, since your old config may not have all the options that the new kernel has.
- 10-10-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
Run the command make menuconfig or make xconfig in the kernel directory and tell it to save the file when you are done adding the modules you want to build into the kernel. That will create a new .config file for you with the proper stuff.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-11-2010 #4Just Joined!
- Join Date
- Nov 2006
- Posts
- 9
- 10-11-2010 #5
As Rubberman said,your make xconfig. and after .config file created check for drivers you needed. Workaround would be if you know the parameter and values for driver - just append it to .config file it might work.
BTW , I have tried something like this here is notes - gET iT i sAY, giis - ext3 File Undelete Tool- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 11-16-2010 #6Just Joined!
- Join Date
- Nov 2006
- Posts
- 9
Thanks,
I downloaded the kernel source code of my fedora installation and compiled the kernel successfully. I used config file from /boot as you specified. It is not working for any other kernel source, as you stated. Thanks again.




