What is Fedora’s equivalent to Arch’s mkinitcpio
for specifying module loading order?
The Arch wiki has instructions for a workaround to get a SD card reader working:
In order to get microsd (SDHCI) working,
echo 'options sdhci debug_quirks2="0x8000"' > /etc/modprobe.d/sdhci.conf
and change module load orderMODULES=(sdhci sdhci_pci)
in/etc/mkinitcpio.conf
(line 7). Don’t forget to runmkinitcpio -p linux
afterwards.
The important part is to get sdhci
to be loaded with the quirk option before sdhci_pci
. What is the “translation” of the above instructions for Fedora?
FYI, this is due to a longstanding bug which affects the ability of certain SD card readers to read certain SD cards:
https://bugzilla.kernel.org/show_bug.cgi?format=multiple&id=109231
https://www.0xf8.org/2016/01/workaround-for-broken-o2-micro-sd-card-reader-support-since-linux-kernel-version-4-1-8/