From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Kernel modules in initrd Date: Mon, 26 Feb 2018 16:20:08 +0100 Message-ID: <87y3jfvkuv.fsf@gnu.org> References: <20180222211707.GB9758@jurong> <87eflck7ko.fsf@netris.org> <20180223020029.3babc4fa@scratchpost.org> <20180223152855.6a08f8bd@scratchpost.org> <20180223230239.GA6140@jurong> <20180225124330.2e706537@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqKZe-00033n-2K for guix-devel@gnu.org; Mon, 26 Feb 2018 10:20:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqKZY-0000GC-Cp for guix-devel@gnu.org; Mon, 26 Feb 2018 10:20:18 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:40782) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eqKZY-0000Fo-6l for guix-devel@gnu.org; Mon, 26 Feb 2018 10:20:12 -0500 In-Reply-To: <20180225124330.2e706537@scratchpost.org> (Danny Milosavljevic's message of "Sun, 25 Feb 2018 12:43:30 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org Hello, Danny Milosavljevic skribis: > I've got it to work now. I've got a very minimal static kmod into the in= itrd and > that's now only loading modules for which supported hardware is present. > > On the other hand, the initrd got 800 kiB larger - I'm not sure why modpr= obe > is so big... hmm... Yeah. If possible, I=E2=80=99d like to keep the initrd pure Scheme, to kee= p it smallish. I suppose the bits I=E2=80=99ve promised to detect necessary modules based = on modules.alias and /sys should be useful here? Thanks, Ludo=E2=80=99.