You are not logged in.
If a kernel is compiled without the raid modules, pacman will complain a bit:
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
==> ERROR: module not found: 'dm_raid'
==> ERROR: module not found: 'raid0'
==> ERROR: module not found: 'raid1'
==> ERROR: module not found: 'raid10'
==> ERROR: module not found: 'raid456'
error: command failed to execute correctly
The kernel will be installed normally, so it isn't a big deal, but why these are treated as errors and not warnings?
This are the modules I have in mkinitcpio.conf, nothing raid related:
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt lvm2 filesystems fsck)
Last edited by ltsdw (2024-05-23 14:43:31)
Offline
While booted with that kernel run mkinitcpio -M .
All modules it lists are required by autodetectiion / your chosen hooks .
Try removing lvm2 and/or filesystems for testing purpose, then rerun the command.
If without those 2 hooks they still show, you'll have to dig deeper.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
It's the lvm2 hook that tries to pull in those modules. See https://gitlab.archlinux.org/archlinux/ … 186f34ddca for the reasoning. If your kernel is built without them, then lvmraid will not work, so I guess it should be fine to make the hook not issue these errors if the modules are not found.
Feel free to create a merge request that appends "?" to all (most?) of the module names in install/lvm2.
Last edited by nl6720 (2024-05-21 16:26:48)
Offline
Sure, lemme ask for an account username, right now account registration is disabled.
Offline
Thanks.
Solved by #399.
Offline