Skip to content

Unable to run Redroid on Arch Linux #44

Description

@kebugcheckex

Summary

Redroid crashes due to not able to find /dev/binder on Arch Linux with zen kernel, despite that zen kernel has binder builtin.

Context

I'm trying to run Redroid in Arch Linux with the zen kernel. It has binder and ashmem modules built into the kernel (not as loadable kernel modules). I confirmed that the output of the following commands are expected

$ grep binder /proc/filesystems 
nodev   binder
$ grep ashmem /proc/misc
124 ashmem

Binderfs is present in /dev

$ ls -l /dev/binderfs
total 0
crw------- 1 root root 238, 0 Oct  4 14:40 binder-control

However, redroid is crash-looping due to not able to open /dev/binder

...
10-04 21:47:11.646    35    35 E ProcessState: Binder driver /dev/binder is unavailable. Using /dev/binder instead.
10-04 21:47:11.646    35    35 W ProcessState: Opening '/dev/binder' failed: No such file or directory
10-04 21:47:11.646    35    35 F ProcessState: Binder driver '/dev/binder' could not be opened.  Terminating.
10-04 21:47:11.646    35    35 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 35 (servicemanager), pid 35 (servicemanager)
...

Full Logcat output can be found here.
dmesg messages are similar so I omit the details here.

I manually built a kernel with the appropriate configs and it works. The only difference between zen-kernel and my custom built is that zen kernel is built with
zen kernel is built with

CONFIG_ANDROID_BINDER_DEVICES=""

while my build uses

CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"

Not sure if this is causing the problem. I posted a while back in the other repo. I'm posting here to have more visibility and potentially more help.

Any one has successfully run Redroid on Arch Linux (including Manjaro, etc.)? Please share your config/method. Thanks.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions