From unknown Sun Jun 15 08:32:30 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#51772 <51772@debbugs.gnu.org> To: bug#51772 <51772@debbugs.gnu.org> Subject: Status: Binder kernel module missing Reply-To: bug#51772 <51772@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:32:30 +0000 retitle 51772 Binder kernel module missing reassign 51772 guix-patches submitter 51772 phodina severity 51772 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 11 14:13:22 2021 Received: (at submit) by debbugs.gnu.org; 11 Nov 2021 19:13:22 +0000 Received: from localhost ([127.0.0.1]:42288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlFVe-0007Tv-KA for submit@debbugs.gnu.org; Thu, 11 Nov 2021 14:13:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:40642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlFVO-0007TY-MR for submit@debbugs.gnu.org; Thu, 11 Nov 2021 14:13:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlFVO-0008SI-HQ for guix-patches@gnu.org; Thu, 11 Nov 2021 14:13:02 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:55885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlFVK-0004uq-TH for guix-patches@gnu.org; Thu, 11 Nov 2021 14:13:01 -0500 Date: Thu, 11 Nov 2021 19:12:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636657975; bh=5HiqgZ0C+VjgN27Fu41D52pZ3ib7h5AxSCX+bSjHWQs=; h=Date:To:From:Reply-To:Subject:From; b=QIGto65O6jQulOB+tKd/DMD9vJz9ONMN8o2JscTWWOTyQbpddPQzX8mDBhRBj9jPF Keb+fBSPnyEem4HZm1uQLAEkb8Cq2d9eWXTNkGElNnIxuZj+NIU14uzvtHWWDrx612 gUAV9MgM2UacskMCNiy9Qbwvar+MixsJV6DJlhwU= To: "guix-patches@gnu.org" From: phodina Subject: Binder kernel module missing Message-ID: <2xJaBAPZynqkJm9BEmSXcylo4oLVB_YBZhYQgDlZK3agAyxgyXVLffNBLIK47VxgYDChDjp2EtPVfNlTcnNQtyepzNoi_F0_IELq2ORQQnc=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.43.22; envelope-from=phodina@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Unfortunately, as stated above the binder interface is missing. I looked for the kernel module but couldn't find it. As the /proc/config.gz is not present I can't verify it's enabled. $ find /run/booted-system/kernel/lib/modules/5.14.17-gnu/kernel/ -iname "*binder*" $ cat /proc/cmdline BOOT_IMAGE=/gnu/store/fr1cwmbn19hyrs3wxr5sqr7iy4cj674y-linux-libre-waydroid-5.14.17/bzImage --roo [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (phodina[at]protonmail.com) 0.0 T_SPF_TEMPERROR SPF: test of record failed (temperror) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Unfortunately, as stated above the binder interface is missing. I looked fo= r the kernel module but couldn't find it. As the /proc/config.gz is not pre= sent I can't verify it's enabled. $ find /run/booted-system/kernel/lib/modules/5.14.17-gnu/kernel/ -iname "*b= inder*" $ cat /proc/cmdline BOOT_IMAGE=3D/gnu/store/fr1cwmbn19hyrs3wxr5sqr7iy4cj674y-linux-libre-waydro= id-5.14.17/bzImage --root=3D/dev/mapper/cryptsystem --system=3D/gnu/store/8= g26gi6v9dni0cagc3l1ny8shyz8r38h-system --load=3D/gnu/store/8g26gi6v9dni0cag= c3l1ny8shyz8r38h-system/boot modprobe.blacklist=3Dusbmouse,usbkbd quiet Therefore the waydroid userspace manager also doesn't work: # waydroid.py init [19:40:05] Failed to load binder driver [19:40:06] modprobe: FATAL: Module binder_linux not found in directory /run= /booted-system/kernel/lib/modules/5.14.17-gnu [19:40:06] ERROR: Binder node "binder" for waydroid not found [19:40:06] See also: Run 'waydroid log' for details. $ waydroid.py log (006323) [19:40:05] % modprobe binder_linux devices=3D"anbox-binder,anbox-v= ndbinder,anbox-hwbinder" modprobe: FATAL: Module binder_linux not found in directory /run/booted-sys= tem/kernel/lib/modules/5.14.17-gnu (006323) [19:40:05] Failed to load binder driver (006323) [19:40:06] modprobe: FATAL: Module binder_linux not found in direc= tory /run/booted-system/kernel/lib/modules/5.14.17-gnu (006323) [19:40:06] ERROR: Binder node "binder" for waydroid not found (006323) [19:40:06] See also: (006323) [19:40:06] Traceback (most recent call last): File "/gnu/store/iprc2yqsx5zi8nc2g3nqvlmlqzbw7nrf-waydroid-1.2.0/lib/wayd= roid/tools/__init__.py", line 54, in main My conclusion is the module is not enabled and built. It could be do the th= e extended match-lambda expression as I'm not Guile guru. From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 11 14:35:00 2021 Received: (at 51772-done) by debbugs.gnu.org; 11 Nov 2021 19:35:00 +0000 Received: from localhost ([127.0.0.1]:42349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlFqe-0001pF-Aa for submit@debbugs.gnu.org; Thu, 11 Nov 2021 14:35:00 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:33105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlFqc-0001oy-PZ for 51772-done@debbugs.gnu.org; Thu, 11 Nov 2021 14:34:59 -0500 Date: Thu, 11 Nov 2021 19:34:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636659292; bh=3xC/IE1nv3vHYapuvCg0n8WwNNEfLYJWhypLrTpFGsk=; h=Date:To:From:Reply-To:Subject:From; b=JSGy2oiWs309FAX5JdaFTgSwUyJRyT2U4oSCdagTFdrn8WJkSdMuZCoTWp9hTSdOv NlORaF4/FLE1N7REqhV+eMCZwtTWwY+QO6TWpjbVgG5VawamrFa3JRIIt0WN3fuulX OEg+OJX/Ded0UXXcwnjLAwBKiNpew4OySVLHcikA= To: "51772-done@debbugs.gnu.org" <51772-done@debbugs.gnu.org> From: phodina Subject: Duplicate of 51771 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51772-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) duplicate=C2=A051771 From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 11 17:44:04 2021 Received: (at 51772) by debbugs.gnu.org; 11 Nov 2021 22:44:04 +0000 Received: from localhost ([127.0.0.1]:42517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlInc-0006i8-J4 for submit@debbugs.gnu.org; Thu, 11 Nov 2021 17:44:04 -0500 Received: from tobias.gr ([80.241.217.52]:42678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlInX-0006hV-5u for 51772@debbugs.gnu.org; Thu, 11 Nov 2021 17:44:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=JOm8u/IRdpzcx XiNrebP6pHVyCF5DP6BfNvkv+69KrU=; h=references:in-reply-to:subject:cc: to:from:date; d=tobias.gr; b=gMdh4lGxGtsZNF5rLdfVeIrnV+OSJCdNCq5ZaB/GJ ICXMpXbNKSgDcWvr0jM3QD5Iy/rkQJkThIEHBPpBiqsha7eZPlximncI/S6AoymAvAkOUF /xfZTgYa3a0u6YRzRrdacrjWXy0YbunYehF01FcfUrc9RcGAdZR6Ui3C3gW20f81AP4JId 8psJaHYuoJ4qTWqpyoTvaLdBvrdhEFXB3qfwHw92vep4Li+l48gH8+vqUShqxp86clChri w7YpjNSHxx9DiuPLb+O/hDEN1rfy99U0d5JBN7RAIYLyiOEQE4sya6c2lO5hjFyNoD56tM 2FcazLBlXIaaFlHpGng4A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id e8a77c06; Thu, 11 Nov 2021 22:43:54 +0000 (UTC) MIME-Version: 1.0 Date: Thu, 11 Nov 2021 23:43:53 +0100 From: Tobias Geerinckx-Rice To: phodina Subject: Re: [bug#51772] Binder kernel module missing In-Reply-To: <2xJaBAPZynqkJm9BEmSXcylo4oLVB_YBZhYQgDlZK3agAyxgyXVLffNBLIK47VxgYDChDjp2EtPVfNlTcnNQtyepzNoi_F0_IELq2ORQQnc=@protonmail.com> References: <2xJaBAPZynqkJm9BEmSXcylo4oLVB_YBZhYQgDlZK3agAyxgyXVLffNBLIK47VxgYDChDjp2EtPVfNlTcnNQtyepzNoi_F0_IELq2ORQQnc=@protonmail.com> Message-ID: <7a26fc82cc2722f9959fe276c650c4ce@tobias.gr> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51772 Cc: 51772@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Petr, On 2021-11-11 20:12, phodina via Guix-patches via wrote: > Unfortunately, as stated above the binder interface is missing. I > looked for the kernel module but couldn't find it. How did you search? find(1)? Are you running the customised kernel? > As the > /proc/config.gz is not present I can't verify it's enabled. You can. The Linux kernel configuration is at /run/booted-system/kernel/.config, not /proc/config.gz. What does it report for 'grep ANDROID'? > It could be do the the extended match-lambda expression I can't parse this, sorry. Kind regards, T G-R Sent from a Web browser. Excuse or enjoy my brevity. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 12 00:44:29 2021 Received: (at 51772) by debbugs.gnu.org; 12 Nov 2021 05:44:30 +0000 Received: from localhost ([127.0.0.1]:42970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlPMT-0000zI-M7 for submit@debbugs.gnu.org; Fri, 12 Nov 2021 00:44:29 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:46201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlPMS-0000z2-Fa for 51772@debbugs.gnu.org; Fri, 12 Nov 2021 00:44:29 -0500 Date: Fri, 12 Nov 2021 05:44:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636695861; bh=7qZ408abDAoXol5i784uXKdgPCpTFJ5Jmvx27hatGYU=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=PEUL2QVrYrxBwQoR+Hn0vRqasNqyCBup/dz4AbtaJEwE1m0d/NvpYz/kLQE5nXcVf 7ncyBYZvGTGlzsDJIYU0/q8m1+ud5Fazr/1nhBZxYIt7zdxWPbm+ap0nwwRjM7trxI 2DXPEc0uZeA20f4ZZ6Sb9KB2eBk5N70uYmpyCEPY= To: Tobias Geerinckx-Rice From: phodina Subject: Re: [bug#51772] Binder kernel module missing Message-ID: <4gzxKXuNPivE2rVlOnf8mMxxRF-uizOvE8i55VI84codAmcrPo1kkZdjloMr9TcplfFN0_rDK5cGV_KaK7vFwMMu-9MWyVTB5_OzuT7esH4=@protonmail.com> In-Reply-To: <7a26fc82cc2722f9959fe276c650c4ce@tobias.gr> References: <2xJaBAPZynqkJm9BEmSXcylo4oLVB_YBZhYQgDlZK3agAyxgyXVLffNBLIK47VxgYDChDjp2EtPVfNlTcnNQtyepzNoi_F0_IELq2ORQQnc=@protonmail.com> <7a26fc82cc2722f9959fe276c650c4ce@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51772 Cc: 51772@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, > > Unfortunately, as stated above the binder interface is missing. I > > > > looked for the kernel module but couldn't find it. > > How did you search? find(1)? Are you running the customised kernel? > > > As the > > > > /proc/config.gz is not present I can't verify it's enabled. > > You can. The Linux kernel configuration is at > > /run/booted-system/kernel/.config, not /proc/config.gz. What does it > > report for 'grep ANDROID'? So I use the following command to reconfigure the system: $ sudo -E ./pre-inst-env guix system build/laptop-rocinante.scm ... /gnu/store/dqp07qd42wicv9q80wplr3hd20ha5a3r-system $ grep ANDROID /gnu/store/dqp07qd42wicv9q80wplr3hd20ha5a3r-system/kernel/.c= onfig CONFIG_ANDROID=3Dy # CONFIG_ANDROID_BINDER_IPC is not set Also in the GRUB menu I can see the kernel with the Waydroid suffix. In the config I specify the kernel with the following s-exp: (kernel linux-libre-with-waydroid) Yes I was looking for the binder module "*binder*.ko" with find. > > > It could be do the the extended match-lambda expression > > I can't parse this, sorry. > Sorry for making it not clear. The there is one option in the kernel that needs to be enabled which is of = type string: CONFIG_ANDROID_BINDER_DEVICES=3D"binder,hwbinder,vndbinder" However, current implementation of config->string does not handle strings a= nd numbers as you can see below. gnu/packages/linux.scm (v1.3.0-8241-g5592058e9d) 725=09(define (config->string options) 726=09 (string-join (map (match-lambda 727=09 ((option . 'm) 728=09 (string-append option "=3Dm")) 729=09 ((option . #t) 730=09 (string-append option "=3Dy")) 731=09 ((option . #f) 732=09 (string-append option "=3Dn"))) 733=09 options) 734=09 "\n")) Therefore I made the first patch to add the support. Nevertheless, even if I complile the linux kernel without this patch and wi= thout the CONFIG_ANDROID_BINDER_DEVICES (due to string value) the binder is= not present. From unknown Sun Jun 15 08:32:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Dec 2021 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator