Package Details: binder_linux-dkms 6.1-3

Git Clone URL: https://aur.archlinux.org/binder_linux-dkms.git (read-only, click to copy)
Package Base: binder_linux-dkms
Description: Android kernel driver fork by @choff in DKMS format, binder only.
Upstream URL: https://github.com/choff/anbox-modules
Keywords: anbox binder binderfs waydroid
Licenses: GPL3
Conflicts: anbox-modules-dkms
Submitter: ZhangHua
Maintainer: ZhangHua
Last Packager: ZhangHua
Votes: 4
Popularity: 1.27
First Submitted: 2022-10-14 05:45 (UTC)
Last Updated: 2023-01-30 06:20 (UTC)

Latest Comments

1 2 Next › Last »

k0r0ng commented on 2023-01-06 23:41 (UTC)

Output from dkms status:

binder/1, 5.15.86-1-lts, x86_64: installed (original_module exists) (WARNING! Diff between built and installed module!)
binder/1, 6.1.3-arch1-1, x86_64: installed (original_module exists) (WARNING! Diff between built and installed module!)

bkb commented on 2023-01-04 09:53 (UTC)

==> ERROR: Missing 5.15.86-1-lts kernel modules tree for module binder/1.

ZhangHua commented on 2022-11-29 09:03 (UTC) (edited on 2022-11-29 09:03 (UTC) by ZhangHua)

@facet It seems there is no problem when building this module. Would you mind invoking modprobe manually with root user? Please do not use sudo-like program because I want to see the real coredump if possible.

facet commented on 2022-11-29 07:26 (UTC)

DKMS make.log for binder-1 for kernel 6.0.9-arch1-1 (x86_64)
Tue Nov 29 15:18:57 CST 2022
make -C /lib/modules/6.0.9-arch1-1/build V=0 M=$PWD
make[1]: Entering directory '/usr/lib/modules/6.0.9-arch1-1/build'
  CC [M]  /var/lib/dkms/binder/1/build/deps.o
  CC [M]  /var/lib/dkms/binder/1/build/binder.o
  CC [M]  /var/lib/dkms/binder/1/build/binder_alloc.o
  CC [M]  /var/lib/dkms/binder/1/build/binderfs.o
  LD [M]  /var/lib/dkms/binder/1/build/binder_linux.o
  MODPOST /var/lib/dkms/binder/1/build/Module.symvers
  CC [M]  /var/lib/dkms/binder/1/build/binder_linux.mod.o
  LD [M]  /var/lib/dkms/binder/1/build/binder_linux.ko
  BTF [M] /var/lib/dkms/binder/1/build/binder_linux.ko
make[1]: Leaving directory '/usr/lib/modules/6.0.9-arch1-1/build'

how about this?

ZhangHua commented on 2022-11-26 06:08 (UTC)

@facet According to kernel documentation, there should be no limit on hardware. So I think maybe you can check the build log to find if there is any error.

facet commented on 2022-11-25 05:32 (UTC)

/var/lib/dkms/binder/1/6.0.9-arch1-1/x86_64/module/binder_linux.ko.zst do exist, your package works well on my PC (but not on laptop) so that's could be an upstream problem, does binder have something like “unsupported hardware list”?

ZhangHua commented on 2022-11-24 07:12 (UTC)

@facet I think you can check if you have built this module correctly. Log file /var/lib/dkms/binder/1/6.0.9-arch1-1/x86_64/log/make.log should be useful. What's more, if this module is built successfully, there should be a existing file at /var/lib/dkms/binder/1/6.0.9-arch1-1/x86_64/module/binder_linux.ko.zst. I completely have no idea about this because this module works fine on my laptop.

facet commented on 2022-11-23 16:42 (UTC)

I saw waydroid's log, and it suggests that it failed after mount -t binder binder /dev/binderfs

(077288) [16:22:09] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(077288) [16:22:09] *** output passed to waydroid stdout, not to this log ***
(3266876) [00:41:26] % modprobe binder_linux devices="anbox-binder,anbox-vndbinder,anbox-hwbinder"
(3266876) [00:41:26] % mkdir -p /dev/binderfs
(3266876) [00:41:26] % mount -t binder binder /dev/binderfs
(3266876) [00:41:26] ERROR: [Errno 2] No such file or directory: '/dev/binderfs/binder-control'
(3266876) [00:41:26] See also: <https://github.com/waydroid>
(3266876) [00:41:26] Traceback (most recent call last):
  File "/usr/lib/waydroid/tools/__init__.py", line 53, in main
    actions.init(args)
  File "/usr/lib/waydroid/tools/actions/initializer.py", line 101, in init
    setup_config(args)
  File "/usr/lib/waydroid/tools/actions/initializer.py", line 93, in setup_config
    helpers.drivers.setupBinderNodes(args)
  File "/usr/lib/waydroid/tools/helpers/drivers.py", line 128, in setupBinderNodes
    probeBinderDriver(args)
  File "/usr/lib/waydroid/tools/helpers/drivers.py", line 105, in probeBinderDriver
    allocBinderNodes(args, binder_dev_nodes)
  File "/usr/lib/waydroid/tools/helpers/drivers.py", line 59, in allocBinderNodes
    binderctrlfd = open('/dev/binderfs/binder-control','rb')
FileNotFoundError: [Errno 2] No such file or directory: '/dev/binderfs/binder-control'

farwayer commented on 2022-11-22 11:45 (UTC)

The same problem with mount -t binder binder /dev/binderfs