tiny-initramfs icon indicating copy to clipboard operation
tiny-initramfs copied to clipboard

Module crc32-generic not added for F2FS

Open paulmenzel opened this issue 3 years ago • 0 comments

Using Debian sid/unstable with tiny-initramfs 0.1-5, on an old Acer TravelMate 5735Z/BA51_MV, BIOS V1.14 07/26/2011, with Intel Pentium T4500 and an F2FS root partition, F2FS fails to load as no crc32 routines can be loaded. The problem is, that the module crc32-generic is not added to the initrd, but only the optimized version using PCLMUL instruction, not present on the old processor.

$ /sbin/modinfo f2fs
filename:       /lib/modules/5.10.0-trunk-amd64/kernel/fs/f2fs/f2fs.ko
softdep:        pre: crypto-crc32
license:        GPL
description:    Flash Friendly File System
author:         Samsung Electronics's Praesto Team
alias:          fs-f2fs
depends:        
retpoline:      Y
intree:         Y
name:           f2fs
vermagic:       5.10.0-trunk-amd64 SMP mod_unload modversions 
parm:           num_compress_pages:Number of intermediate compress pages to preallocate (uint)

To work around it, add crc32-generic to the module list in /etc/tiny-initramfs/tiny-initramfs.conf.

paulmenzel avatar Dec 27 '20 11:12 paulmenzel