I am porting a Linux module (PageMgrMod
) to a more recent kernel, but now the functions are not visible to other modules. For example, loading a module that uses PageMgrMod
gives the error
no symbol version for init_pgmgr
Unknown symbol init_pgmgr
But reading /proc/kallsyms
shows the symbol exists
ffffffff81883c0d T x86_init_pgd_noop
ffffffffa012a5c0 r __ksymtab_init_pgmgr [PageMgrMod]
ffffffffa012a669 r __kstrtab_init_pgmgr [PageMgrMod]
ffffffffa012a600 r __kcrctab_init_pgmgr [PageMgrMod]
ffffffffa012a380 T init_pgmgr [PageMgrMod]
This functionality worked on a 2.6.18 kernel but fails on a 2.6.32-24 kernel.
I have seen similar questions, but those solutions do not help due to the fact I cannot modify the other modules.
If it makes a difference, the module sources are in different folders.