LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: 2.4.21 kernel patch/config problems

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: 2.4.21 kernel patch/config problems
From: "Bjoern Metzdorf" <bm@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jun 2003 17:07:03 +0200
> 1) I download kernel 2.4.21 release from kernel.org
> 2) Got "IPVS Netfilter module for kernel 2.4 - Version 1.0.9 - May
> 21, 2003" 2) unbzip/untar kernel to /usr/src
> 3) symlink linux-2.4.21 to linux in /usr/src
> 4) cd /usr/src/linux
> 5) cat both the diff files | patch -p1 which appear to patch fine
> [Hunk #1 succeeded at 261 with fuzz2 (offset 13 lines)] for instance
> 6) make xconfig
> 7) Click "code maturity level options" and enable prompt for
> developmental.. 8) Click Networking


To build the ipvs within the kernel, you need do the following commands:
        cd /usr/src/linux
        cat <path-name>/linux_kernel_ksyms_c.diff | patch -p1
        cat <path-name>/linux_net_netsyms_c.diff | patch -p1
        cat <path-name>/linux_net_Makefile.diff | patch -p1
        cat <path-name>/linux_net_ipv4_Config_in.diff | patch -p1
        cat <path-name>/linux_ip_fw_compat_c.diff | patch -p1
        cp -rp <path-name>/ipvs net/ipv4
        mv net/ipv4/ipvs/linux_net_ipv4_ipvs_Makefile net/ipv4/ipvs/Makefile
        make menuconfig


What you did is the "module only" way. RTFR (README) :)

Regards,
Bjoern

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