Insmod custom module fails with message : disagrees about version of symbol ...


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Insmod custom module fails with message : disagrees about version of symbol ...

Hello :

I want to make a netfilter conntrack module for myself. So I copy all the source code about netfilter conntrack from kernel source tree to my external directory. It can be insmod after compiled. Then I add some members to the struct nf_conn, and it 's compiled successfully. However, it can't be insmod. The system gives me the message " disagrees about version of symbol ...." .

Can anyone help me ?
# 2  
Your kernel and your module disagree on what members nf_conn has.

The structure of nf_conn matters to the entire netfilter chain, you can't change it without recompiling your entire kernel.
This User Gave Thanks to Corona688 For This Post:
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
insmod error: disagrees about version of symbol module_layout
rupeshkp728
When I try to insert a simple kernel module I get the following error > insmod: error inserting 'test.ko': -1 Invalid module format > in dmesg I see: disagrees about version of symbol module_layout I have following kernel which I downloaded using apt-get: uname -r 2.6.32-24-generic ...... UNIX for Dummies Questions & Answers
0
UNIX for Dummies Questions & Answers
insmod: Invalid module format error
rupeshkp728
I have open suse kernel kernel 3.1.0-1.2-desktop on which I used kernel source 3.1.10-1.2 downloaded from kernel.org. The module gets built. While loading a kernel module I am getting Invalid module format error with description "first_driver: no symbol version for module_layout" The...... UNIX for Dummies Questions & Answers
5
UNIX for Dummies Questions & Answers
Much time in insmod of huge kernel module
ptprabu
I'm using Linux-2.6.14. My application is having one kernel module of large size(approx 8MB), insmoding of that kernel module is taking pretty much time(approx 8Mins). Is there a way to reduce the insmod time? I tried even by modprobe also.... Programming
0
Programming
Custom pam module
mhm4
Does anyone know how to create a custom pam module for modifying the login authentication procedure?... Solaris
1
Solaris
insmod: a module named e1000 already exists
admart
Hi I'm trying to change the configuration of the adapter, especially values revelant with Tx and Rx. Following appropiate manual i tried insmod command , but as a result i've got: insmod: a module named e1000 already exists Does anyone know the solution?... IP Networking
0
IP Networking

Featured Tech Videos