Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Please build linux kernel with CONFIG_MODULE_COMPRESS_ZSTD

オープン 初心者向け
#62,317 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
linux

調査の方向性

linux-6.18_1 と linux6.18-6.18.48_1 のパッケージ設定から始め、/boot/config-6.18.48_1 および要求された CONFIG_MODULE_COMPRESS_ZSTD 設定と比較します。test/test.sh void:latest 15 を実行し、BusyBox modprobe が zstd 圧縮された ext4 モジュールを無効なモジュール形式エラーなしで読み込めた時点で作業完了とします。

索引モデルが issue の本文から書いたものです。

説明

bug needs-testing
Is this a new report?

Yes

System Info

Void 7.0.0-30-generic x86_64 GenuineIntel notuptodate r

Package(s) Affected

linux-6.18_1 linux6.18-6.18.48_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Loading kernel modules with busybox's modprobe should work.

Please build linux kernel with CONFIG_MODULE_COMPRESS_ZSTD to let the kernel read the zstd compressed kernel modules.

# grep ZST /boot/config-6.18.48_1 
CONFIG_HAVE_KERNEL_ZSTD=y
# CONFIG_KERNEL_ZSTD is not set
CONFIG_RD_ZSTD=y
# CONFIG_MODULE_COMPRESS_ZSTD is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD is not set
CONFIG_FW_LOADER_COMPRESS_ZSTD=y
CONFIG_ZRAM_BACKEND_ZSTD=y
# CONFIG_ZRAM_DEF_COMP_ZSTD is not set
CONFIG_F2FS_FS_ZSTD=y
CONFIG_SQUASHFS_ZSTD=y
# CONFIG_EROFS_FS_ZIP_ZSTD is not set
CONFIG_CRYPTO_ZSTD=y
CONFIG_ZSTD_COMMON=y
CONFIG_ZSTD_COMPRESS=y
CONFIG_ZSTD_DECOMPRESS=y
CONFIG_DECOMPRESS_ZSTD=y
# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set
Actual behaviour

Loading kernel modules with busybox's modprobe fails because modprobe does not have zstd support:

# busybox modprobe ext4
[    7.470059] Invalid ELF header magic: != ELF
[    7.470729] Invalid ELF header magic: != ELF
modprobe: 'kernel/fs/ext4/ext4.ko.zst': invalid module format
Steps to reproduce

Run the busybox test on void: https://github.com/dracut-ng/dracut/pull/2697

test/test.sh void:latest 15
主要言語
Shell
スター
3.4k
フォーク
2.8k
平均マージ
1日 21時間
マージ済み PR(30日)
323

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

void-linux/void-packages のほかの issue

void-linux/void-packages の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。