LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-02-2002, 11:08 PM   #1
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
kernel configuration


i have a quick question. i'm currently running slackware 8.0 with the 2.4.5 kernel on my system. i need to install the 2.4.17 kernel on my system in order to get some specific scripts to run. the only problem is that whenever i compile the 2.4.17 kernel, i get some weird stuff happening in X. my system works perfectly with 2.4.5.

so i'm wondering if there's a way to compile a new kernel using your old kernel's configuration. i think my problem is that i'm just missing some options when recompiling the new kernel.

thanx.
 
Old 02-02-2002, 11:33 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Copy the configuration file from 2.4.5 to 2.4.17. The configuration file is hidden and is called .config.

Code:
cp /usr/src/linux-2.4.5/.config /usr/src/linux-2.4.17
 
Old 03-07-2002, 06:56 PM   #3
desbyleo
Member
 
Registered: Feb 2002
Location: Erie, CO
Distribution: Red Hat 7.1
Posts: 94

Rep: Reputation: 15
Odd phenomenon with .config

When I first install red hat (in my case 7.1), everything runs fine:
It recognizes my NICs, sound devices, all startup items all [passed].

However, when I do an make xconfig or menuconfig, it doesn't reflect any of the supports for my system. So, oddly enough, if I attempt to save the configuration WITHOUT making a single change, and compile the kernel....my NICs [fails] at startup, my sound device is not recognized, along with other things failing.

These things shouldn't fail because I didn't make any changes to the configuration, yet they do, which leads me to believe that .config doesn't reflect what your system has when you first do a make xconfig or menuconfig.

Is this true, and if so, why is it that?

If I want to add a simple support (for example: for another NIC), I would have also have to configure the rest of the system.

Can someone make some sense out of this....or tell me that I got all this wrong.
 
  


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
kernel configuration goutham Linux - General 3 05-06-2005 04:58 AM
using an old configuration for a new kernel mushmaster Linux - Software 2 02-16-2005 01:07 AM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
Kernel Configuration berti Debian 2 02-08-2004 11:34 AM
kernel configuration hotrodowner Linux - Software 2 02-19-2003 09:04 AM

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

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