Skip to contentSkip to conversation

Kernel compile

DISCUSSION pshook 3 participants 3 messages Mar 12, 2003

lore
Share & tools
lore

pshook

author
#0 lore raw

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

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

after the first fail which is eth0.

Is there a way to set the make xconfig back to a default or what the original kernel on my system is? I can still boot with the original kernel but not the new one.

Please help I'm an extreme newbie.

#1 lore raw

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 ...

Signature · 2 lines
... i'm a man, but i can change,
    if i have to , i guess ...
#2 lore raw
In reply to pshook

did you also run the following commands while compiling the kernel

make modules
make modules_install

if you have then i think you have not included the appropriate support for your ethernet card into the kernel. Boot your normal redhat kernel and give the lsmod command to see all the loaded modules.

You need to make sure that all these modules are also compiled with your kernel.

As far as i know redhat doesn't create the config file for the configuration that it installs.

hope that helps..

Shailesh

Quoted 21 lines · pshook

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

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

after the first fail which is eth0.

Is there a way to set the make xconfig back to a default or what the original kernel on my system is? I can still boot with the original kernel but not the new one.

Please help I'm an extreme newbie.

-
To unsubscribe from this list: send the line "unsubscribe linux-config" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html