#960152 linux-image-5.6.0-1-arm64: Enable compressed modules

Package:
src:linux
Source:
linux
Submitter:
Vagrant Cascadian
Date:
2025-02-20 09:21:04 UTC
Severity:
wishlist
Blocked By:
Bug Title
960149

  6

kmod: Enable support for gzip compressed kernel modules

wishlist stable testing unstable about 4 years ago

#960152#5
Date:
2020-05-09 23:09:10 UTC
From:
To:
The on-disk kernel modules take up a significant amount of the package
installation size, and most modules aren't actively used on any given
system. In debian-installer, the "on-disk" modules take up space in ram
during the installation.

From the linux Makefile:

  # CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
  # after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
  # or CONFIG_MODULE_COMPRESS_XZ.

I'm not sure how to enable it; I don't see it mentioned in any Kconfig
files. It does appear possible to manually compress the individual .ko
files as an alternative method, if that is somehow more flexible.


The kmod utility supports xz compressed modules since version 25-1 (26-1
is present in buster, the current debian stable release). Unfortunately,
gzip isn't supported in kmod yet (patch submitted in #960149).

What other software needs support enabled in order to support on-disk
compressed modules in the linux kernel packages?


live well,
  vagrant

#960152#10
Date:
2020-05-19 16:30:08 UTC
From:
To:
Note that this is not true for the kmod udeb. For that a liblzma5-udeb
package has to be created first.

Aurelien

#960152#21
Date:
2025-02-20 09:19:35 UTC
From:
To:
close 960152 6.12.5-1
thanks