Open LevitatingBusinessMan opened 3 years ago
Hi, I think it is because CONFIG_KALLSYMS
is not set in your kernel, you can check it in /usr/lib/modules/5.8.12-arch1-1/build/.config
@minhbq-99 Thanks for relying. Seems like the settings is turned on.
cat /usr/lib/modules/5.8.12-arch1-1/build/.config | grep CONFIG_KALLSYMS
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y
CONFIG_KALLSYMS_BASE_RELATIVE=y
@LevitatingBusinessMan
I've found out the problem, this commit: https://github.com/torvalds/linux/commit/0bd476e6c67190b5eb7b6e105c8db8ff61103281 unexported the kallsyms_on_each_symbol
so now out-of-tree modules cannot use this function anymore
Hi, I think it is because
CONFIG_KALLSYMS
is not set in your kernel, you can check it in/usr/lib/modules/5.8.12-arch1-1/build/.config
I have CONFIG_KALLSYMS, but also make failed. [root@VM-16-2-centos 2]# cat /usr/lib/modules/3.10.0-1160.71.1.el7.x86_64/build/.config | grep CONFIG_KALLSYMS CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y
First of all when I started bulding I got an error
'struct mm_struct' has no member named 'mmap_sem'
. I resolved this by changng instances ofmmap_sem
tommap_lock
. Now when I try to build I get these errors:/home/rein/Reptile/output/reptile_module.ko
does not existI'll add, I am running arch linux with kernel 5.8.12