redroid-modules icon indicating copy to clipboard operation
redroid-modules copied to clipboard

workaround for 5.7+ kernels (`kallsyms_lookup_name` not exported any more)

Open zhouziyang opened this issue 4 years ago • 3 comments

https://github.com/zizzu0/LinuxKernelModules/blob/main/FindKallsymsLookupName.c

zhouziyang avatar Oct 05 '21 11:10 zhouziyang

This seems to be now fixed via fork : https://github.com/choff/anbox-modules

JayDoubleu avatar Nov 29 '21 16:11 JayDoubleu

Hi @zhouziyang , has this issue been resolved?
Most of the current popular kernels are 5.7+, and this "redroid-modules" can't be installed if this issue can't be resolved.

Any suggestions on how to resolve this issue will be appreciated. Thanks.

tonykcn avatar Mar 29 '22 12:03 tonykcn

please check links above, you can solve via kprobe. please be noted that these modules depend on unstable kernel APIs, and you may need adjust for different kernel versions. BTW, some OS (ubuntu 20.04+ etc.) already bundle these modules; and some OS (aliyun linux etc.) allow modules to link against kallsyms_lookup_name.

zhouziyang avatar Mar 30 '22 01:03 zhouziyang

Strongly suggest to use Linux distros with built-in binderfs support. The out of tree binderfs module possible not stable, and might need much extra work to compatible with the running Linux kernel.

NO plan to fix this issue here.

zhouziyang avatar Aug 07 '23 02:08 zhouziyang