Package Details: binder_linux-dkms 6.8-1

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: 19
Popularity: 1.08
First Submitted: 2022-10-14 05:45 (UTC)
Last Updated: 2024-03-04 13:44 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

zayn7lie commented on 2024-03-07 18:15 (UTC)

Problem solved: https://bbs.archlinux.org/viewtopic.php?pid=2155531#p2155531

zayn7lie commented on 2024-03-05 19:25 (UTC) (edited on 2024-03-05 19:52 (UTC) by zayn7lie)

@ZhangHua This is still not work, but there showed the error while mounting:

# mount -t binder binder /dev/binderfs
Segmentation fault

and this is what happen recording by dmesg:

$ sudo dmesg -WT
[Tue Mar  5 14:23:24 2024] Missing ENDBR: kallsyms_lookup_name+0x4/0xd0
[Tue Mar  5 14:23:24 2024] ------------[ cut here ]------------
[Tue Mar  5 14:23:24 2024] kernel BUG at arch/x86/kernel/cet.c:102!
[Tue Mar  5 14:23:24 2024] invalid opcode: 0000 [#5] PREEMPT SMP NOPTI
[Tue Mar  5 14:23:24 2024] CPU: 1 PID: 181242 Comm: mount Tainted: G     UD    OE      6.7.8-arch1-1 #1 dafab5364db1ad2baad864a7454abc1e303295d4
[Tue Mar  5 14:23:24 2024] Hardware name: Dell Inc. XPS 13 9310 2-in-1/0NVVG0, BIOS 2.19.0 07/13/2023
[Tue Mar  5 14:23:24 2024] RIP: 0010:exc_control_protection+0x2a5/0x2b0
[Tue Mar  5 14:23:24 2024] Code: 44 89 e0 c6 05 55 ca 22 01 01 48 c7 c2 20 19 02 a4 25 ff 7f 00 00 83 f8 05 77 cb eb bd 48 c7 43 50 00 00 00 00 e9 73 fe ff ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90
[Tue Mar  5 14:23:24 2024] RSP: 0018:ffffad91457fbb38 EFLAGS: 00010002
[Tue Mar  5 14:23:24 2024] RAX: 000000000000002c RBX: ffffad91457fbb68 RCX: 0000000000000000
[Tue Mar  5 14:23:24 2024] RDX: 0000000000000000 RSI: ffff95b7ff6616c0 RDI: ffff95b7ff6616c0
[Tue Mar  5 14:23:24 2024] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffad91457fb9d8
[Tue Mar  5 14:23:24 2024] R10: 0000000000000003 R11: ffffffffa4eca788 R12: 0000000000000003
[Tue Mar  5 14:23:24 2024] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[Tue Mar  5 14:23:24 2024] FS:  00007d37e722db80(0000) GS:ffff95b7ff640000(0000) knlGS:0000000000000000
[Tue Mar  5 14:23:24 2024] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Tue Mar  5 14:23:24 2024] CR2: 00007ffd7402edc4 CR3: 00000001aa6a0001 CR4: 0000000000f70ef0
[Tue Mar  5 14:23:24 2024] PKRU: 55555554
[Tue Mar  5 14:23:24 2024] Call Trace:
[Tue Mar  5 14:23:24 2024]  <TASK>
[Tue Mar  5 14:23:24 2024]  ? die+0x36/0x90
[Tue Mar  5 14:23:24 2024]  ? do_trap+0xda/0x100
[Tue Mar  5 14:23:24 2024]  ? exc_control_protection+0x2a5/0x2b0
[Tue Mar  5 14:23:24 2024]  ? do_error_trap+0x6a/0x90
[Tue Mar  5 14:23:24 2024]  ? exc_control_protection+0x2a5/0x2b0
[Tue Mar  5 14:23:24 2024]  ? exc_invalid_op+0x50/0x70
[Tue Mar  5 14:23:24 2024]  ? exc_control_protection+0x2a5/0x2b0
[Tue Mar  5 14:23:24 2024]  ? asm_exc_invalid_op+0x1a/0x20
[Tue Mar  5 14:23:24 2024]  ? exc_control_protection+0x2a5/0x2b0
[Tue Mar  5 14:23:24 2024]  ? exc_control_protection+0xcd/0x2b0
[Tue Mar  5 14:23:24 2024]  asm_exc_control_protection+0x26/0x30
[Tue Mar  5 14:23:24 2024] RIP: 0010:kallsyms_lookup_name+0x4/0xd0
[Tue Mar  5 14:23:24 2024] Code: d0 48 03 05 ae e4 36 01 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 <0f> 1f 44 00 00 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44
[Tue Mar  5 14:23:24 2024] RSP: 0018:ffffad91457fbc10 EFLAGS: 00010286
[Tue Mar  5 14:23:24 2024] RAX: ffffffffa31b61e4 RBX: ffffad91457fbc40 RCX: 0000000000000000
[Tue Mar  5 14:23:24 2024] RDX: 0000000000000000 RSI: ffff95b53cf0ed90 RDI: ffffffffc0ac863d
[Tue Mar  5 14:23:24 2024] RBP: ffff95b53cf0ed90 R08: ffff95b48f363000 R09: 0000000000000000
[Tue Mar  5 14:23:24 2024] R10: ffff95b7137bb840 R11: ffff95b48e8a8900 R12: ffff95b542acc000
[Tue Mar  5 14:23:24 2024] R13: ffffffffc0aa4380 R14: ffff95b7137bb840 R15: ffff95b4dba7b9c0
[Tue Mar  5 14:23:24 2024]  ? __pfx_binderfs_fill_super+0x10/0x10 [binder_linux bc9b7c6f8bb6ca3e301de6d5d65a42eaf1c9b6f9]
[Tue Mar  5 14:23:24 2024]  ? kallsyms_lookup_name+0x4/0xd0
[Tue Mar  5 14:23:24 2024]  get_init_ipc_ns_ptr+0x2f/0x50 [binder_linux bc9b7c6f8bb6ca3e301de6d5d65a42eaf1c9b6f9]
[Tue Mar  5 14:23:24 2024]  binderfs_fill_super+0x1c6/0x5b0 [binder_linux bc9b7c6f8bb6ca3e301de6d5d65a42eaf1c9b6f9]
[Tue Mar  5 14:23:24 2024]  ? d_instantiate+0x41/0x60
[Tue Mar  5 14:23:24 2024]  ? __pfx_binderfs_fill_super+0x10/0x10 [binder_linux bc9b7c6f8bb6ca3e301de6d5d65a42eaf1c9b6f9]
[Tue Mar  5 14:23:24 2024]  get_tree_nodev+0x63/0x90
[Tue Mar  5 14:23:24 2024]  vfs_get_tree+0x26/0xf0
[Tue Mar  5 14:23:24 2024]  vfs_cmd_create+0x65/0xf0
[Tue Mar  5 14:23:24 2024]  __do_sys_fsconfig+0x43c/0x620
[Tue Mar  5 14:23:24 2024]  do_syscall_64+0x61/0xe0
[Tue Mar  5 14:23:24 2024]  ? do_faccessat+0x1c4/0x2f0
[Tue Mar  5 14:23:24 2024]  ? syscall_exit_to_user_mode+0x2b/0x40
[Tue Mar  5 14:23:24 2024]  ? do_syscall_64+0x70/0xe0
[Tue Mar  5 14:23:24 2024]  ? syscall_exit_to_user_mode+0x2b/0x40
[Tue Mar  5 14:23:24 2024]  ? do_syscall_64+0x70/0xe0
[Tue Mar  5 14:23:24 2024]  ? do_syscall_64+0x70/0xe0
[Tue Mar  5 14:23:24 2024]  ? exc_page_fault+0x7f/0x180
[Tue Mar  5 14:23:24 2024]  entry_SYSCALL_64_after_hwframe+0x6e/0x76
[Tue Mar  5 14:23:24 2024] RIP: 0033:0x7d37e7371b4e
[Tue Mar  5 14:23:24 2024] Code: 73 01 c3 48 8b 0d e2 e1 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 49 89 ca b8 af 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b2 e1 0c 00 f7 d8 64 89 01 48
[Tue Mar  5 14:23:24 2024] RSP: 002b:00007ffd740304e8 EFLAGS: 00000246 ORIG_RAX: 00000000000001af
[Tue Mar  5 14:23:24 2024] RAX: ffffffffffffffda RBX: 000063da3de63140 RCX: 00007d37e7371b4e
[Tue Mar  5 14:23:24 2024] RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000003
[Tue Mar  5 14:23:24 2024] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000060
[Tue Mar  5 14:23:24 2024] R10: 0000000000000000 R11: 0000000000000246 R12: 00007d37e7496ae0
[Tue Mar  5 14:23:24 2024] R13: 000063da3de64220 R14: 0000000000000000 R15: 000063da3de63280
[Tue Mar  5 14:23:24 2024]  </TASK>
[Tue Mar  5 14:23:24 2024] Modules linked in: uinput rfcomm cmac algif_hash algif_skcipher af_alg bnep snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm btusb btrtl uvcvideo btintel videobuf2_vmalloc btbcm uvc snd_hda_codec_hdmi btmtk videobuf2_memops videobuf2_v4l2 bluetooth videodev videobuf2_common ecdh_generic mc joydev mousedev hid_sensor_gyro_3d hid_sensor_incl_3d hid_sensor_rotation hid_sensor_custom_intel_hinge hid_sensor_magn_3d hid_sensor_accel_3d snd_sof_pci_intel_tgl hid_sensor_als snd_sof_intel_hda_common hid_sensor_trigger x86_pkg_temp_thermal industrialio_triggered_buffer soundwire_intel intel_powerclamp kfifo_buf snd_sof_intel_hda_mlink coretemp hid_sensor_iio_common soundwire_cadence industrialio hid_sensor_custom snd_sof_intel_hda kvm_intel snd_sof_pci snd_sof_xtensa_dsp hid_sensor_hub snd_sof snd_sof_utils snd_soc_hdac_hda kvm snd_hda_ext_core snd_soc_acpi_intel_match wacom snd_soc_acpi intel_ishtp_hid usbhid irqbypass hid_multitouch soundwire_generic_allocation crct10dif_pclmul hid_generic soundwire_bus
[Tue Mar  5 14:23:24 2024]  crc32_pclmul polyval_clmulni iwlmvm snd_soc_core polyval_generic snd_ctl_led gf128mul ghash_clmulni_intel snd_compress snd_hda_codec_realtek sha512_ssse3 ac97_bus snd_pcm_dmaengine snd_hda_codec_generic sha256_ssse3 snd_hda_intel sha1_ssse3 mac80211 snd_intel_dspcfg aesni_intel snd_intel_sdw_acpi crypto_simd snd_hda_codec cryptd snd_hda_core processor_thermal_device_pci_legacy rapl libarc4 processor_thermal_device snd_hwdep iTCO_wdt mei_pxp dell_laptop processor_thermal_wt_hint ptp intel_cstate pmt_telemetry intel_pmc_bxt mei_hdcp intel_rapl_msr iTCO_vendor_support pps_core pmt_class dell_smm_hwmon snd_pcm processor_thermal_rfim dell_wmi intel_uncore dell_wmi_ddv dell_wmi_sysman iwlwifi pcspkr processor_thermal_rapl psmouse dell_smbios firmware_attributes_class ucsi_acpi intel_rapl_common mei_me snd_timer typec_ucsi intel_lpss_pci processor_thermal_wt_req dcdbas vfat cfg80211 fat spi_nor dell_wmi_descriptor snd ledtrig_audio wmi_bmof processor_thermal_power_floor typec intel_lpss i2c_i801
[Tue Mar  5 14:23:24 2024]  processor_thermal_mbox mei mtd soundcore i2c_smbus idma64 i2c_hid_acpi intel_ish_ipc rfkill intel_soc_dts_iosf roles igen6_edac intel_ishtp thunderbolt intel_vsec i2c_hid int3403_thermal intel_skl_int3472_tps68470 soc_button_array int340x_thermal_zone tps68470_regulator int3400_thermal clk_tps68470 intel_hid acpi_thermal_rel pinctrl_tigerlake acpi_tad acpi_pad intel_skl_int3472_discrete intel_pmc_core sparse_keymap mac_hid crypto_user binder_linux(OE) fuse loop dm_mod nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 i915 i2c_algo_bit drm_buddy serio_raw ttm rtsx_pci_sdmmc atkbd mmc_core libps2 intel_gtt vivaldi_fmap nvme spi_intel_pci video xhci_pci drm_display_helper spi_intel nvme_core rtsx_pci crc32c_intel cec nvme_auth xhci_pci_renesas i8042 wmi serio
[Tue Mar  5 14:23:24 2024] ---[ end trace 0000000000000000 ]---
[Tue Mar  5 14:23:24 2024] RIP: 0010:exc_control_protection+0x2a5/0x2b0
[Tue Mar  5 14:23:24 2024] Code: 44 89 e0 c6 05 55 ca 22 01 01 48 c7 c2 20 19 02 a4 25 ff 7f 00 00 83 f8 05 77 cb eb bd 48 c7 43 50 00 00 00 00 e9 73 fe ff ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90
[Tue Mar  5 14:23:24 2024] RSP: 0018:ffffad914fa9bb18 EFLAGS: 00010002
[Tue Mar  5 14:23:24 2024] RAX: 000000000000002c RBX: ffffad914fa9bb48 RCX: 0000000000000000
[Tue Mar  5 14:23:24 2024] RDX: 0000000000000000 RSI: ffff95b7ff7a16c0 RDI: ffff95b7ff7a16c0
[Tue Mar  5 14:23:24 2024] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffad914fa9b9b8
[Tue Mar  5 14:23:24 2024] R10: 0000000000000003 R11: ffffffffa4eca788 R12: 0000000000000003
[Tue Mar  5 14:23:24 2024] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[Tue Mar  5 14:23:24 2024] FS:  00007d37e722db80(0000) GS:ffff95b7ff640000(0000) knlGS:0000000000000000
[Tue Mar  5 14:23:24 2024] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Tue Mar  5 14:23:24 2024] CR2: 00007ffd7402edc4 CR3: 00000001aa6a0001 CR4: 0000000000f70ef0
[Tue Mar  5 14:23:24 2024] PKRU: 55555554
[Tue Mar  5 14:23:24 2024] note: mount[181242] exited with irqs disabled

And there are also errors happening while rebooting after I try to mount:

$ journalctl -b -1
Mar 05 14:29:52 systemd[1]: Shutting down.
Mar 05 14:29:53 systemd[1]: Using hardware watchdog 'iTCO_wdt', version 6, device /dev/watchdog0
Mar 05 14:29:53 systemd[1]: Watchdog running with a timeout of 10min.
Mar 05 14:29:53 kernel: watchdog: watchdog0: watchdog did not stop!
Mar 05 14:29:53 systemd-shutdown[1]: Using hardware watchdog 'iTCO_wdt', version 6, device /dev/watchdog0
Mar 05 14:29:53 systemd-shutdown[1]: Watchdog running with a timeout of 10min.
Mar 05 14:29:53 systemd-shutdown[1]: Syncing filesystems and block devices.
Mar 05 14:30:33 systemd-shutdown[1]: Syncing filesystems and block devices - timed out, issuing SIGKILL to PID 182573.
Mar 05 14:30:33 systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Mar 05 14:30:33 systemd-journald[228]: Received SIGTERM from PID 1 (systemd-shutdow).
Mar 05 14:30:33 systemd-journald[228]: Journal stopped

And the process of 182573 seems to relate to sd-sync

ZhangHua commented on 2024-03-05 01:58 (UTC)

@zayn7lie Can you try to follow this document to mount /dev/binderfs manually? https://www.kernel.org/doc/html/latest/admin-guide/binderfs.html If this successes and waydroid starts working, I think it may because that something on your device stops mounting /dev/binderfs automatically.

zayn7lie commented on 2024-03-04 22:22 (UTC) (edited on 2024-03-05 19:27 (UTC) by zayn7lie)

While using # waydroid init, error shown: ERROR: [Errno 2] No such file or directory: '/dev/binderfs/binder-control' How can I solve that?

@ZhangHua I think I have built this module successfully, and I have rebooted as well, but I still cannot found /dev/binderfs. And it is wired that reboot would take a long time syncing filesystem and devices and it would time out.

git version does not help as well.

$ modinfo binder_linux
filename:       /lib/modules/6.7.8-arch1-1/updates/dkms/binder_linux.ko.zst
license:        GPL v2
license:        GPL v2
srcversion:     0E255EA6920FC4CC1CC877B
depends:        
retpoline:      Y
name:           binder_linux
vermagic:       6.7.8-arch1-1 SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         DKMS module signing key
parm:           debug_mask:uint
parm:           devices:charp
$ neofetch
                   -`                    zayn7lie@zayn7lie-acl 
                  .o+`                   --------------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: XPS 13 9310 2-in-1 
               `+oooooo:                 Kernel: 6.7.8-arch1-1 
               -+oooooo+:                Uptime: 3 mins 
             `/:-:++oooo+:               Packages: 787 (pacman) 
            `/++++/+++++++:              Shell: bash 5.2.26 
           `/++++++++++++++:             Resolution: 1920x1200 
          `/+++ooooooooooooo/`           WM: Hyprland 
         ./ooosssso++osssssso+`          Terminal: kitty 
        .oossssso-````/ossssss+`         CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz 
       -osssssso.      :ssssssso.        GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 
      :osssssss/        osssso+++.       Memory: 2337MiB / 15709MiB 
     /ossssssss/        +ssssooo/-       GPU Driver: Dell TigerLake-LP GT2 [Iris Xe Graphics] [1028:09ff 
   `/ossssso+/:-        -:/+osssso+-     CPU Usage: 5% 
  `+sso+:-`                 `.-/+oso:    Disk (/): 77G / 251G (32%) 
 `++:.                           `-/+/   Locale: C.UTF-8 

ZhangHua commented on 2024-03-03 00:42 (UTC)

@zayn7lie You should check if you have built this dkms module successfully. You must install your kernel's header(like linux-headers ) in order to let dkms build it successfully. After you built this module successfully, I think you can simply reboot your device to let waydroid load this module automatically.

bkb commented on 2023-08-14 18:08 (UTC) (edited on 2023-08-14 18:37 (UTC) by bkb)

That binder thing is driving me crazy and is necessary in my case

==> ERROR: Missing 5.15.86-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 5.15.89-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 5.15.91-4-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.14-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.15-1-lts kernel modules tree for module anbox-ashmem/r46.ae26ba2.
==> ERROR: Missing 6.1.15-1-lts kernel modules tree for module anbox-binder/r46.ae26ba2.
==> ERROR: Missing 6.1.15-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.19-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.20-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.21-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.23-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.27-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.30-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.32-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.33-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.34-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.35-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.37-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.39-3-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.43-1-lts kernel modules tree for module binder/1.
==> ERROR: Missing 6.1.44-1-lts kernel modules tree for module binder/1.
==> WARNING: `dkms install --no-depmod binder/1 -k 6.3.1-arch1-1' exited 10
Consult /var/lib/dkms/binder/1/build/make.log for more information.
binder_linux: loading out-of-tree module taints kernel.
binder_linux: module verification failed: signature and/or required key missing - tainting kernel


aneesh61 commented on 2023-08-06 23:54 (UTC)

Please add aarch64 to supported architectures. Works great on aarch64. Tested on an ARM64 Chromebook running ArchLinuxARM

austinrojers commented on 2023-07-22 16:44 (UTC) (edited on 2023-07-22 16:46 (UTC) by austinrojers)

This is the solution for my previous comment:

It seems that if you first initialize and run Waydroid with a kernel and then later switch to another kernel, you will have to reinitialize Waydroid to work with the later kernel.

sudo waydroid init -f

The waydroid init -f command initializes Waydroid. ( The -f flag tells Waydroid to force a reset.)

This downloads the latest Android image (if there is an update), sets up the Waydroid configuration file and starts the Waydroid container.

jimnong commented on 2023-07-17 09:33 (UTC) (edited on 2023-07-17 09:37 (UTC) by jimnong)

I installed this to run Waydroid.
Works well with original arch-linux kernel 6.4.3-arch1-1.
Are there anybody who can unflag?