From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jan-Benedict Glaw Newsgroups: gmane.linux.redhat.axp.kernel Subject: Re: Help with kernel compilation Date: Thu, 1 May 2003 22:42:21 +0200 Sender: axp-kernel-list-admin@redhat.com Message-ID: <20030501204221.GF27494@lug-owl.de> References: <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/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0hHDr/TIsw4o3iPK" X-Trace: main.gmane.org 1051821746 10753 80.91.224.249 (1 May 2003 20:42:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 May 2003 20:42:26 +0000 (UTC) Original-X-From: axp-kernel-list-admin@redhat.com Thu May 01 22:42:21 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 19BKsJ-0002ki-00 for ; Thu, 01 May 2003 22:41:51 +0200 Original-Received: from listman.redhat.com (localhost.localdomain [127.0.0.1]) by listman.redhat.com (Postfix) with ESMTP id 0C8643F1DA; Thu, 1 May 2003 16:43:02 -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 095C13EFDA for ; Thu, 1 May 2003 16:42:21 -0400 (EDT) Original-Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h41KgN219105 for axp-kernel-list@listman.redhat.com; Thu, 1 May 2003 16:42:23 -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 h41KgNI19101 for ; Thu, 1 May 2003 16:42:23 -0400 Original-Received: from dvmwest.gt.owl.de (dvmwest.gt.owl.de [62.52.24.140]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h41KgM303769 for ; Thu, 1 May 2003 16:42:22 -0400 Original-Received: by dvmwest.gt.owl.de (Postfix, from userid 1001) id 6EDB94AB95; Thu, 1 May 2003 22:42:21 +0200 (CEST) Original-To: axp-kernel-list@redhat.com Content-Disposition: inline In-Reply-To: <01fb01c3101d$32137da0$c900a8c0@ece.uic.edu> User-Agent: Mutt/1.4i X-Operating-System: Linux mail 2.4.18 X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net 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:131 X-Report-Spam: http://spam.gmane.org/gmane.linux.redhat.axp.kernel:131 --0hHDr/TIsw4o3iPK Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 2003-05-01 15:06:47 -0500, Shashank Khanvilkar 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 >=20 > http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-cus= tom-kernel-modularized.html >=20 > The above doicument gives various steps needed to compile the kernel. > However I don't understand the following step: >=20 > "It is recommended that the configuration of the default Red Hat Linux ke= rnel be used as a starting point. To do this, copy the configuration file f= or 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." >=20 > My questions are as follows: >=20 > 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 w= as > able to find an extra directory /usr/src/linux-2.4/configs, which has > different configuration files as listed below. >=20 > 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 modul= es 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 --=20 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=FCrger" | im Internet! | im Ira= k! ret =3D do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA)); --0hHDr/TIsw4o3iPK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+sYasHb1edYOZ4bsRAo42AJ42wGXgv+L3/K5zfOtLMBJKex2wbwCfTuax sdNQrq73qX3YieYSF9XTVlE= =U3yY -----END PGP SIGNATURE----- --0hHDr/TIsw4o3iPK--