Re: Bulilding Kernel-2.4.22-1.2194.nptl error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux