From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erMgw-000624-2W for guix-patches@gnu.org; Thu, 01 Mar 2018 06:48:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erMgs-0005p0-Sb for guix-patches@gnu.org; Thu, 01 Mar 2018 06:48:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58609) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erMgs-0005ow-OX for guix-patches@gnu.org; Thu, 01 Mar 2018 06:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1erMgs-0001bK-BH for guix-patches@gnu.org; Thu, 01 Mar 2018 06:48:02 -0500 Subject: [bug#30629] [PATCH 0/5] Detect missing modules in the initrd Resent-Message-ID: Date: Thu, 1 Mar 2018 12:46:55 +0100 From: Danny Milosavljevic Message-ID: <20180301124655.72f6ca52@scratchpost.org> In-Reply-To: <20180227235027.00bc79b1@scratchpost.org> References: <20180227141720.12513-1-ludo@gnu.org> <20180227222632.42bcf52c@scratchpost.org> <87tvu2w2vg.fsf@gnu.org> <20180227235027.00bc79b1@scratchpost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30629@debbugs.gnu.org > Also, when I replace kmod-minimal/static by kmod I get a massive number of > test failures. What I'm trying to say, in this case I think > having an intermediate step kmod-minimal/static is the least of the evils... To clarify, the other "evils" would be to * Have a non-working intermediate state pushed to master, or * Have to push all 14 patches (yours and mine) at the same time - with overlooked bugs in it hitting us all at once. I prefer not to do these. I think it's better to have kmod-minimal-static and my patchset in master for a week in order to be reasonably sure that the linux-boot.scm changes do what they are supposed to do (which is essentially the same as before the patch - just loading no unnecessary modules :P). Also, loading dm-crypt and raid works just fine with it since the kernel does it anyway (by calling us back). My commit message indicated that I used the regular kmod - but I was mistaken (in the commit message, not the actual source code). I tried, but it doesn't work (or kmod-minimal-static even build) with the newer kmod (static), so I changed it back to the older one again. Also, kmod-minimal (not static) of the newer version doesn't work either (depmod fails with error code 127 with no message printed anywhere). The old kmod version is special because it's the last one to officially support static linking. Let's just use old kmod-minimal-static as-is until we figure out what's up with newer ones (I don't have any ideas left about that - I don't even understand why it needs to be statically linked when, with the integrated version, kmod doesn't end up in the initrd anyway. I tried with the integrated version: Error 127). Did I mention it's great to be able to rollback to the previous system generation in the grub boot menu? It's so great!