anbox / anbox-modules

Anbox kernel modules
328 stars 228 forks source link

binder_linux: binder_alloc_buf failed to map page at 0000000087962a40 in kernel #73

Open sltruman opened 3 years ago

sltruman commented 3 years ago

It happens while I am trying to start anbox. image

SoulInfernoDE commented 3 years ago

Seems like you are using kernel 5.7+ which the binder and ashmem don't work any more. You need to rebuild your kernel with ashmem and binder integrated if you want to do it correctly for future releases of kernels.

I only did this with Ubuntu so i just could provide my guide for ubuntu but maybe you get the idea for fedora also..

If i remember correct if you are using kernel 5.7+ it is not possible anymore to easily build binder and ashmem as the some things have been removed from those kernels in mind of security.

The fix is to revert patch your kernel / those kernel things or just compile a kernel with ashmem and binder integrated.

You could try to follow my guide how to do this for yourself: (or download my pre-compiled kernel [Ubuntu like linux only] - without any warranty that it will work for you or any other warranties...) https://github.com/anbox/anbox-modules/issues/75#issuecomment-794079944