dkwo
dkwo
This is what I get: ``` sh: 0: can't access tty: job control turned off # kmod list Module Size Used by dm_mod 155648 0 crct10dif_pclmul 16384 1 crc32_pclmul 16384...
``` modprobe dm_crypt modprobe: ERROR: could not insert 'dm_crypt': Unknown symbol in module, or unknown parameter (see dmesg) dmesg sh: 2: dmesg: not found ```
that did not work, I had to edit by hand /usr/bin/tinyramfs then dmesg gets a ton of unknown symbols, a video is worth a thousand words https://paste.c-net.org/WorkingsIsraeli
Thanks. At least `xhci_hcd` and `dm_crypt` have unknown symbol errors from the video. I do not see any `-D` option in modprobe's man page in Void. do you mean `--show-depends`...
sorry, ignore my comment about -D.
on the working system: ``` $ modprobe -D dm_crypt insmod /lib/modules/6.2.8_1/kernel/drivers/char/hw_random/rng-core.ko.zst insmod /lib/modules/6.2.8_1/kernel/drivers/char/tpm/tpm.ko.zst insmod /lib/modules/6.2.8_1/kernel/drivers/tee/tee.ko.zst insmod /lib/modules/6.2.8_1/kernel/lib/asn1_encoder.ko.zst insmod /lib/modules/6.2.8_1/kernel/security/keys/trusted-keys/trusted.ko.zst insmod /lib/modules/6.2.8_1/kernel/security/keys/encrypted-keys/encrypted-keys.ko.zst insmod /lib/modules/6.2.8_1/kernel/drivers/md/dm-mod.ko.zst insmod /lib/modules/6.2.8_1/kernel/drivers/md/dm-crypt.ko.zst ``` while from the initram...
similarly ``` $ modprobe -D xhci_hcd insmod /lib/modules/6.2.8_1/kernel/drivers/usb/common/usb-common.ko.zst insmod /lib/modules/6.2.8_1/kernel/drivers/usb/core/usbcore.ko.zst insmod /lib/modules/6.2.8_1/kernel/drivers/usb/host/xhci-hcd.ko.zst ``` vs ``` $ modprobe -D xhci_hcd insmod /lib/modules/6.1.21_1/kernel/drivers/usb/host/xhci-hcd.ko.zst ```
Something is wrong with the way it searches for modules. From the initram: ``` modprobe rng_core modprobe: FATAL: Module rng_core not found in directory /lib/modules/6.1.21_1 ```
perhaps adding the folders ``` drivers/char/hw_random drivers/char/tpm drivers/tee security/keys/trusted-keys security/keys/encrypted-keys drivers/usb/common drivers/usb/core ``` at line 128?
Thanks, let me try and report. Let me add that `hostonly` also does the job (somehow I also missed root=...) ``` $ cat /etc/tinyramfs/config compress="gzip -9" hostonly=true hooks="eudev,luks,lvm" luks_root="UUID=..." luks_name=cryptroot...