LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-01-2002, 05:36 AM   #1
Paul_assheton
Member
 
Registered: Nov 2000
Location: Ware (Nr London, England
Posts: 114

Rep: Reputation: 15
Question Kenel Configuration


I have a computer that I want to check the configuration of the Kernel on (and possibly build a new one). But some how the source has become corrupt. I have reinstalled the source from the Redhat CD.

My question is how do I get the setting of the currently running kernel so that I can look at them using the X configuration util?

Thanks
 
Old 02-01-2002, 08:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
using the standard install of the kernel-source rpm it should already be configured for the equivalent compiled kernel. if not, the .config file should be at /boot/config-2.4.xxxx
 
Old 03-07-2002, 07:22 PM   #3
desbyleo
Member
 
Registered: Feb 2002
Location: Erie, CO
Distribution: Red Hat 7.1
Posts: 81

Rep: Reputation: 15
Acid...I am having the same problem. Although the only .config file I can find is the one located in kernel directory. However, that .config file doesn't match my current configuration.

I am trying to find why the .config not match my current system configuration. I checked this right after installing RH 7.1. I did a make xconfig, loaded the .config, and saved it without making any changes, and compiled. When I rebooted, at least 3 items failed.

Could you explain why is it that when I do a make xconfig or menuconfig, what I get doesn't reflect how my system is currently configured.
 
Old 03-07-2002, 09:16 PM   #4
jdctx
Member
 
Registered: Feb 2002
Posts: 71

Rep: Reputation: 15
I think even though your just recompiled the same kernel. The problem may be with loading modules. This is just from what I've experience myself. What I would do is

make mrproper (that should set config back to original)
make xconfig (save exit)
make dep
make bzwhatever
make modules
make modules_install
 
  


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
Kenel mkinitrd help kingterr0r Slackware - Installation 2 08-28-2004 11:01 AM
Enter the Kenel F1_help Linux - Newbie 10 07-08-2004 05:02 PM
kenel HELP xportus Linux - Software 2 03-06-2004 07:11 AM
play quake 2 kenel 2.6.3 S_Warlock Linux - Games 1 03-01-2004 04:12 PM
Fedora CORE 1 kenel 2.6.1 and X spank Linux - Newbie 0 01-17-2004 01:20 PM


All times are GMT -5. The time now is 11:23 PM.

Main Menu
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