Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] CONFIG_NETFILTER_XT_MATCH_COMMENT not set

19

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
19

【Linux】 CONFIG_NETFILTER_XT_MATCH_COMMENT not set

Posted at 9/5/2022 11:11:17      View:3065 | Replies:7        Print      Only Author   [Copy Link] 1#
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?
Reply

Use props Report

19

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
19
Posted at 9/5/2022 11:17:33        Only Author  2#
I'm using linux-5.10.66.tar.gz download from kernel.org, maybe I should use sdk provided by firefly?
Reply

Use props Report

19

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
19
Posted at 9/5/2022 14:47:34        Only Author  3#
# strip ./vmlinux solved this problem
Reply

Use props Report

16

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
16
Posted at 8/22/2024 12:26:45        Only Author  4#
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.
Reply

Use props Report

22

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
22
Posted at 1/13/2025 15:06:54        Only Author  5#
Building unnecessary kernel Worldle features directly into the kernel increases its size.
Reply

Use props Report

18

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
18
Posted at 2/11/2025 09:44:10        Only Author  6#
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.)
Reply

Use props Report

16

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
16
Posted at 2/26/2025 11:23:21        Only Author  7#
Enable kernel compression (gzip/xz), remove unnecessary modules via menuconfig, or use objcopy --strip-debug to reduce size.
Chill Guys Clicker
Reply

Use props Report

16

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
16
Posted at 4 day before        Only Author  8#
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
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list