LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] errors in Applying patches

To: Horms <horms@xxxxxxxxxxxx>
Subject: Re: [lvs-users] errors in Applying patches
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Vijay Patil <vijay@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Feb 2000 19:43:55 +0530 (IST)
you can't apply patch directly
beco'z RH-6.1 already comes with 0.8.3-lvs
one way to apply patch is manually
other way is get the fresh linux kernel without lvs supprot of proper
version then you can directly use patch command to apply patch

regards
Vijay...



On Wed, 16 Feb 2000, Horms wrote:

> On Wed, Feb 16, 2000 at 12:41:58PM +0530, swami wrote:
> > 
> > 
> > 
> > 
> > 
> > Hi All!
> > i was trying to apply a patch (ipvs-0.9.2-2.2.12.patch) on a RH 6.1
> > (kernel 2.2.12)
> > this version of RH has patch 0.8.3 of ipvs already in it
> > this is a transcript of the messages
> > ----------------------------------------------------------------------------------------
> > 
> > root@linux linux]# cd /usr/src/linux
> > [root@linux linux]# cat /root/ipvs-0.9.2-2.2.12/ipvs-0.9.2-2.2.12.patch
> > |patch
> > -p1
> > patching file `Documentation/Configure.help'
> > Hunk #1 succeeded at 2728 with fuzz 1 (offset 85 lines).
> > patching file `include/linux/ip_masq.h'
> > Hunk #1 succeeded at 121 with fuzz 2 (offset 18 lines).
> > Hunk #2 FAILED at 153.
> > Hunk #3 FAILED at 163.
> > Hunk #4 FAILED at 177.
> > 3 out of 4 hunks FAILED -- saving rejects to include/linux/ip_masq.h.rej
> > 
> > patching file `include/net/ip_masq.h'
> > Reversed (or previously applied) patch detected!  Assume -R? [n]
> > --------------------------------------------------------------------------------
> 
> As the Red Hat 6.1 kernel already has ipvs 0.8.3 you will need to
> unpatch this first. patch -R < relevant_patch. You can 
> get this patch from the kernel src.rpm . Once you have done
> this the ipvs-0.9.2-2.2.12.patch should apply cleanly.
> 
> Good luck in your mission, you may find it easier just to
> download a fresh 2.2.14 kernel and patch that with the latest
> ipvs code.
> 
> -- 
> Horms
> 
> ----------------------------------------------------------------------
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx
> 


----------------------------------------------------------------------
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>