From debbugs-submit-bounces@debbugs.gnu.org Fri May 25 17:14:43 2018 Received: (at submit) by debbugs.gnu.org; 25 May 2018 21:14:43 +0000 Received: from localhost ([127.0.0.1]:48792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMK2t-0007Yd-GB for submit@debbugs.gnu.org; Fri, 25 May 2018 17:14:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMK2r-0007YI-AP for submit@debbugs.gnu.org; Fri, 25 May 2018 17:14:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMK2l-0005NX-04 for submit@debbugs.gnu.org; Fri, 25 May 2018 17:14:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fMK2k-0005NT-TB for submit@debbugs.gnu.org; Fri, 25 May 2018 17:14:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMK2j-0001QT-QB for bug-guix@gnu.org; Fri, 25 May 2018 17:14:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMK2f-0005KV-Rm for bug-guix@gnu.org; Fri, 25 May 2018 17:14:33 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:54691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMK2f-0005J0-Kz for bug-guix@gnu.org; Fri, 25 May 2018 17:14:29 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 79DF91B411 for ; Fri, 25 May 2018 14:14:27 -0700 (PDT) From: Vagrant Cascadian To: bug-guix@gnu.org Subject: Check for initrd-modules fails to detect when loaded module and on-disk module filename differ Date: Fri, 25 May 2018 14:14:15 -0700 Message-ID: <87bmd3sajc.fsf@aikidev.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) --=-=-= Content-Type: text/plain The check for initrd-modules does not appear to handle when loaded modules use underscores (e.g. "sdhci_of_arasan") but the on-disk modules use dashes (e.g. "sdhci-of-arasan"). Some modules even use a mix of underscores and dashes, just to keep it interesting. The workaround is to use --skip-checks, but this may skip other important checks. Putting the "sdhci_of_arasan" in my system config, it fails because it cannot find the kernel module on-disk by that name. Ideally, it would find some way of mapping the loaded module names to the on-disk module filenames, and detect appropriately, ideally allowing either the on-disk filename or the loaded module name in the config. In my config: (initrd-modules (append (list ... "sdhci-of-arasan" ... ) %base-initrd-modules)) When I run: $ sudo -E guix system reconfigure /etc/config.scm : error: you may need these modules in the initrd for /dev/mmcblk1p1: sdhci_of_arasan hint: Try adding them to the `initrd-modules' field of your `operating-system' declaration, along these lines: (operating-system ;; ... (initrd-modules (append (list "sdhci_of_arasan") %base-initrd-modules))) Since the on-disk module name uses "-" instead of underscores: $ find /gnu/store/*linux-libre* -name '*'arasan.ko /gnu/store/nilzipm6fpicvlzfv1w8yj1j8mm1xlan-linux-libre-4.16.11/lib/modules/4.16.11-gnu/kernel/drivers/mmc/host/sdhci-of-arasan.ko But the loaded module uses "_" in the name: $ lsmod | grep arasan sdhci_of_arasan 20480 1 cqhci 24576 1 sdhci_of_arasan sdhci_pltfm 16384 1 sdhci_of_arasan sdhci 61440 2 sdhci_pltfm,sdhci_of_arasan live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlsIfKgACgkQt4uC1IFL kbYtyg//SN1o+OXsqeXyH3uOnQBxOKgg/kLV/Vlvdr9GXxJ6MbbkdYl/CRwa0cTU +mMLM1cp06amdVBS1Ca0tXip/vwvKObtrAsLZcaOeWeYKYr86zIBuFr/UOj+lxSu ngRrOIVvnJhcAQ1xNq43r2wmu/XSPPQ8OOwQ5UdwYGGmvyQHDzUBByu6J8ab68Hx JHPkuQBoMCD4e6tjqGgqcogN/dyjcDfhAxVS4hjnUB7fcKqugxO4q9vSWNW73D2p OouVwqalBt0/cVIbiCBAC52nzVrOqAyebx7b8r+w4/WBUgBAS0cfhlR8UzrbgIyI yZ3wPbwxmNXQOzMLslrTaxyk4M/LdUfcZCEQ1eeBgGSn3Gx15h2hbq8NAwwOMpcB cBnHEyEmUFsTnJ9iUSEom/74pcZ+3bH5rd1W3hlQJh6K6GMZFWzFw6jO3zduTQIJ vkfxaD/E8/YYKHjQSg7cY19UW4QGr6Uy8aQTdu9ccQqJdWNY0SaxS0vl2Y6c7WeV Gkd7agA5A7nd3QtVxghCAH6aO7X1/pio6o15UFMGveNCJ/6iGSa8BFUT5H+czdrv J5i1xd15+yr6MDt4siVKInfAvHOBdnloJj7bivBS0SmmjAj+pG8rgWuySM013RoZ ZtGuU72blcoyftOiaofX7XDbPT1TVGDypnGxOCGE2D95ng+xt5U= =b59a -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 07 12:11:35 2018 Received: (at control) by debbugs.gnu.org; 7 Jun 2018 16:11:35 +0000 Received: from localhost ([127.0.0.1]:38364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQxVf-00023n-Bi for submit@debbugs.gnu.org; Thu, 07 Jun 2018 12:11:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQxVc-00023Z-4L for control@debbugs.gnu.org; Thu, 07 Jun 2018 12:11:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQxVT-0007tC-2o for control@debbugs.gnu.org; Thu, 07 Jun 2018 12:11:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQxVT-0007t6-00 for control@debbugs.gnu.org; Thu, 07 Jun 2018 12:11:23 -0400 Received: from [193.50.110.75] (port=41186 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fQxVS-0005fz-HQ for control@debbugs.gnu.org; Thu, 07 Jun 2018 12:11:22 -0400 Date: Thu, 07 Jun 2018 18:11:21 +0200 Message-Id: <87efhibmqe.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #31598 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -6.0 (------) merge 31598 31714 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 14 17:38:27 2018 Received: (at 31598-done) by debbugs.gnu.org; 14 Jun 2018 21:38:27 +0000 Received: from localhost ([127.0.0.1]:48622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTZwm-0006n9-Oh for submit@debbugs.gnu.org; Thu, 14 Jun 2018 17:38:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTZwl-0006mx-1R for 31598-done@debbugs.gnu.org; Thu, 14 Jun 2018 17:38:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTZwf-00052M-34 for 31598-done@debbugs.gnu.org; Thu, 14 Jun 2018 17:38:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTZwe-00052F-W0; Thu, 14 Jun 2018 17:38:17 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57592 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fTZwe-0006y3-Iy; Thu, 14 Jun 2018 17:38:16 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Vagrant Cascadian , Subject: Re: bug#31598: Check for initrd-modules fails to detect when loaded module and on-disk module filename differ References: <87bmd3sajc.fsf@aikidev.net> Date: Thu, 14 Jun 2018 23:38:14 +0200 In-Reply-To: <87bmd3sajc.fsf@aikidev.net> (Vagrant Cascadian's message of "Fri, 25 May 2018 14:14:15 -0700") Message-ID: <87bmcdxd4p.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31598-done Cc: 31598-done@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: -6.0 (------) Hello Vagrant & Florian, Vagrant Cascadian skribis: > In my config: > > (initrd-modules (append (list ... "sdhci-of-arasan" ... ) %base-initrd-= modules)) > > > When I run: > > $ sudo -E guix system reconfigure /etc/config.scm > > : error: you may need these modules in the initrd for= /dev/mmcblk1p1: sdhci_of_arasan > hint: Try adding them to the `initrd-modules' field of your `operating-= system' declaration, along these > lines: > > (operating-system > ;; ... > (initrd-modules (append (list "sdhci_of_arasan") > %base-initrd-modules))) > > Since the on-disk module name uses "-" instead of underscores: > > $ find /gnu/store/*linux-libre* -name '*'arasan.ko > /gnu/store/nilzipm6fpicvlzfv1w8yj1j8mm1xlan-linux-libre-4.16.11/lib/mod= ules/4.16.11-gnu/kernel/drivers/mmc/host/sdhci-of-arasan.ko > > > But the loaded module uses "_" in the name: > > $ lsmod | grep arasan > sdhci_of_arasan 20480 1 > cqhci 24576 1 sdhci_of_arasan > sdhci_pltfm 16384 1 sdhci_of_arasan > sdhci 61440 2 sdhci_pltfm,sdhci_of_arasan I believe this is fixed by 411959bef30b488928ab2418a064c8a9b0347c41. Let me know if it=E2=80=99s not! Thanks, Ludo=E2=80=99. From unknown Sat Aug 16 16:10:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 27 Aug 2018 11:24:04 +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