Compile new kernel in Fedora 5


 
Thread Tools Search this Thread
Operating Systems Linux Compile new kernel in Fedora 5
# 1  
Old 10-21-2008
Compile new kernel in Fedora 5

Hi All,
I try to compile new kernel in FC5.

New kernel version - 2.6.20.21
Operating System - Fedora 5

I have followed these steps,

make menuconfig
make
make modules
make modules_install
make install

Then i have changed the grub.cong and reboot the system with new kernel.

The system has rebooted. But eth0 not detected..

ifconfig command displays only - lo details.

I feel , i have missed something..

How resolve this problem..

Regards
Vivek
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

can i get UNIX kernel and compile it like Linux ?

I am not a newbie to Linux, i have been using Linux as my desktop for 4 years, but i am just an end user to Linux, no advanced knowledge to it. I knew that, i can download generic linux kernel and compile it by myself, but how about Unix? how can i get an Unix kernel and compile it ? or no this... (5 Replies)
Discussion started by: wong.sie.ung
5 Replies

2. Red Hat

Kernel can not boot after upgrade on Fedora OS 15.

Hello, everyone. I am using Fedora 15, and want to upgrade to version 16. I follow the official link Upgrading Fedora using yum - FedoraProject to upgrade my OS by the following command: yum update kernel* --releasever=16 yum groupupdate Base --releasever=16 reboot After reboot, OS... (2 Replies)
Discussion started by: 915086731
2 Replies

3. Ubuntu

Kernel compile error

Hi I'm compiling a real-time kernel in linux, but after I type make bzImage things end with this: (Things going well doing CC and things).... CC arch/x86/kernel/kgdb.o CC arch/x86/kernel/vm86_32.o CC arch/x86/kernel/early_printk.o CC arch/x86/kernel/ipipe.o... (2 Replies)
Discussion started by: mdop
2 Replies

4. Linux

Howto compile my own module into the kernel

Hi there, I'm currently writing a program/module which makes use of the Linux Security Modules (LSM), which provide hooks for some security . The bad thing about it is: The function to set the hook to the LSM is not exported. That means, I can't just write a loadable kernel module, but have to... (3 Replies)
Discussion started by: disaster
3 Replies

5. UNIX for Dummies Questions & Answers

Compile most recent kernel on older distro ?

Debian lenny uses the 2.6.26 kernel by default. Can I compile the most recent kernel from kernel.org and use it instead ? Will the new kernel be incompatible with other installed softwares ? (1 Reply)
Discussion started by: cyler
1 Replies

6. Slackware

Compile Leanest Slackware Kernel

My goal is to make the leanest Slackware kernel possible for my machine specifically. I'm not exactly a newbie to unix, but I'm not an expert. I tried this tutorial Chapter*18.*Building a kernel , but I would like something in more depth to really make a lean slack machine. Where should I go? (2 Replies)
Discussion started by: darkstarxor
2 Replies

7. Linux

kernel compile

Dear experts, How can compile the kernel as application mode? Thanks in advance. (2 Replies)
Discussion started by: Zaxon
2 Replies

8. Debian

compile kernel with OFED

Hello Friends, I know how to compile the kernel . But I don't know how to compile the kernel with OFED. Can any one assist me on that. Or can anyone send me the link. Thank you. (0 Replies)
Discussion started by: pradeepreddy
0 Replies

9. UNIX for Dummies Questions & Answers

how to compile linux kernel on redhat

Hello, Please let me know how to compile a linux kernel on redhat. I am relatively new in this area so please be a little patient with me. Here is the file I was consulting with the following details: Compiling the Linux Kernel on Redhat 7.1 This page describes how to install... (2 Replies)
Discussion started by: bhattbonny
2 Replies

10. UNIX for Advanced & Expert Users

compile a new kernel in RHEL 5

Hi all, I need some help in compiling a new kernel. I am using RHEL 5 with kernel version 2.6.18. I have downloaded a kernel from link http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.6.tar.bz2 1. cd /usr/src 2. wget -c http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2 3.... (1 Reply)
Discussion started by: vikas027
1 Replies
Login or Register to Ask a Question
CONFIG(8)						    BSD System Manager's Manual 						 CONFIG(8)

NAME
config -- build system configuration files SYNOPSIS
config [-CVgp] [-I path] [-d destdir] [-s srcdir] SYSTEM_NAME config [-x kernel] DESCRIPTION
The config utility builds a set of system configuration files from the file SYSTEM_NAME which describes the system to configure. A second file tells config what files are needed to generate a system and can be augmented by configuration specific set of files that give alternate files for a specific machine (see the FILES section below). Available options and operands: -V Print the config version number. -C If the INCLUDE_CONFIG_FILE is present in a configuration file, kernel image will contain full configuration files included lit- erally (preserving comments). This flag is kept for backward compatibility. -I path Search in path for any file included by the include directive. This option may be specified more than once. -d destdir Use destdir as the output directory, instead of the default one. Note that config does not append SYSTEM_NAME to the directory given. -s srcdir Use srcdir as the source directory, instead of the default one. -m Print the MACHINE and MACHINE_ARCH values for this kernel and exit. -g Configure a system for debugging. -x kernel Print kernel configuration file embedded into a kernel file. This option makes sense only if options INCLUDE_CONFIG_FILE entry was present in your configuration file. -p Configure a system for profiling; for example, kgmon(8) and gprof(1). If two or more -p options are supplied, config configures a system for high resolution profiling. SYSTEM_NAME Specify the name of the system configuration file containing device specifications, configuration options and other system parameters for one system configuration. The config utility should be run from the conf subdirectory of the system source (usually /sys/ARCH/conf), where ARCH represents one of the architectures supported by FreeBSD. The config utility creates the directory ../compile/SYSTEM_NAME or the one given with the -d option as necessary and places all output files there. The output of config consists of a number of files; for the i386, they are: Makefile, used by make(1) in building the system; header files, definitions of the number of various devices that will be compiled into the system. The config utility looks for kernel sources in the directory ../.. or the one given with the -s option. After running config, it is necessary to run ``make depend'' in the directory where the new makefile was created. The config utility prints a reminder of this when it completes. If any other error messages are produced by config, the problems in the configuration file should be corrected and config should be run again. Attempts to compile a system that had configuration errors are likely to fail. DEBUG KERNELS
Traditional BSD kernels are compiled without symbols due to the heavy load on the system when compiling a ``debug'' kernel. A debug kernel contains complete symbols for all the source files, and enables an experienced kernel programmer to analyse the cause of a problem. The debuggers available prior to 4.4BSD-Lite were able to find some information from a normal kernel; gdb(1) provides very little support for normal kernels, and a debug kernel is needed for any meaningful analysis. For reasons of history, time and space, building a debug kernel is not the default with FreeBSD: a debug kernel takes up to 30% longer to build and requires about 30 MB of disk storage in the build directory, compared to about 6 MB for a non-debug kernel. A debug kernel is about 11 MB in size, compared to about 2 MB for a non-debug kernel. This space is used both in the root file system and at run time in mem- ory. Use the -g option to build a debug kernel. With this option, config causes two kernel files to be built in the kernel build directory: o kernel.debug is the complete debug kernel. o kernel is a copy of the kernel with the debug symbols stripped off. This is equivalent to the normal non-debug kernel. There is currently little sense in installing and booting from a debug kernel, since the only tools available which use the symbols do not run on-line. There are therefore two options for installing a debug kernel: o ``make install'' installs kernel in the root file system. o ``make install.debug'' installs kernel.debug in the root file system. FILES
/sys/conf/files list of common files system is built from /sys/conf/Makefile.ARCH generic makefile for the ARCH /sys/conf/files.ARCH list of ARCH specific files /sys/ARCH/compile/SYSTEM_NAME default kernel build directory for system SYSTEM_NAME on ARCH. SEE ALSO
config(5) The SYNOPSIS portion of each device in section 4. Building 4.3 BSD UNIX System with Config. HISTORY
The config utility appeared in 4.1BSD. Before support for -x was introduced, options INCLUDE_CONFIG_FILE included entire configuration file that used to be embedded in the new ker- nel. This meant that strings(1) could be used to extract it from a kernel: to extract the configuration information, you had to use the com- mand: strings -n 3 kernel | sed -n 's/^___//p' BUGS
The line numbers reported in error messages are usually off by one. BSD
May 8, 2007 BSD