[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

How do i apply a patch on a kernel and rebuild it????



hi,

>>>>> "swami" == swami  <sws@xxxxxxxxxxxx> writes:

    swami> a web server.  i had some problems in applying a patch that
    swami> i had d'loaded from lonux-virtual server.org is there any
    swami> other file that will have to be co-applied along with the
    swami> ipvs-9.* series of patches???  on recompiling the prompt is
    swami> "hunk x not loaded!!!!!!!"x=1,2,3....  and the recompile
    swami> aborted.  Swami.  

	I have no idea about the virtual server patches etc.  To patch 
a kernel read the README in the base dir of your source tree.  Here is 
a relevant extract, 

--
                cd /usr/src
                gzip -cd patchXX.gz | patch -p0

   or
                cd /usr/src
                bzip2 -dc patchXX.bz2 | patch -p0
--

remember that /usr/src/linux should be a link to your current linux
sources else, do 
ln -s /usr/src/linux /usr/src/<corresponding-kernel-src-dir>

	Patches will work only on an intended kernel version (unless
you are very lucky).  So make sure you have the right kernel sources.

Redhat also has the nasty habit of putting some of their own patches
to the kernel, so your kernel may not be the pristine version that
Linus puts out!


prabhu

-- 
Insufficient facts always invite danger.
		-- Spock, "Space Seed", stardate 3141.9
---
Send e-mail to 'ilugc-request@xxxxxxxxxxxxxxxxxx' with 'unsubscribe' 
in either the subject or the body to unsubscribe from this list.