RE: EL4 ES kernel recompile
From: Saripalli, Venkata Ramanamurthy (STSD) (saripalli_at_hp.com)
Date: Mon, 9 May 2005 10:17:59 +0530 To: "General Red Hat Linux discussion list" <firstname.lastname@example.org>
The RHEL 4 Distribution does not install sources under
We need to build the source rpm to get the sources.
Install kernel-<version>.src.rpm (given the default RPM configuration,
the files this package contains will be written to /usr/src/redhat/)
Change directory to /usr/src/redhat/SPECS/, and issue the
rpmbuild -bp --target=<arch> kernel.spec
(Where <arch> is the desired target architecture.)
On a default RPM configuration, the kernel tree will be located
In resulting tree, the configurations for the specific kernels shipped
in Red Hat Enterprise Linux 3.95 are in the /configs/ directory. For
example, the i686 SMP configuration file is named
/configs/kernel-<version>-i686-smp.config. Issue the following
command to place the desired configuration file in the proper place for
cp <desired-file> ./.config
Issue the following command:
[mailto:email@example.com] On Behalf Of Dave Francis
Sent: Monday, May 09, 2005 10:08 AM
Subject: EL4 ES kernel recompile
Im trying to recompile the kernel in EL4 ES in order to get the clock
running correctly under VMware ESX.
As Redhat dont provide much info on the process for this under EL4, ive
kinda worked blind up to here, and now Im stuck.
First, ive updated (up2date). (inc Kernel).
Next I installed the kernel source through up2date.
Then I tried a make mrproper, and thats where Im stuck.
[root@albns001 2.6.9-5.0.5.EL-i686]# make mrproper
grep: /usr/include/bits/stat.h: No such file or directory
scripts/Makefile.clean:10: Documentation/DocBook/Makefile: No such file
make: *** No rule to make target `Documentation/DocBook/Makefile'.
make: *** [_mrproper_Documentation/DocBook] Error 2
[root@albns001 2.6.9-5.0.5.EL-i686]# pwd
[root@albns001 2.6.9-5.0.5.EL-i686]# uname -a
Linux albns001.nzaa.co.nz 2.6.9-5.0.5.EL #1 Fri Apr 8 14:21:35 EDT 2005
i686 i386 GNU/Linux
Has anybody got any ideas about what Im doing wrong?
All help appreciated.
ATTENTION: The information contained in this message and/or attachments
is intended only for the person or entity to which it is addressed and
may contain confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you received this in error, please
contact the sender and delete the material from any system and destroy
any copies. Thank you.
DISCLAIMER: To the maximum extent permitted by law, the sender and/or
any related party is not liable (including in respect of negligence) for
viruses or other defects or for changes made to this email or to any
attachments. Before opening or using attachments, check them for viruses
and other effects.
-- redhat-list mailing list unsubscribe mailto:firstname.lastname@example.org?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:email@example.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list