patch trouble

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: patch trouble
From: Trevor Marshall <pmarshal@xxxxxxxxxxx>
Date: Fri, 29 Sep 2000 09:12:28 -0400 (EDT)
Creating a simple NAT director box. Was having some trouble before due to
mismatched verions of patch and
ipvsadm - due to ultramonkey install I think. Am now following directions
on the page.. 

patching clean 2.2.14 kernel (RH6.2 out of box) with

[root@ape linux-2.2.14]# pwd
[root@ape linux-2.2.14]# cat
~trevor/ipvs-0.9.12-2.2.14/ipvs-0.9.12-2.2.14.patch | patch -p1
patching file `Documentation/'
Hunk #1 succeeded at 2766 with fuzz 1 (offset 121 lines).
patching file `include/linux/ip_masq.h'
Hunk #1 succeeded at 123 with fuzz 2 (offset 20 lines).
Hunk #2 FAILED at 156.
Hunk #3 FAILED at 166.
Hunk #4 FAILED at 180.
3 out of 4 hunks FAILED -- saving rejects to include/linux/ip_masq.h.rej
patching file `include/linux/sysctl.h'
patching file `include/net/ip.h'
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] y
Hunk #1 FAILED at 47.
1 out of 1 hunk FAILED -- saving rejects to include/net/ip.h.rej
patching file `include/net/ip_masq.h'
Hunk #1 FAILED at 12.
Hunk #2 FAILED at 47.
Hunk #3 succeeded at 80 with fuzz 2 (offset 17 lines).
Hunk #4 FAILED at 124.
Hunk #5 succeeded at 179 (offset 3 lines).
Hunk #6 succeeded at 371 (offset 17 lines).
Hunk #7 succeeded at 383 (offset 3 lines).
3 out of 7 hunks FAILED -- saving rejects to include/net/ip_masq.h.rej
The next patch would create the file `include/net/ip_vs.h',
which already exists!  Assume -R? [n] 
Apply anyway? [n] y
patching file `include/net/ip_vs.h'
Patch attempted to create file `include/net/ip_vs.h', which already

... etc ...

Is this patch working ? I know this is a little off topic but most of
these hunks are failing. I was hoping maybe someone who had seen this
before could shed some light ??

-Trevor Marshall

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