Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: zbs888 on December 29, 2021, 04:24:03 AM

Title: where is the ip_vs module
Post by: zbs888 on December 29, 2021, 04:24:03 AM
Dear sir,i can run 'modprobe ip_vs' to load the module.
But where is the ip_vs module in tinycode?
Title: Re: where is the ip_vs module
Post by: Juanito on December 29, 2021, 05:37:09 AM
Ref: http://tinycorelinux.net/12.x/x86_64/release/src/kernel/config-5.10.3-tinycore64:
Code: [Select]
# CONFIG_IP_VS is not set
i.e. the module was not compiled.
Title: Re: where is the ip_vs module
Post by: zbs888 on December 29, 2021, 07:24:43 PM
Thanks for your replay ,sir.
I'll try to compile the module
Title: Re: where is the ip_vs module
Post by: zbs888 on January 04, 2022, 08:02:32 PM
Ref: http://tinycorelinux.net/12.x/x86_64/release/src/kernel/config-5.10.3-tinycore64:
Code: [Select]
# CONFIG_IP_VS is not set
i.e. the module was not compiled.
Dear sir,i using the .config to add module ip_vs ,make modules,make modules_install
Copy the new ip_vs folder to /usr/local/lib/modules/5.4.3-tinycore64/kernel/net/netfilter/ipvs ,depmod
Then modprobe ip_vs ,i got the a lot of kernel panic error.
LIke 'invalid opcode: 0000 [#1] SMP NOPTI',COMM is snmpd,curl and so on.
Why this happens.Complie the new modules and add to the modules folder ,is something step i miss?