2021年1月14日星期四

need to remove and reinstall my kernel module for it to work

I have compiled linux-kernel 2.6.33.7 with the xt_tls kernel module.

  • Kernel module file (xt_tls_main. c) Is in /lib-mpc830xtwr-20111228/rpm/BUILD/Linux-2.6.33.7/drivers/iPort3/xt_tls_main.c
  • Needed library files and header file added to the appropriate folder.
  • Its create xt_tls.ko file.
  • With the iptables rules it functioned well.

My question is when I am inserting xt_tls.ko file via insmod, it shows in lsmod command. I can able to add iptables rules too, but it will not work. After removing the iptables rule and xt_tls.ko module, Again, I do same thing insmod to xt_tls.ko , Iptables rule Then it functioned properly. So like this, I have to remove and reinstall my module xt_tls.ko file twice. Why this is happening,I don't understand,

please any one help me.

https://stackoverflow.com/questions/65672212/need-to-remove-and-reinstall-my-kernel-module-for-it-to-work January 12, 2021 at 02:02AM

没有评论:

发表评论