LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Antefacto patch driving me nuts

To: LVS Users <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Antefacto patch driving me nuts
From: Alan Knipmeyer <aknipmeyer@xxxxxxxxxxxxx>
Date: 23 Oct 2003 20:14:09 +1000
Hiya,

I must be missing something obvious here, but am at my whits end, when
trying to patch linux-2.4.20 (clean kernel) with antefacto patch, I get
the following :-

cd /usr/src/linux-2.4.20
patch -p1 </opt/antefacto/lin^Gux-2.4.20-ipvs-1.0.8-antefactoo.patch
patching file include/linux/netfilter_ipv4/ip_nat.h
patching file kernel/ksyms.c
Hunk #1 FAILED at 127.
1 out of 1 hunk FAILED -- saving rejects to file kernel/ksyms.c.rej
can't find file to patch at input line 28
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naurp linux-2.4.20-ipvs-1.0.8/net/ipv4/ipvs/ip_vs_conn.c
linux-2.4.20-ipvs-1.0.8-antefacto/net/ipv4/ipvs/ip_vs_conn.c
|--- linux-2.4.20-ipvs-1.0.8/net/ipv4/ipvs/ip_vs_conn.c 2003-04-15
01:33:39.000000000 +0200
|+++ linux-2.4.20-ipvs-1.0.8-antefacto/net/ipv4/ipvs/ip_vs_conn.c      
2003-04-15 01:36:33.000000000 +0200
--------------------------
File to patch:
# cd kernel/
vi ksyms.c.rej

***************
*** 127,132 ****
  EXPORT_SYMBOL(kmap_prot);
  EXPORT_SYMBOL(kmap_pte);
  #endif
  EXPORT_SYMBOL(buffermem_pages);
  EXPORT_SYMBOL(nr_free_pages);
  EXPORT_SYMBOL(page_cache_size);
--- 127,133 ----
  EXPORT_SYMBOL(kmap_prot);
  EXPORT_SYMBOL(kmap_pte);
  #endif
+
  EXPORT_SYMBOL(buffermem_pages);
  EXPORT_SYMBOL(nr_free_pages);
  EXPORT_SYMBOL(page_cache_size);

I`ve read the LVS-NAT director docs, and am following them through, but
get the same result. Can someone please tell me what i`m missing before
i go bald :)

Re,

Al.
-- 
aknipmeyer@xxxxxxxxxxxxx | Systems Architect
Level 5/388 Lonsdale Street,Melbourne,Victoria, 3000
Australia Phone 03 9648 2200 Fax 03 9648 2244

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