[CentOS] ERROR Module IPTABLES P2P ->ipt_p2p.ko with CENTOS4.2
Adriano Frare
alfrare at e-alinux.comMon Feb 13 00:48:06 UTC 2006
- Previous message: [CentOS] ERROR Module IPTABLES P2P ->ipt_p2p.ko with CENTOS4.2
- Next message: [CentOS] upgrading with yum to 2.6.9-22.0.2 kernel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear Friends, I compiled with secessfull module P2P to iptables on CENTOS 4.2, but after the Centos load ipt_p2p.ko the kernel PANIC. Below I show follow steps for compile. # tar -zxpvf iptables-p2p-0.3.0a.tar.gz # rpm -ivh iptables-1.2.11-3.1.RHEL4.scr.rpm # cp -a /usr/src/iptables/include/* /usr/include # cp /usr/src/iptables-p2p-0.3.0a/common/* /usr/include Before compilation I had to correct sources a little. In kernel/main.c we change: #ifdef CONFIG_MODVERSIONS #include <kernel/modversions.h> #endif to: #ifdef CONFIG_MODVERSIONS #include <config/modversions.h> #endif # make Copy it (for kernel 2.6): # cp kernel/ipt_p2p.ko /lib/modules/`uname -r`/kernel/net/ipv4/netfilter/ # depmod -a # modprobe ipt_p2p <- after load, Kernel PANIC Thanks Adriano
- Previous message: [CentOS] ERROR Module IPTABLES P2P ->ipt_p2p.ko with CENTOS4.2
- Next message: [CentOS] upgrading with yum to 2.6.9-22.0.2 kernel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list