LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-04-2004, 09:57 AM   #1
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
is there any way to get the configuration of an pre-compiled kernel.


Sometimes you need to build additional kernel modules, for example the get your nvidia card working or to build the alsa modules. But these can only be compiled if you have the kernel sources, and you need them configured exactally like the kernel you are running. For this you will need the .config file in the kernel source directory, but with most distro's this file is non existant. I you just configure the kernel sources according to your whishes, you will get modules errors when you try to insert your new modules.
Other then installing a new self compiled kernel and then installing the modules, how do you get around this?
 
Old 01-04-2004, 10:11 AM   #2
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
I don't know about other distros, but RH ships the config files used with the kernel source files (it's under /usr/src/linux-2.4/configs IIRC -- I am on windoze now). There you will find configs for athlon, SMP etc.

The trick is to run 'make mrproper' after copying the desired config file to .config on /usr/src/linux-2.4. (it took me too many failed attempts to figure that out...). I am not sure this is really needed, but 'make oldconfig' right afterwards should do more good than bad. After these, go for kernel-options tweaking.

HTH
 
Old 01-04-2004, 10:12 AM   #3
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Correct me if I'm wrong, but if I look in /boot, there are kernel config file(s). I've always assumed these are associated with the pre-compiled kernels that ship with the distro. try copying to your build directory and go from there.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom kernel vulnerabilities verus Slack pre-compiled tank728 Slackware 1 09-04-2004 01:22 PM
pre-compiled 2.6.6 kernel (fedora core 2) with 8k stack? jeffreybluml Linux - Newbie 2 06-09-2004 02:30 PM
installing opera tar.gz pre-compiled binary ronss Linux - Software 3 09-05-2002 09:05 AM
installing opera tar.gz pre-compiled binary ronss Linux - Software 1 09-05-2002 08:16 AM
configuration of pre-compiled kernel sadeer Linux - Software 1 06-14-2002 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:26 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