Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

insmod Unknown symbol in module

I'm trying to port edac module into kernel and get the following error:

> insmod /lib/modules/2.6.34.12/kernel/drivers/edac/edac_core.ko
insmod: error inserting '/lib/modules/2.6.34.12/kernel/drivers/edac/edac_core.ko': -1 Unknown symbol in module

The following is the dmesg log:

edac_core: no symbol version for "function"
edac_core: Unknown symbol "function"
like image 433
SigUSR1 Avatar asked Oct 29 '13 15:10

SigUSR1


1 Answers

There may be couple of reason for this error. One of them might be symbol named "function" is exported as GPL only. Or may be kernel against which you are loading your module does not have that "function" symbol, but it is in some other kernel version.

like image 198
pratik Avatar answered Oct 16 '22 00:10

pratik