Firefly Open Source Community

Title: CONFIG_NETFILTER_XT_MATCH_COMMENT not set [Print This Page]

Author: lazywhite    Time: 9/5/2022 11:11
Title: CONFIG_NETFILTER_XT_MATCH_COMMENT not set
because CONFIG_NETFILTER_XT_MATCH_COMMENT is not set, iptables can't use -m comment, k3s faild to set iptables rules. so I need to compile a custom kernel

1. make -j 8   will get a vmlinux, but It's size is 300MB+£¬ /boot space is only 232MB

then how to solve this problem?
Author: lazywhite    Time: 9/5/2022 11:17
I'm using linux-5.10.66.tar.gz download from kernel.org, maybe I should use sdk provided by firefly?
Author: lazywhite    Time: 9/5/2022 14:47
# strip ./vmlinux solved this problem
Author: violetbeth    Time: 8/22/2024 12:26
The linux-5.10.66.tar.gz file is available on kernel.org; however, Firefly provides an SDK that I might want to try out instead.

Author: davis    Time: 1/13/2025 15:06
Building unnecessary kernel Worldle features directly into the kernel increases its size.
Author: lepersstress    Time: 2/11/2025 09:44
Before compiling the soccer random kernel, you need to install the necessary packages:

sudo apt update
sudo apt install build-essential libncurses-dev bison flex libssl-dev libelf-dev

(If using CentOS/RHEL, run sudo yum groupinstall "Development Tools" and install ncurses-devel, bison, flex, elfutils-libelf-devel.)
Author: lylybr    Time: 2/26/2025 11:23
Enable kernel compression (gzip/xz), remove unnecessary modules via menuconfig, or use objcopy --strip-debug to reduce size.
Chill Guys Clicker
Author: amorapotter    Time: 6 day before
The actual files installed to /boot are typically vmlinuz (compressed kernel), System.map, and initramfs, which are much smaller. However, even these might exceed your 232MB free space if /boot already has old kernels or large files.
sprunki retake




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1