LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-12-2010, 05:35 AM   #1
swap_chau
LQ Newbie
 
Registered: Oct 2010
Posts: 7

Rep: Reputation: 1
Question .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.)
 
Old 10-12-2010, 05:41 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hi there!

Normally before compiling your new kernel, you use one of the included tools, such as `xconfig` or `gconfig` or `menuconfig` or `nconfig` to configure your kernel and modules/drivers. Then you compile it.

I'm not a Fedora user, so any peculiarities of building a kernel on that OS, I am not aware of, but one way or the other, one must still configure one's kernel before compiling.

Usually you navigate to your kernel source tree, and type:
Code:
make clean
make *config
make && make modules_install
Replace *config with whatever configuration tool you like, of the ones I suggested above. And of course, adjust this procedure to be in line with how you actually build and install a new kernel on Fedora, as these are generic instructions.

Also, if you continue to have errors, you'll need to be giving us more information about the problem. Show us exact (copy + paste) error messages you see in your terminal, and show us the exact command(s) or procedures you're doing before you get the error.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(Debian) xorg.conf file, (EE) Problem parsing the config file unclerick94 Linux - Newbie 1 07-28-2009 02:27 PM
RHEL5 kickstart config file creation problem rado_dimitrov Linux - Enterprise 2 02-13-2008 09:50 AM
ldconfig problem - no config file!! 3saul Programming 2 08-23-2006 04:44 PM
kernel compiling problem: can I use 2.4 .config file with 2.6 ? Xavius Slackware 15 01-07-2005 02:51 PM
ftpaccess config file problem Daredevil Linux - Newbie 4 03-15-2004 12:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration