Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
EL4 ES kernel recompile

EL4 ES kernel recompile

2005-05-09       - By Saripalli, Venkata Ramanamurthy (STSD)

 Back
Reply:     1     2     3     4     5     6     7     8  

The RHEL 4 Distribution does not install sources under
/usr/src/linux-2.6.
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
following command:

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 /usr/src/redhat/BUILD/.

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
building:
cp <desired-file> ./.config

Issue the following command:
make oldconfig

thanks,
murthy.

-- --Original Message-- --
From: redhat-list-bounces@(protected)
[mailto:redhat-list-bounces@(protected)] On Behalf Of Dave Francis
Sent: Monday, May 09, 2005 10:08 AM
To: redhat-list@(protected)
Subject: EL4 ES kernel recompile

Hi Guys

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.
Fresh build.
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@(protected) 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
or
directory
make[1]: *** No rule to make target `Documentation/DocBook/Makefile'.
Stop.
make: *** [_mrproper_Documentation/DocBook] Error 2

[root@(protected) 2.6.9-5.0.5.EL-i686]# pwd
/usr/src/kernels/2.6.9-5.0.5.EL-i686

[root@(protected) 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
i686 i386 GNU/Linux


********************************

Has anybody got any ideas about what Im doing wrong?

All help appreciated.
Cheers
Dave



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:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.