LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvs-0.2.6, stock 2.4.2 kernel. compile failure.

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ipvs-0.2.6, stock 2.4.2 kernel. compile failure.
From: Kyrian <kyrian@xxxxxxx>
Date: Wed, 21 Mar 2001 17:08:54 +0000
> > C'est ainsi que Kyrian (kyrian@xxxxxxx) s'exprimait:
> >
> > ] static rwlock_t __ip_vs_svc_lock = RW_LOCK_UNLOCKED;
> > ]
> > I just removed the static word in that definition so that the other
> > module may use it. BTW the generated kernel produced (ipvs included in the
> > kernel not as modules) has a Null pointer dereference :-(
> It compiled for me. This is a surprise, it worked and it's not supposed to :-)

Hi,

I'm still having troubles.

I assume that you don't make all of the LVS stuff as modules, and that
some of it has to actually be built in to the kernel proper? Otherwise
what I've done would work...? ;*|

Could some kind soul who's got linux-2.4.2-0.2.6 compiled, and LVS
working post the relevant parts of their kernel's .config? 

Yours,

Kev.

PS. FYI I'm getting (with no modules inserted to begin with):

[root@ct1 ipvs-0.2.6]# insmod ip_vs_wlc  
Using /lib/modules/2.4.2/kernel/net/ipv4/ipvs/ip_vs_wlc.o
/lib/modules/2.4.2/kernel/net/ipv4/ipvs/ip_vs_wlc.o: unresolved symbol
ip_vs_get_debug_level_Rsmp_7176a134
/lib/modules/2.4.2/kernel/net/ipv4/ipvs/ip_vs_wlc.o: unresolved symbol
register_ip_vs_scheduler_Rsmp_3eab7bfb
/lib/modules/2.4.2/kernel/net/ipv4/ipvs/ip_vs_wlc.o: unresolved symbol
unregister_ip_vs_scheduler_Rsmp_1ae2864e
[root@ct1 ipvs-0.2.6]# 

And:

[root@ct1 ipvs-0.2.6]# insmod ip_vs_wlc  
Using /lib/modules/2.4.2/kernel/net/ipv4/ipvs/ip_vs_wlc.o
/lib/modules/2.4.2/kernel/net/ipv4/ipvs/ip_vs_wlc.o: unresolved symbol
ip_vs_get_debug_level_Rsmp_7176a134
/lib/modules/2.4.2/kernel/net/ipv4/ipvs/ip_vs_wlc.o: unresolved symbol
register_ip_vs_scheduler_Rsmp_3eab7bfb
/lib/modules/2.4.2/kernel/net/ipv4/ipvs/ip_vs_wlc.o: unresolved symbol
unregister_ip_vs_scheduler_Rsmp_1ae2864e
[root@ct1 ipvs-0.2.6]# 

With a .config of:

#
#   IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_MIRROR=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_COMPAT_IPCHAINS=y
CONFIG_IP_NF_NAT_NEEDED=y

#
#   IP: Virtual Server Configuration
#
CONFIG_IP_VS=m
CONFIG_IP_VS_DEBUG=y
CONFIG_IP_VS_TAB_BITS=12
CONFIG_IP_VS_RR=m
CONFIG_IP_VS_WRR=m
CONFIG_IP_VS_LC=m
CONFIG_IP_VS_WLC=m
CONFIG_IP_VS_LBLC=m
CONFIG_IP_VS_LBLCR=m
CONFIG_IP_VS_FTP=m
CONFIG_IPV6=m
# CONFIG_IPV6_EUI64 is not set

## No IPVS netfilter stuff set...

--
Kev Green, aka Kyrian.   Email: kyrian@xxxxxxx   Web:
http://mud.ore.org/~kyrian/
"Someday you too will know my pain, and smile its blacktoothed grin,
  if the war inside my head, won't take a day off I'll be dead" --
Megadeth.


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