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.