On Tue, Sep 13, 2011 at 6:06 AM, kashish bhatia <koolest77@gmail.com> wrote:
Hi all,
I am trying to port a kernel module from 2.6.23 kernel to 2.6.32 kernel.

While inserting the module , it shows an error :

insmod : error inserting 'module.ko'  : -1 Unknown symbol in module

I checked in /var/log/messages for the unknown symbol and it shows,

module : no symbol version for function_name

Can anybody explain what is this error and how to resolve this error ?



--
Thanks & Regards,
Kashish Bhatia


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Are you building it out of tree?

Your module is trying to use an exported symbol, perhaps it is a symbol exported from another module, for cases like this  modprobe works better than insmod. Try modprobe and it should works.

--
Jorgyano Bruno de Oliveira Vieira
cell: +55 (41) 8890 6774