[gentoo-user] Re: Where are the following LVS kernel modules

2009-09-09 Thread walt

On 09/08/2009 08:14 PM, Nick Khamis wrote:

I have included in my kenrel configuration the following:
M IP virtual server support
 - [*] TCP load balancing
 - [*] UDP load balancing


I have added to /etc/modules.autoload.d/kernel-2.6 the follwing

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp

When I modprobe any of them I recieve module not found.


Normally the 'make install modules_install' step runs depmod automatically,
but if you install your kernel some other way maybe depmod is omitted.

Anyway, try running depmod from a command prompt and see what happens.




Re: [gentoo-user] Re: Where are the following LVS kernel modules

2009-09-09 Thread Nick Khamis
How I recompile the kernel is select the module that I need

M IP virtual server support
 - [*] TCP load balancing
 - [*] UDP load balancing

 then do a make followed by a make modules_install.

ip_vs is in my list of modules (the only ip_vs*) and does not return an
error when I modprobe it but these are not there:

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp


I am using kernel 2.6.30r5

Thanks for you Help,
Ninus.


Re: [gentoo-user] Re: Where are the following LVS kernel modules

2009-09-09 Thread Nick Khamis
Hey Albert,

When issuing a find /lib/modules/`uname -r` -name ip_vs*.ko I see only

/lib/modules/2.6.30-gentoo-r6/kernel/net/netfilter/ip_vs.ko

I do not see the rest

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp

Thanks in Advanced,
Ninus


Re: [gentoo-user] Re: Where are the following LVS kernel modules

2009-09-09 Thread Nick Khamis
Hey Walt,

I build the kernel via:

make menuconfig
make
make modules_install
cp arch/... /boot/...

I did issue a depmod and still just:

/lib/modules/2.6.30-gentoo-r6/kernel/net/netfilter/ip_vs.ko

when issuing a find /lib/modules/`uname -r` -name ip_vs*.ko

Thanks in Adnvanced,
Ninus