2002-03-14 22:46:06

by Marek Malowidzki

[permalink] [raw]
Subject: Default kernel configuration

Hi all,

I hope that this question is not too simple for this list. After many attempts I
finally gave up and ask for some help.

I would like to recompile the kernel (after some code modification - no hacking,
just a research project). So the first step would be to try to recompile the
kernel in the default (that is, installed) configuration. But where is it (the
config file)? /usr/src/linux-2.4/.config is far from the installed
configuration. Should it be
/usr/src/linux-2.4.7-10/configs/kernel-2.4.7-10-i686.config? When I copy this
file to /usr/src/linux-2.4/.config and perform make dep, make clean and make
bzImage, I get errors in apic.c (e.g. 389: nmi_watchdog undefined, and some more
undefined symbols).

So my question is: where is the config file with the default (installation)
configuration?

RedHat 7.2, kernel 2.4.7-10, Pentium II machine.

Best regards,

Marek



2002-03-15 17:55:27

by J.S.S.

[permalink] [raw]
Subject: RE: Default kernel configuration

Your default configuration for Redhat is in /usr/src/linux-2.4/configs/
Choose one of the few there - probably the kernel-2.4.7-i686.config file.

J.S.Souza

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Marek Malowidzki
Sent: Thursday, March 14, 2002 2:45 PM
To: [email protected]
Subject: Default kernel configuration


Hi all,

I hope that this question is not too simple for this list. After many
attempts I
finally gave up and ask for some help.

I would like to recompile the kernel (after some code modification - no
hacking,
just a research project). So the first step would be to try to recompile the
kernel in the default (that is, installed) configuration. But where is it
(the
config file)? /usr/src/linux-2.4/.config is far from the installed
configuration. Should it be
/usr/src/linux-2.4.7-10/configs/kernel-2.4.7-10-i686.config? When I copy
this
file to /usr/src/linux-2.4/.config and perform make dep, make clean and make
bzImage, I get errors in apic.c (e.g. 389: nmi_watchdog undefined, and some
more
undefined symbols).

So my question is: where is the config file with the default (installation)
configuration?

RedHat 7.2, kernel 2.4.7-10, Pentium II machine.

Best regards,

Marek