insmod Unknown symbol in module

SigUSR1 picture SigUSR1 · Oct 29, 2013 · Viewed 14.7k times · Source

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"

Answer

pratik picture pratik · Oct 29, 2013

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.