Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Redhat Linux kernel builds

Thread Tools
 
Search this Thread
 
Old 18 November 2003, 05:58 PM
  #1  
druddle
Scooby Regular
Thread Starter
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Question

I am currently working on a blade server, installing Redhat ES 2.1. I have installed a load of SRPMs and so now need to rebuild the kernel. The SRPMs are updates of currently installed packages, not new packages.

When i run the "make xconfig" i am presented with many options for what I want my kernel to support. What I cant understand is. does the make xconfig process look at my existing kernel and put its settings into the menu I am presented with, or is the menu full of default options that I have to change ?

Help !

Dave
Old 18 November 2003, 08:55 PM
  #2  
AlexM
Scooby Regular
 
AlexM's Avatar
 
Join Date: Apr 1999
Posts: 1,035
Likes: 0
Received 0 Likes on 0 Posts
Post

Hi,

I don't think that xconfig reads your kernal config.. the defaulted options will depend on the config file it is reading. Check the configs directory and pick the one closest to your platform.


Cheers,

Alex
Old 19 November 2003, 02:51 AM
  #3  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

It's just default values there, you'll need to know all that's in that box hardware-wise, at least those bits you want to use

Steve.
Old 19 November 2003, 08:42 AM
  #4  
Gedi
Scooby Regular
 
Gedi's Avatar
 
Join Date: Jan 2003
Posts: 932
Likes: 0
Received 0 Likes on 0 Posts
Post

As Steve says, you definitely don't want the default options.....esspecially for a server build.

However, the install manager will select what it thinks are the best options for the kernel on install so it may be worth starting with this.

I'm not a RH man when it comes to Linux, slack debian and SuSE are my flavour......however, I 'think' RH stores its current kernel config in /boot as config-`uname -r

You can copy this to your kernel source dir (/usr/src/linux) as a .config file. Your menus will then pick up on this.

# cp /boot/config-`uname -r` /usr/src/linux/.config
# make oldconfig
# make xconfig
Old 19 November 2003, 08:51 AM
  #5  
Gedi
Scooby Regular
 
Gedi's Avatar
 
Join Date: Jan 2003
Posts: 932
Likes: 0
Received 0 Likes on 0 Posts
Post

Just thought i'd add, as I'm not 100% about the redhat thing, other distros have commands like:

# make cloneconfig
# cat /proc/config.gz > .config may also work as your running config will be stored in the proc filesystem.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
Sub-Subaru
General Technical
1
28 September 2015 12:47 PM
MightyArsenal
Wheels, Tyres & Brakes
6
25 September 2015 08:31 PM
Nick71
General Technical
21
20 September 2015 03:52 PM
SamUK
Non Scooby Related
1
07 September 2015 02:06 PM



Quick Reply: Redhat Linux kernel builds



All times are GMT +1. The time now is 01:22 PM.