From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Shashank Khanvilkar" Newsgroups: gmane.linux.redhat.axp.kernel Subject: Help with kernel compilation Date: Thu, 1 May 2003 15:06:47 -0500 Organization: UIC Sender: axp-kernel-list-admin@redhat.com Message-ID: <01fb01c3101d$32137da0$c900a8c0@ece.uic.edu> Reply-To: axp-kernel-list@redhat.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01F8_01C30FF3.492E3360" X-Trace: main.gmane.org 1051819556 32430 80.91.224.249 (1 May 2003 20:05:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 May 2003 20:05:56 +0000 (UTC) Original-X-From: axp-kernel-list-admin@redhat.com Thu May 01 22:05:55 2003 Return-path: Original-Received: from listman.redhat.com ([66.187.233.211]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19BKJT-0008QW-00 for ; Thu, 01 May 2003 22:05:51 +0200 Original-Received: from listman.redhat.com (localhost.localdomain [127.0.0.1]) by listman.redhat.com (Postfix) with ESMTP id D92223F32C; Thu, 1 May 2003 16:07:01 -0400 (EDT) Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 931D23F2C7 for ; Thu, 1 May 2003 16:06:44 -0400 (EDT) Original-Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h41K6l905995 for axp-kernel-list@listman.redhat.com; Thu, 1 May 2003 16:06:47 -0400 Original-Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h41K6kI05991 for ; Thu, 1 May 2003 16:06:46 -0400 Original-Received: from birch.cc.uic.edu (birch.cc.uic.edu [128.248.155.162]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h41K6k324393 for ; Thu, 1 May 2003 16:06:46 -0400 Original-Received: (qmail 22383 invoked from network); 1 May 2003 15:06:40 -0500 Original-Received: from mia.ece.uic.edu (HELO film) (131.193.50.165) by birch.cc.uic.edu with SMTP; 1 May 2003 15:06:40 -0500 Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Loop: axp-kernel-list@redhat.com Errors-To: axp-kernel-list-admin@redhat.com X-BeenThere: axp-kernel-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: list List-Help: List-Post: List-Subscribe: , List-Id: Alpha Kernel issues List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.linux.redhat.axp.kernel:130 X-Report-Spam: http://spam.gmane.org/gmane.linux.redhat.axp.kernel:130 This is a multi-part message in MIME format. ------=_NextPart_000_01F8_01C30FF3.492E3360 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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-cus= tom-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 ------=_NextPart_000_01F8_01C30FF3.492E3360 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
I am trying to re-compile the kernel (2.4.20-9) which = has come=20 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=20 reading the document
supplied by red-hat

http://www.redhat.com/docs/manuals/l= inux/RHL-9-Manual/custom-guide/s1-custom-kernel-modularized.html


The above doicument gives various steps needed to compile the=20 kernel.
However I don't understand the following=20 step:

"It is = recommended that=20 the configuration of the default Red Hat Linux kernel be used as a = starting=20 point. To do this, copy the configuration file for the system's = architecture=20 from the /usr/src/linux-2.4/configs/ directory = to /usr/src/linux-2.4/.config. If the system has more = than four=20 gigabytes of memory, copy the file that contains the keyword bigmem."

My questions are as = follows:

1.=20 I guess the .config file saves all the configuration options that = we
select=20 during make menuconfig (and friends). Am i correct?

2. I was not = able to=20 find any .config file in my source tree. However i was
able to find = an extra=20 directory /usr/src/linux-2.4/configs, which has
different = configuration files=20 as listed=20 below.

kernel-2.4.20-athlon-smp.config
kernel-2.4.20-athlon.con= fig
kernel-2.4.20-i386-BOOT.config
kernel-2.4.20-i386-smp.configkernel-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.conf= ig
kernel-2.4.20-x86_64.config

How=20 do i find out which config file was used to build my current = running
kernel,=20 so that i can copy it to .config and add some more required modules to=20 it.

My system is an Dell Dimension 4500 (P4 at 2 Ghz).

Any = help=20 appreciated.
 
Regards
Shashank
http://mia.ece.uic.edu/~papers
------=_NextPart_000_01F8_01C30FF3.492E3360--