From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-stjh-01-01.rogers.nf.net ([192.75.13.141]) by speech.braille.uwo.ca with esmtp (Exim 3.32 #1 (Debian)) id 160x8r-0006yP-00 for ; Mon, 05 Nov 2001 22:43:13 -0500 Received: from drl.roadrunner.nf.net (wiley-1-354089.roadrunner.nf.net [205.251.248.196]) by smtp-stjh-01-01.rogers.nf.net (8.11.6/8.11.6) with ESMTP id fA63hGM06289 for ; Tue, 6 Nov 2001 00:13:17 -0330 (NST) Message-Id: <5.1.0.14.0.20011105233517.02e0bb30@pop-server.roadrunner.nf.net> X-Sender: rab615@pop-server.roadrunner.nf.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 06 Nov 2001 00:13:15 -03-30 To: speakup@braille.uwo.ca From: Doug Lawlor Subject: Compiling a new kernel? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Hello list, Is there a FAQ some ware on compiling a kernel? The problem I'm having is that I can't produce a kernel that is smaller than 2MB. Should kernels be compressed? I am using slackware 8 here. If there is not such a document would someone be willing to have a look at my configuration and the output from 'make dep' and 'make' to see why this is happening? Here are the steps I am taking. Doug 1. place the 'linux-2.4.13.tar.gz' file in my '/usr/src' directory. 2. 'tar zxvf linux-2.4.13.tar.gz'. A directory 'linux' is created and the files and directories from the tar ball are placed in this directory. 3. Place 'speakup-1.00.tar.gz' in my '/usr/src' directory. 4. 'tar zxvf speakup-1.00.tar.gz' A directory 'speakup-1.00' is created and the files and directories are placed in this directory. 5. 'cd /usr/src/speakup-1.00' 6. './install' All of the patch hunks apply successfully. 7. 'cd /usr/src/linux' 8. 'make dep >/home/dlawlor/makedep' The output is directed into '/home/dlawlor/makedep'. 9. 'make menuconfig' I go through the configuration process and save my configuration in '/home/dlawlor/kernel-config.cfg'. 10. I press the 'esc' key until I am asked if I want to save my configuration. I say yes and end up with a '.config' file in my '/usr/src/linux' directory. 11. 'make >/home/dlawlor/kernel-make' All the output from make is placed into '/home/dlawlor/kernel-make'. 12. I do a 'ls -l' and see a file called 'vmlinux' in my '/usr/src/linux' directory. It is executable and is around 2.5 mb. 13. 'cp vmlinux /vmlinux-2.4.13' Copy the new kernel to where is lives on my system. 14. I run 'lilo' and get a fatal error saying that kernel vmlinux-2.4.13 is too big.