fixing errors
insmod: ERROR: could not insert module f2fs.ko: Unknown symbol in module
fulladdr
2023. 9. 20. 14:27
에러가 나서 dmesg를 확인하니 이런 에러가 떠있었다.
[ 209.458825] f2fs: module verification failed: signature and/or required key missing - tainting kernel
[ 209.459417] f2fs: Unknown symbol LZ4_compress_default (err -2)
[ 209.460313] f2fs: Unknown symbol LZ4_compress_HC (err -2)
LZ4 라이브러리가 시스템에 설치되어 있지 않거나 LZ4 라이브러리 버전과 커널 모듈의 버전이 호환되지 않는 경우 있는 문제이다.
sudo apt-get install liblz4-dev
이렇게 해도 안되면 F2FS make menuconfig에서 lz4 compression을 없애주면 된ㄷ