From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#30760: guix system init broken on non GuixSD Date: Mon, 12 Mar 2018 13:24:37 +0100 Message-ID: <20180312132437.2a4b2ca7@scratchpost.org> References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> <20180310063219.bxgl7bgspxu2o5ez@doom> <874llmuwc5.fsf@gnu.org> <20180312091923.q47b3mrhzsl4vr75@doom> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/_+qrlvvGA3tUD1bB13KK.gE"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evMab-0003nf-H8 for bug-guix@gnu.org; Mon, 12 Mar 2018 08:30:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evMaY-0006zD-De for bug-guix@gnu.org; Mon, 12 Mar 2018 08:30:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48165) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evMaY-0006yi-Ae for bug-guix@gnu.org; Mon, 12 Mar 2018 08:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evMaX-0002ic-UA for bug-guix@gnu.org; Mon, 12 Mar 2018 08:30:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180312091923.q47b3mrhzsl4vr75@doom> 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: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30760@debbugs.gnu.org --Sig_/_+qrlvvGA3tUD1bB13KK.gE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > I'm afraid this is still not correct. >=20 > # guix system init config.scm /mnt/mnt/ > ... > config.scm:64:9: error: you may need these modules in the initrd for /dev= /nvme0n1p2: shpchp > hint: Try adding them to the `initrd-modules' field of your `operating-sy= stem' declaration, along these lines: >=20 > (operating-system > ;; ... > (initrd-modules (append (list "shpchp") > %base-initrd-modules))) >=20 > I don't have `shpchp` as a module as I have it compiled into kernel > directly. Can I somehow disable the check? I think it's a good idea to add a command-line switch that disables the che= ck. But then people will just disable the check always and it won't improve unt= il it's correct. It's still a good idea to give people the choice. @Ludo: It would also be great to have a command-line switch to check the sl= ow, correct, way. We'd also have to check modules.builtin of the new system's = initrd - but we'd do it only when the option is passed :) I suggest to change it to: > # guix system init config.scm /mnt/mnt/ > ... > config.scm:64:9: WARNING: you may need these modules in the initrd for /d= ev/nvme0n1p2: shpchp ^^^ not error > hint: Try adding them to the `initrd-modules' field of your `operating-sy= stem' declaration, along these lines: >=20 > (operating-system > ;; ... > (initrd-modules (append (list "shpchp") > %base-initrd-modules))) > > If you think this warning is mistaken, invoke guix again with the option > --enable-paranoid-initrd-checks to be on the safe side, or with the option > --skip-initrd-checks to continue regardless. --Sig_/_+qrlvvGA3tUD1bB13KK.gE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqmcYUACgkQ5xo1VCww uqXjQQf+K/p/Wm3nzvXXxLZLjxLf27zrQHDzaMci8J7EfAv4SX21OqCspg++QRNA NmSqs1lwmgMZog84x1qMa/fHB8A0QODhFxNemC3U4vtaQdSD/GmLRarg/dDWqzMH 62XmM7k/rB3KG0dBbhBaNyBldgO2m0iYeOXrLjO+rh+q/dT4OnnM6/rzx6dY73Cz g9TAqxreNc4t+eeIHRY7NfJthZi4uTn3dYFhRETJNc4fWvhfx+87RwR9SBiIiErK IzS5Vks4nsLs1Y2OMC0T8TADFTOYEqz1CuvwpfaRbHUustsqIzmHdvCmhHVZVd5M u9YYaxGtZkqjIRKNkMvJYu7B089ddA== =zJmL -----END PGP SIGNATURE----- --Sig_/_+qrlvvGA3tUD1bB13KK.gE--