* Help with kernel compilation
@ 2003-05-01 20:06 Shashank Khanvilkar
2003-05-01 20:42 ` Jan-Benedict Glaw
0 siblings, 1 reply; 2+ messages in thread
From: Shashank Khanvilkar @ 2003-05-01 20:06 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1864 bytes --]
Hi,
I am trying to re-compile the kernel (2.4.20-9) which has come with RH 9.0.
My previous experinces with kernel compile have not been successfull and I
would like to be more carefull this time. Hence I am reading the document
supplied by red-hat
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-custom-kernel-modularized.html
The above doicument gives various steps needed to compile the kernel.
However I don't understand the following step:
"It is recommended that the configuration of the default Red Hat Linux kernel be used as a starting point. To do this, copy the configuration file for the system's architecture from the /usr/src/linux-2.4/configs/ directory to /usr/src/linux-2.4/.config. If the system has more than four gigabytes of memory, copy the file that contains the keyword bigmem."
My questions are as follows:
1. I guess the .config file saves all the configuration options that we
select during make menuconfig (and friends). Am i correct?
2. I was not able to find any .config file in my source tree. However i was
able to find an extra directory /usr/src/linux-2.4/configs, which has
different configuration files as listed below.
kernel-2.4.20-athlon-smp.config
kernel-2.4.20-athlon.config
kernel-2.4.20-i386-BOOT.config
kernel-2.4.20-i386-smp.config
kernel-2.4.20-i386.config
kernel-2.4.20-i586-smp.config
kernel-2.4.20-i586.config
kernel-2.4.20-i686-bigmem.config
kernel-2.4.20-i686-smp.config
kernel-2.4.20-i686.config
kernel-2.4.20-x86_64-smp.config
kernel-2.4.20-x86_64.config
How do i find out which config file was used to build my current running
kernel, so that i can copy it to .config and add some more required modules to it.
My system is an Dell Dimension 4500 (P4 at 2 Ghz).
Any help appreciated.
Regards
Shashank
http://mia.ece.uic.edu/~papers
[-- Attachment #2: Type: text/html, Size: 3213 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help with kernel compilation
2003-05-01 20:06 Help with kernel compilation Shashank Khanvilkar
@ 2003-05-01 20:42 ` Jan-Benedict Glaw
0 siblings, 0 replies; 2+ messages in thread
From: Jan-Benedict Glaw @ 2003-05-01 20:42 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 2508 bytes --]
On Thu, 2003-05-01 15:06:47 -0500, Shashank Khanvilkar <shashank@evl.uic.edu>
wrote in message <01fb01c3101d$32137da0$c900a8c0@ece.uic.edu>:
> Hi,
> I am trying to re-compile the kernel (2.4.20-9) which has come with RH 9.0.
> My previous experinces with kernel compile have not been successfull and I
> would like to be more carefull this time. Hence I am reading the document
> supplied by red-hat
>
> http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-custom-kernel-modularized.html
>
> The above doicument gives various steps needed to compile the kernel.
> However I don't understand the following step:
>
> "It is recommended that the configuration of the default Red Hat Linux kernel be used as a starting point. To do this, copy the configuration file for the system's architecture from the /usr/src/linux-2.4/configs/ directory to /usr/src/linux-2.4/.config. If the system has more than four gigabytes of memory, copy the file that contains the keyword bigmem."
>
> My questions are as follows:
>
> 1. I guess the .config file saves all the configuration options that we
> select during make menuconfig (and friends). Am i correct?
Right.
> 2. I was not able to find any .config file in my source tree. However i was
> able to find an extra directory /usr/src/linux-2.4/configs, which has
> different configuration files as listed below.
>
> kernel-2.4.20-athlon-smp.config
> kernel-2.4.20-athlon.config
> kernel-2.4.20-i386-BOOT.config
> kernel-2.4.20-i386-smp.config
> kernel-2.4.20-i386.config
> kernel-2.4.20-i586-smp.config
> kernel-2.4.20-i586.config
> kernel-2.4.20-i686-bigmem.config
> kernel-2.4.20-i686-smp.config
> kernel-2.4.20-i686.config
> kernel-2.4.20-x86_64-smp.config
> kernel-2.4.20-x86_64.config
This is exactly as RedHats help text tells you.
However, there seems to be no ready-made alpha config file.
> How do i find out which config file was used to build my current running
> kernel, so that i can copy it to .config and add some more required modules to it.
Hint: nearly everybody will place the .config file in /boot/ .
> My system is an Dell Dimension 4500 (P4 at 2 Ghz).
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-01 20:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-01 20:06 Help with kernel compilation Shashank Khanvilkar
2003-05-01 20:42 ` Jan-Benedict Glaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox