From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 13 08:28:09 2018 Received: (at 30604) by debbugs.gnu.org; 13 Mar 2018 12:28:09 +0000 Received: from localhost ([127.0.0.1]:58177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evj2G-0008GI-Qs for submit@debbugs.gnu.org; Tue, 13 Mar 2018 08:28:08 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:50922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evj2F-0008GB-IT for 30604@debbugs.gnu.org; Tue, 13 Mar 2018 08:28:07 -0400 Received: from localhost (178.113.188.221.wireless.dyn.drei.com [178.113.188.221]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 4A1DD33613E9; Tue, 13 Mar 2018 13:28:06 +0100 (CET) Date: Tue, 13 Mar 2018 13:28:02 +0100 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: [bug#30604] [PATCH v11 5/6] linux-initrd: Provide our own 'modprobe' program. 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> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/jsGxhjTxmRKxa6Rn/AyYHxV"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30604 Cc: 30604@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --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--