Cannot boot without explicitly adding crc32 drivers to an initramfs since 4.6
F2FS fs: cannot load 'crc32' drivers
I tested a fix using softdeps, just adding
to the end of fs/f2fs/super.c and recompiling the module will allow initramfs tools supporting softdeps to autodetect needed modules without adding quirks to each tool, which has lead to errors, see: https://github.com/dracutdevs/dracut/commit/34a42f9f49d4ad8897c4890af5b9a455e1335c66 and https://bugs.archlinux.org/task/49380 for examples of this being worked around and both times the actual needed dependency was missed in the first attempt at fixing. It would be much better if the kernel module can list what it requires instead of other tools needing to guess.
Also see this related patch which has similar reasoning: http://www.spinics.net/lists/linux-fsdevel/msg98073.html
Created attachment 246001 [details]
fixes bug by adding softdep on crypto-crc32 to f2fs