[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30604] [PATCH v11 5/6] linux-initrd: Provide our own 'modprobe' pro
From: |
Danny Milosavljevic |
Subject: |
[bug#30604] [PATCH v11 5/6] linux-initrd: Provide our own 'modprobe' program. |
Date: |
Tue, 13 Mar 2018 13:28:02 +0100 |
> I’m 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 fails,
> + ;; 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’t work while
> in the initrd (when I type my passphrase).
Did it work before? I remember that Andreas had a similar problem before all
this.
Did you implement globs with [0-9] yet? I remember there were some USB devices
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
cat initrd | gunzip -cd |cpio -i
- it will unpack)
pgpBx2V6elyez.pgp
Description: OpenPGP digital signature
- [bug#30604] [PATCH v11 4/6] vm: Make the virtio-blk uniquely identifiable in /sys., (continued)
- [bug#30604] [PATCH v11 3/6] linux-modules: Add 'load-needed-linux-modules'., Ludovic Courtès, 2018/03/12
- [bug#30604] [PATCH v11 3/6] linux-modules: Add 'load-needed-linux-modules'., Danny Milosavljevic, 2018/03/12
- [bug#30604] [PATCH v11 3/6] linux-modules: Add 'load-needed-linux-modules'., Ludovic Courtès, 2018/03/13
- [bug#30604] [PATCH v11 2/6] linux-modules: Add 'load-linux-modules-from-directory'., Ludovic Courtès, 2018/03/12
- [bug#30604] [PATCH v11 2/6] linux-modules: Add 'load-linux-modules-from-directory'., Danny Milosavljevic, 2018/03/12
- [bug#30604] [PATCH v11 5/6] linux-initrd: Provide our own 'modprobe' program., Ludovic Courtès, 2018/03/12
- [bug#30604] [PATCH v11 5/6] linux-initrd: Provide our own 'modprobe' program., Ludovic Courtès, 2018/03/13
- [bug#30604] [PATCH v11 5/6] linux-initrd: Provide our own 'modprobe' program., Ludovic Courtès, 2018/03/13
- [bug#30604] [PATCH v11 5/6] linux-initrd: Provide our own 'modprobe' program.,
Danny Milosavljevic <=
- Message not available
- [bug#30604] Keyboard detection before ‘cryptsetup’ runs, Ludovic Courtès, 2018/03/18
- [bug#30604] Keyboard detection before ‘cryptsetup’ runs, Danny Milosavljevic, 2018/03/23
- [bug#30604] Keyboard detection before ‘cryptsetup’ runs, Danny Milosavljevic, 2018/03/23
- [bug#30604] Keyboard detection before ‘cryptsetup’ runs, Ludovic Courtès, 2018/03/24
- [bug#30604] Keyboard detection before ‘cryptsetup’ runs, Ludovic Courtès, 2018/03/24
- [bug#30604] [PATCH v11 1/6] linux-modules: Add "modules.alias" writer., Danny Milosavljevic, 2018/03/12
- [bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' program., Danny Milosavljevic, 2018/03/13
- [bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' program., Ludovic Courtès, 2018/03/13
- [bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' program., Danny Milosavljevic, 2018/03/13
- [bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' program., Danny Milosavljevic, 2018/03/13