Skip to content

Please build linux kernel with CONFIG_MODULE_COMPRESS_ZSTD #62317

Description

@bdrung

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: dracut-ng/dracut#2697

test/test.sh void:latest 15

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions