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

Binder load not permitted Linux 5.7.2

Open TuxThePenguin0 opened this issue 5 years ago • 2 comments

Both modules compile fine after the workaround I found in issue 49 is applied to my kernel source 5.7.0 was tested and working with the reverted patch, 5.7.1 was not tested

$ uname -a
Linux Opal 5.7.2-2-ARCH-ARM #1 SMP Sat Jun 13 11:46:34 AEST 2020 aarch64 GNU/Linux

$ lsmod | grep _linux
ashmem_linux           24576  0

$ sudo modprobe binder_linux
modprobe: ERROR: could not insert 'binder_linux': Operation not permitted

$ ls /dev/{ashmem,binder}
ls: cannot access '/dev/binder': No such file or directory
/dev/ashmem

TuxThePenguin0 avatar Jun 14 '20 04:06 TuxThePenguin0

This is unfortunate but if that is becoming policy in the Linux kernel only option will be to have binder build into your distro kernel which we already do for Ubuntu.

morphis avatar Jun 14 '20 08:06 morphis

I'm not sure if this is a policy in the kernel or if a recent change happened that breaks the out of tree modules by chance. The in-tree ashmem and binder work fine in 5.7.2.

TuxThePenguin0 avatar Jun 14 '20 12:06 TuxThePenguin0