From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqz6f-00073h-85 for guix-patches@gnu.org; Wed, 28 Feb 2018 05:37:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqz6c-0004D1-4y for guix-patches@gnu.org; Wed, 28 Feb 2018 05:37:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:56805) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqz6c-0004Cx-0m for guix-patches@gnu.org; Wed, 28 Feb 2018 05:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eqz6b-00007a-Mz for guix-patches@gnu.org; Wed, 28 Feb 2018 05:37:01 -0500 Subject: [bug#30629] [PATCH 0/5] Detect missing modules in the initrd Resent-Message-ID: Date: Wed, 28 Feb 2018 12:36:03 +0100 From: Danny Milosavljevic Message-ID: <20180228123603.3c81ee26@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 On Tue, 27 Feb 2018 23:50:27 +0100 Danny Milosavljevic wrote: > > > I'm not sure about the module resolution order, first use the aliases or first > > > use the real module files? > > > > In what part? > > modprobe. It can either get "pci:024215325233" or "ahci". The first is an alias > and the latter eventually resolves to a file "ahci.ko". kmod-24 does it in this order: DBG(ctx, "lookup modules.dep %s\n", alias); ... (if found, stop) DBG(ctx, "lookup modules.symbols %s\n", alias); ... (if found, stop) DBG(ctx, "lookup install and remove commands %s\n", alias); ... (if found, stop) DBG(ctx, "lookup modules.aliases %s\n", alias); ... (if found, stop) DBG(ctx, "lookup modules.builtin %s\n", alias); modules.builtin is just available as modules.builtin.bin, hmmm...