From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sKklCP7/jWHPHwAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 06:47:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kFyrA/7/jWHxdAAAbx9fmQ (envelope-from ) for ; Fri, 12 Nov 2021 05:47:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D18E32B2CE for ; Fri, 12 Nov 2021 06:47:41 +0100 (CET) Received: from localhost ([::1]:59674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlPPX-0008JH-Ab for larch@yhetil.org; Fri, 12 Nov 2021 00:47:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlPN1-0005ni-LX for guix-patches@gnu.org; Fri, 12 Nov 2021 00:45:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlPN0-0006Cs-Id for guix-patches@gnu.org; Fri, 12 Nov 2021 00:45:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlPN0-00010M-A5 for guix-patches@gnu.org; Fri, 12 Nov 2021 00:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51772] Binder kernel module missing Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Nov 2021 05:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51772 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Cc: 51772@debbugs.gnu.org Received: via spool by 51772-submit@debbugs.gnu.org id=B51772.16366958703804 (code B ref 51772); Fri, 12 Nov 2021 05:45:02 +0000 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= 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636696061; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7qZ408abDAoXol5i784uXKdgPCpTFJ5Jmvx27hatGYU=; b=jcLP1SUVjILjhHOeocF5s3Kf0OwsE5bYOv84ENLAJltOgMatAKp6xI89qA0j4nEtm5tT2r 98d72dpycbx1dn3ryyEOoUk13rxTULX5a5qOcumgU0bNMRokSWVmWPFtR0j5/XIw8zECDj AE6Nqon8U4GiM74YJ2uLVmY0ybj5RsXMxv0lj/CWFDcOLlMjh+zchA5lCju5SxgIHkqDTO CS2SWFg88RxfSjy/WWbxZX3gxUfF2Iutz+ParMCNEyO+cjc3k9QHRByAAv+2eJJF4uJi1i ou8BYAEdkz7S9fzTjH9Zk+DAlo1sK5Y+h+QdEBs/ukD1cQ1Ngnn4MoHjDLpjhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636696061; a=rsa-sha256; cv=none; b=U/4/FLbJlPyPjZYYcMZxkN6ITVzQR9DvymEI+zlWS6hh9UBAjspen7qPf31PIkYKuPadmJ eW8OiU8L/ezpKUDtIZ78nZZ2syqaGvvJ5VbthULQBDCsQElVtXwssGigGcNzU1M0kCPYtb tFQPnlNpK8h94G+DA4BUz7nS8Dz0f2vpGz3ug62UMcSIpxeQznwiJmNfr98YMdQJ1h8ki8 z3LgLgTxW8e6tLxjbvd/CgIbZAvs8tlKSaQtLymbkviLL8P/eg6Z+TUDFQ01lXuJvX6qEn F+3/EGv29KBnDhfhTCwZCydAL59IZoI8VdKgmy4H2UUeFkwo8a1Q4GWk5/tFpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=PEUL2QVr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=PEUL2QVr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D18E32B2CE X-Spam-Score: -3.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: 32JT854QQFGG 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.