Re: Kernel compile

terry white <[email protected]> Wed, 12 Mar 2003 06:34:50 -0800 (PST)
Newsgroups org.kernel.vger.linux-config
Message-ID <[email protected]>
on "3-11-2003" "pshook" writ:

: Not sure if this is the correct newsgroup, if not can you direct me
: to  the right one?

... the linux-admin list is VERY helpful.


: I am trying to compile my kernel for RH7.3. It doesn't generate any
: errors, but it fails to find/load eth0 and vfat. It won't go past
: starting system logger and has many no such file or directory statements

    from the sounds of it, you missed including something with regard to
networking, and vfat in particular.


: Is there a way to set the make xconfig back to a default or what the
: original kernel on my system is?

    when you run the config program, it creates a config file.  on RH-6.x
this is named ".config" , and on RH-8.0 "config".  if you 'rm' that file,
config uses its defaults values.  i do not know which name used for
RH-7.x.
    i've made a habit of keeping the config files for my most recent
builds.  typically, i call them "config-ST", where 'S' is the secondary
version number, and 'T' its tertiary counterpart.  these i keep in the
root of the source tree; specifically, "/usr/src". i use the following
script to report differences in them:

	#!/bin/sh
	#
	#       find difference between ./.config files for linux

	fgrep -v \# config-[0-9]* | sort -t ":" -k 2,2 \
	| uniq -s 10 -u | sort > config.diff

    note however, this would be useless if going from a 2.2.x to a 2.4.x
kernel ...


-- 
... i'm a man, but i can change,
    if i have to , i guess ...