From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#34902: guix cannot find a module on boot Date: Mon, 18 Mar 2019 10:17:14 +0100 Message-ID: <813466538d530a38bddf60ed348cb75b@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5oco-0003gu-HU for bug-guix@gnu.org; Mon, 18 Mar 2019 05:32:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5ocm-00012Y-T7 for bug-guix@gnu.org; Mon, 18 Mar 2019 05:32:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34543) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h5ock-00011H-EB for bug-guix@gnu.org; Mon, 18 Mar 2019 05:32:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h5ock-0005Yc-8U for bug-guix@gnu.org; Mon, 18 Mar 2019 05:32:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:40233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5ocT-00033p-DS for bug-guix@gnu.org; Mon, 18 Mar 2019 05:31:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5oOX-0001A1-EY for bug-guix@gnu.org; Mon, 18 Mar 2019 05:17:22 -0400 Received: from lepiller.eu ([89.234.186.109]:47364) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5oOW-00019I-Ru for bug-guix@gnu.org; Mon, 18 Mar 2019 05:17:21 -0400 Received: from webmail.lepiller.eu (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 4da5a286 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Mon, 18 Mar 2019 09:17:14 +0000 (UTC) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 34902@debbugs.gnu.org Hi! I've installed the Guix system on my cubietruck yesterday, but had some difficulties. At first, the root partition was not available at boot, so I got a repl with a message saying that /dev/mmcblk0p1 was not available. I added the following to my guix config file: (initrd-modules (cons "sunxi_mmc" %base-initrd-modules)) although the guix system command worked, the produced system still couldn't boot, but this time the message was that guix was unable to find sunxi_mmc.ko. Using the repl I could confirm that this module was indeed here, but under the name sunxi-mmc.ko. Using load-linux-module*, I was able to confirm that loading it made the filesystem available in /dev. In the end this line: (initrd-modules (cons "sunxi-mmc" %base-initrd-modules)) was the right line to add, and I could properly boot my cubietruck! The bug here is that guix should either be smarter and load sunxi-mmc.ko when it can't find sunxi_mmc.ko, or not allow me to build a system when I specify sunxi_mmc since it doesn't exist at boot time.