LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Failed Patches and Proxy Servers

To: "Julian Anastasov" <ja@xxxxxx>
Subject: RE: Failed Patches and Proxy Servers
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: "Bill Hatter" <bhatter@xxxxxxxxxxxxx>
Date: Tue, 13 Nov 2001 11:08:27 -0500
Julian,

Nope, fresh kernel extraction results in the following:

patching file `include/linux/inetdevice.h'
Hunk #1 FAILED at 18.
Hunk #2 FAILED at 57.
2 out of 2 hunks FAILED -- saving rejects to include/linux/inetdevice.h.rej
patching file `include/linux/sysctl.h'
Hunk #1 FAILED at 325.
1 out of 1 hunk FAILED -- saving rejects to include/linux/sysctl.h.rej
patching file `net/ipv4/devinet.c'
Hunk #1 FAILED at 1016.
Hunk #2 FAILED at 1061.
2 out of 2 hunks FAILED -- saving rejects to net/ipv4/devinet.c.rej
patching file `include/net/ip_fib.h'
Hunk #1 FAILED at 203.
1 out of 1 hunk FAILED -- saving rejects to include/net/ip_fib.h.rej
patching file `net/ipv4/fib_frontend.c'
Hunk #1 FAILED at 204.
Hunk #2 FAILED at 227.
Hunk #3 FAILED at 236.
Hunk #4 FAILED at 262.
4 out of 4 hunks FAILED -- saving rejects to net/ipv4/fib_frontend.c.rej
patching file `net/ipv4/route.c'
Hunk #1 FAILED at 1206.
Hunk #2 FAILED at 1367.
Hunk #3 FAILED at 1394.
Hunk #4 FAILED at 1478.
4 out of 4 hunks FAILED -- saving rejects to net/ipv4/route.c.rej
patching file `Documentation/filesystems/proc.txt'
Hunk #1 FAILED at 1561.
1 out of 1 hunk FAILED -- saving rejects to
Documentation/filesystems/proc.txt.rej
patching file `Documentation/networking/ip-sysctl.txt'
Hunk #1 FAILED at 347.
1 out of 1 hunk FAILED -- saving rejects to
Documentation/networking/ip-sysctl.txt.rej

Here is the reject file that is being produced for inetdevice.h

***************
*** 18,23 ****
        int     mc_forwarding;
        int     tag;
        int     arp_filter;
        void    *sysctl;
  };

--- 18,24 ----
        int     mc_forwarding;
        int     tag;
        int     arp_filter;
+       int     forward_shared;
        void    *sysctl;
  };

***************
*** 56,61 ****
          (ipv4_devconf.accept_redirects ||
(in_dev)->cnf.accept_redirects)))

  #define IN_DEV_ARPFILTER(in_dev)      (ipv4_devconf.arp_filter ||
(in_dev)->cnf.arp_filter)

  struct in_ifaddr
  {
--- 57,64 ----
          (ipv4_devconf.accept_redirects ||
(in_dev)->cnf.accept_redirects)))

  #define IN_DEV_ARPFILTER(in_dev)      (ipv4_devconf.arp_filter ||
(in_dev)->cnf.arp_filter)
+
+ #define IN_DEV_FORWARD_SHARED(in_dev) ((in_dev)->cnf.forward_shared &&
ipv4_devconf.forward_shared)

  struct in_ifaddr
  {


-----Original Message-----
From: Julian Anastasov [mailto:ja@xxxxxx]
Sent: Tuesday, November 13, 2001 10:54 AM
To: Bill Hatter
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: Failed Patches and Proxy Servers



        Hello,

On Tue, 13 Nov 2001, Bill Hatter wrote:

> Julian,
>
> I just downloaded and patched the 2.4.5 kernel with the ipvs patch, built
> the kernel, and then tried to patch with the forward_shared-2.4.5-1.diff
and
> the fib-245-1.diff patches. Both failed again with the same error
messages.

        Apply only forward_shared-2.4.5-1.diff and over unpatched
kernel (before IPVS). You are missing something.

> I'm at a loss as to why this would be happening. Any ideas?

Regards

--
Julian Anastasov <ja@xxxxxx>



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