LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 10:57 AM   #1
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
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, 11: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, 11: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:22 PM
pre-compiled 2.6.6 kernel (fedora core 2) with 8k stack? jeffreybluml Linux - Newbie 2 06-09-2004 03:30 PM
installing opera tar.gz pre-compiled binary ronss Linux - Software 3 09-05-2002 10:05 AM
installing opera tar.gz pre-compiled binary ronss Linux - Software 1 09-05-2002 09:16 AM
configuration of pre-compiled kernel sadeer Linux - Software 1 06-14-2002 08:25 AM


All times are GMT -5. The time now is 09:49 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration