From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#30760: guix system init broken on non GuixSD Date: Sat, 10 Mar 2018 22:42:28 +0100 Message-ID: <20180310214228.uie2qxbiihaukpz5@doom> References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aa6lxoumhfo5vacb" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eumGd-0002xA-Cj for bug-guix@gnu.org; Sat, 10 Mar 2018 16:43:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eumGc-0001ai-Hv for bug-guix@gnu.org; Sat, 10 Mar 2018 16:43:03 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eumGc-0001aZ-DJ for bug-guix@gnu.org; Sat, 10 Mar 2018 16:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eumGc-0005bO-6S for bug-guix@gnu.org; Sat, 10 Mar 2018 16:43:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87woykx2ef.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30760@debbugs.gnu.org --aa6lxoumhfo5vacb Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 10, 2018 at 12:19:52AM +0100, Ludovic Court=C3=A8s wrote: >Danny Milosavljevic skribis: > >> [huge build] >>> The current tradeoff is to make that diagnostic based on the running >>> kernel, even if it=E2=80=99s an approximation. >> >> Ah, good point. >> >>> If that=E2=80=99s fine with you I=E2=80=99d like to fix this bug with t= he conservative >>> patch below. >> >> Sure, looks good. > >Pushed as 8d5c14edf5a6d01f859b1aa00c836ffdb5ddecf4. I'm afraid that now it leads to: Backtrace: 12 (primitive-load "/usr/bin/guix") In guix/ui.scm: 1501:12 11 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 10 (catch _ _ # =E2=80=A6) 829:9 9 (catch _ _ # =E2=80=A6) In guix/scripts/system.scm: 1180:8 8 (_) 1052:6 7 (process-action _ _ _) In guix/store.scm: 1443:24 6 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/scripts/system.scm: 1065:13 5 (_ _) 764:4 4 (perform-action init #< kernel: # =E2=80=A6) In srfi/srfi-1.scm: 640:9 3 (for-each # =E2=80=A6) In gnu/system/linux-initrd.scm: 360:4 2 (check-device-initrd-modules "/dev/nvme0n1p2" ("ahci" =E2=80=A6= ) =E2=80=A6) In ice-9/boot-9.scm: 829:9 1 (catch system-error # =E2=80=A6) In gnu/system/linux-initrd.scm: 361:6 0 (_) gnu/system/linux-initrd.scm:361:6: known-module-aliases: unbound variable This is part of my config: (initrd (lambda (file-system . rest) (raw-initrd file-systems #:linux linux-x1-sw1 #:linux-modules '() #:helper-packages '(linux-firmware-initrd-x1-sw1) #:mapped-devices mapped-devices))) I don't have any modules to be loaded in initrd, kernel is compiled using my configuration which fits my needs and follows the HW it will run o= n. S_W --aa6lxoumhfo5vacb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlqkUT0ACgkQSiPjT6Az Q22eQQ//eu0t6AdCvqPeUr58+X0wYLQWiEAvmoRpguZzcQQT2FBV09nFTLefHB1L j1oNhB8DMJAAuqNNV3g56LoW2WNmGnaA4rIdkPHJR+ek0WFTVenmQiN91jvh0UQ1 AxZzYk4eEijjVVf8/uDabEln9yWuYRGxZWQYGIRYdtZ87dd9r+BbshpZCBcJh82s 2VOCXCYAriw/5mATXuyYDGqyZoPNu9wNTxmcJXpmbbx4Ce9Gng4Cy5k0vSGk3C5z 3GLoytsoFMOUzZ9JibtcSRXxUNMZhLzpoF5ohcRTVMnHkO/Z89d6ncZXMA9fdfpo /f6IHx1G/2b2IluqqyLHxFFOJ8+2aJ4xRnFCLttQS/JiOxPy3IUYJh0Vi4DSLe5+ GV1W0FZ9aQ/FhUwHd3+Tglp1DqMOqxlt5qQdtGAhV3vJ1sDKHs4RSJ7bJLUHrB6U MYdrOaAo9Q2avXmOpPHFoF8V9Q7jj1Ws5Bdf+HI9D2aDgJHF6PGdAdW3fmtwpwtF trkP9qVqkDYzAqD1UEsAQQvf8jARKaYRmou7faExKS9MSRWI8mAMRvbHDlh/IdZZ XfZXYnBjYn3hjmVc0jeT87CRpN0et25ERjL6zZzhyE+iYIn2xcn4X+dumpMbmxJ6 9c/LtD+k8464EU2FQHzLFZW6ky/c2QrDfVZQDFUtNa7XV0J0nP8= =A9HR -----END PGP SIGNATURE----- --aa6lxoumhfo5vacb--