From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evj3B-0003aV-O7 for guix-patches@gnu.org; Tue, 13 Mar 2018 08:29:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evj38-0003On-La for guix-patches@gnu.org; Tue, 13 Mar 2018 08:29:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evj38-0003Oi-IZ for guix-patches@gnu.org; Tue, 13 Mar 2018 08:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evj38-0008Hv-Ch for guix-patches@gnu.org; Tue, 13 Mar 2018 08:29:02 -0400 Subject: [bug#30604] [PATCH v11 5/6] linux-initrd: Provide our own 'modprobe' program. Resent-Message-ID: Date: Tue, 13 Mar 2018 13:28:02 +0100 From: Danny Milosavljevic Message-ID: <20180313132154.212a1b92@scratchpost.org> In-Reply-To: <87fu54fjfj.fsf@gnu.org> References: <87h8plkkkc.fsf@gnu.org> <20180312221541.1886-1-ludo@gnu.org> <20180312221541.1886-5-ludo@gnu.org> <87fu54fjfj.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/jsGxhjTxmRKxa6Rn/AyYHxV"; protocol="application/pgp-signature" 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: 30604@debbugs.gnu.org --Sig_/jsGxhjTxmRKxa6Rn/AyYHxV Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > I=E2=80=99m using this on the bare metal. \o/ Hehe nice! > - (let ((modules (matching-modules alias %known-aliases))) > + ;; Look up ALIAS in %KNOWN-ALIASES first, and then, if it fail= s, > + ;; assume that ALIAS is a module name (some modules such as > + ;; 'dm-crypt' don't have an alias.) Note that > + ;; 'kmod_module_new_from_lookup' uses a different search order. I also wondered about the resolution order :) At least module dependencies can't be aliases. > + (let ((modules (match (matching-modules alias %known-aliases) > + (() (list alias)) > + (lst lst)))) Yeah, same happened to me. Did the same (back then in "resolve-alias"). So should be fine. > Something annoying is that my external USB keyboard doesn=E2=80=99t work = while > in the initrd (when I type my passphrase). Did it work before? I remember that Andreas had a similar problem before a= ll this. Did you implement globs with [0-9] yet? I remember there were some USB dev= ices using those :) What's the modalias of your usb keyboard? Does your initrd's modules.alias contain any patterns that are supposed to = match? (You can look into those via=20 cat initrd | gunzip -cd |cpio -i - it will unpack) --Sig_/jsGxhjTxmRKxa6Rn/AyYHxV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqnw9IACgkQ5xo1VCww uqUxygf+MRub2zk/V+bjGnAET899eTQrpa+rL2ailthjXeEgBXkGti9xump0cNde 6rgUm2sRFyzz1bnCbqyklaG5B3cefP7FHcQqQsr9rC+fAwBOcWLsCHLY1skv1OeC 6E8yvaZ60VzsUXGK6HzFWmTGSITquor6iwwkMtx1MnTBqKuELfqZG1DB3amVsAVz 4SN4b6ZQSdIicm1uI4JCrxYBYfNSEBHIEyE0mxtfCZUCSLN5lg/vRmAdN3zaERb9 WN9CCPLTIPMPWftAzX3Xd3eeHGRfcX3lumerD285mIX1w6k//CRJynxWPu90fCeP f1EdHUu05t/7fUZm35j22zDQD8Hwkw== =GJWH -----END PGP SIGNATURE----- --Sig_/jsGxhjTxmRKxa6Rn/AyYHxV--