Quantcast
Channel: Mellanox Interconnect Community: Message List
Viewing all articles
Browse latest Browse all 6211

not able to compile the kernel client module

$
0
0
Hi,
         

 

we have mellanox HCA connected with Server. We have installed OFED distribution in our Server . i am trying to write kernel client module to access the infiniband device using the RDMA stack. but i am getting some error  while insmod my module. please help me anyone who already worked in this error.

 

Error:

=============

insmod: ERROR: could not insert module Client.ko: Invalid parameters


 

Dmesg :

===========

 

 

[16266.034500] Client: disagrees about version of symbol ib_unregister_client

 

[16266.034508] Client: Unknown symbol ib_unregister_client (err -22)

[16266.034520] Client: disagrees about version of symbol ib_register_client

[16266.034523] Client: Unknown symbol ib_register_client (err -22)

 

i have searched in this error in internet. they mentioned like compilation with improper kernel header . i am not able to understand properly.

Please clarify me more and provide me the sample makefile to compile this

 

Please see the attached file for program reference.

Thanks,

Shanmugam.S

 


Viewing all articles
Browse latest Browse all 6211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>