GNU bug report logs

#30847 Cannot upgrade GuixSD due to check-device-initrd-modules

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

Received: (at submit) by debbugs.gnu.org; 18 Mar 2018 16:32:36 +0000
From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 18 12:32:36 2018
Received: from localhost ([127.0.0.1]:40291 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1exbEZ-00019W-Ue
	for submit@debbugs.gnu.org; Sun, 18 Mar 2018 12:32:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46994)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <adam@vany.ca>) id 1exbEY-00019I-Fo
 for submit@debbugs.gnu.org; Sun, 18 Mar 2018 12:32:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <adam@vany.ca>) id 1exbES-0001Ju-BZ
 for submit@debbugs.gnu.org; Sun, 18 Mar 2018 12:32:29 -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]:50252)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <adam@vany.ca>) id 1exbES-0001Jo-8F
 for submit@debbugs.gnu.org; Sun, 18 Mar 2018 12:32:28 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37957)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <adam@vany.ca>) id 1exbER-0003aW-2P
 for bug-guix@gnu.org; Sun, 18 Mar 2018 12:32:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <adam@vany.ca>) id 1exbEN-0001Ik-UI
 for bug-guix@gnu.org; Sun, 18 Mar 2018 12:32:27 -0400
Received: from mail2.vany.ca ([142.54.190.254]:33768)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <adam@vany.ca>) id 1exbEN-0001I5-Op
 for bug-guix@gnu.org; Sun, 18 Mar 2018 12:32:23 -0400
Received: from adamvy-laptop
 (CPEac202e0a8da3-CMac202e0a8da0.cpe.net.cable.rogers.com [174.115.45.4])
 by mail2.vany.ca (Postfix) with ESMTPSA id EBA5DAC0144
 for <bug-guix@gnu.org>; Sun, 18 Mar 2018 11:32:19 -0500 (CDT)
From: Adam Van Ymeren <adam@vany.ca>
To: bug-guix@gnu.org
Subject: Cannot upgrade GuixSD due to check-device-initrd-modules
Date: Sun, 18 Mar 2018 12:32:18 -0400
Message-ID: <87zi351h0t.fsf@vany.ca>
MIME-Version: 1.0
Content-Type: text/plain
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: -4.4 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -4.4 (----)
My root device is on NVMe.

In my current kernel config CONFIG_NVME_CORE is set to a module, which is
included in my initrd.

However upstream defconfig has been changed to CONFIG_NVME_CORE=y

When trying to guix reconfigure my system, building the operating system
fails in check-device-initrd-modules with the following message

vany/systems.scm:111:10: error: you may need these modules in the initrd for /dev/nvme0n1p2: nvme shpchp
hint: Try adding them to the `initrd-modules' field of your `operating-system' declaration, along these lines:

      (operating-system
        ;; ...
        (initrd-modules (append (list "nvme" "shpchp")
                                %base-initrd-modules)))


If I add initrd-modules to my operating-system, then building the initrd
fails because nvme module cannot be found (as it is not being build as a
module).

Fundamentally I think the problem is that check-device-initrd-modules is
checking modules for the currently running kernel which is not
necessarily the kernel that I will be installing.

At the very least however it would be nice if I could override this
check with a --i-know-what-im-doing flag of some sort.

It seems odd that check-device-initrd-modules will not prevent your
installation from continuing if it can't find modules.alias, but if it
can find it and you didn't specify the initrd-modules it thinks you need
then it becomes a hard error that you can't override.  Perhaps it should
always be a warning or prompt the user if they want to continue.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 11:32:00 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.