Bulilding Kernel-2.4.22-1.2194.nptl error
Fritz Whittington
f.whittington at att.net
Fri Jul 2 18:19:57 UTC 2004
On or about 2004-07-02 08:50, Phil Schaffner whipped out a trusty #2
pencil and scribbled:
>On Fri, 2004-07-02 at 08:43 -0400, ne... wrote:
>
>
>>On Jul 2, 2004 at 16:13, Parameshwara Bhat in a soothing rage wrote:
>>
>>
>>
>>>Hello friends,
>>>
>>>I wanted to build kernel - for fun,for learning basically - and installed
>>>...
>>>
>>>
>>You need to read the kernel compiling HOWTO so that you know the steps
>>to take and it what order. You also need to understand what each step
>>does. 'make mrproper' cleans out _all_ your configuration that you
>>make in the build tree. So after running that step, you need to
>>configure the kernel build. Then do a 'make dep clean bzImage
>>modules'.
>>
>>
>
>Here's a brief procedure/script that has worked many times:
>
>#!/bin/bash
># /root/bin/make_linux
># Kernel build steps:
># 1. Unpack the sources or install kernel-source<version>.i386.rpm
># and cd to source directory (ex: "cd /usr/src/linux-2.6.5-1.358")
># 2. make mrproper
># 3. Recommended - copy the .config file from configs/ or from your
># old linux kernel source tree to new kernel tree (may save time,
># if you want to reuse the old settings).
># (ex: "cp cp configs/kernel-2.6.5-i686.config .config")
># then "make oldconfig"
># 4. make xconfig (gconfig for 2.6, menuconfig if not in X)
># 5. make dep (not required for 2.6 kernels)
># 6. make
># 7. make bzImage
># 8. make modules
># 9. make modules_install
># 10. make install
># 11. configure LILO or GRUB (install does this)
># 12. Optional - make clean (If you want to free up disk space)
># Alternative for 6-11 for 2.6: make all
># This script implements steps 6-11 for FC2 (all one logical line)
># May want to add make flag "-j N", N ~= 3...6 to run parallel jobs
>
>(make && make bzImage && make modules && make modules_install \
> && make install) >& /tmp/MakeKernel.log
>
># Check the log for errors, edit grub.conf as desired, reboot or repeat.
>
>
What about running mkinitrd?
--
Fritz Whittington
TI Alum - http://www.tialumni.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3252 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040702/83711940/attachment-0001.bin>
More information about the fedora-list
mailing list