Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #67035 > unrolled thread
| Started by | Vagrant Cascadian <vagrant@debian.org> |
|---|---|
| First post | 2020-05-10 01:20 +0200 |
| Last post | 2020-05-19 18:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.kernel
Bug#960152: linux-image-5.6.0-1-arm64: Enable compressed modules Vagrant Cascadian <vagrant@debian.org> - 2020-05-10 01:20 +0200
Bug#960152: linux-image-5.6.0-1-arm64: Enable compressed modules Aurelien Jarno <aurelien@aurel32.net> - 2020-05-19 18:40 +0200
| From | Vagrant Cascadian <vagrant@debian.org> |
|---|---|
| Date | 2020-05-10 01:20 +0200 |
| Subject | Bug#960152: linux-image-5.6.0-1-arm64: Enable compressed modules |
| Message-ID | <A4GVb-7fC-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Package: src:linux Version: 5.6.7-1 Severity: wishlist 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
[toc] | [next] | [standalone]
| From | Aurelien Jarno <aurelien@aurel32.net> |
|---|---|
| Date | 2020-05-19 18:40 +0200 |
| Message-ID | <A8drz-1Nc-1@gated-at.bofh.it> |
| In reply to | #67035 |
[Multipart message — attachments visible in raw view] — view raw
On 2020-05-09 16:09, Vagrant Cascadian wrote: > Package: src:linux > Version: 5.6.7-1 > Severity: wishlist > > 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, Note that this is not true for the kmod udeb. For that a liblzma5-udeb package has to be created first. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web