Debian Bug report logs - #772628
kmod: support gzip and xz compression in kmod

version graph

Package: kmod; Maintainer for kmod is Marco d'Itri <md@linux.it>; Source for kmod is src:kmod (PTS, buildd, popcon).

Reported by: AP <ap@zip.com.au>

Date: Tue, 9 Dec 2014 10:27:01 UTC

Severity: wishlist

Found in version kmod/18-3

Fixed in version kmod/25-1

Done: Marco d'Itri <md@linux.it>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Tue, 09 Dec 2014 10:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to AP <ap@zip.com.au>:
New Bug report received and forwarded. Copy sent to Marco d'Itri <md@linux.it>. (Tue, 09 Dec 2014 10:27:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: AP <ap@zip.com.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kmod: support gzip and xz compression in kmod
Date: Tue, 09 Dec 2014 20:56:13 +1100
Package: kmod
Version: 18-3
Severity: wishlist

Hi,

   * What led up to the situation?

Linux 3.18.0 comes with native support for xz compressed modules. I like rolling
my own kernels and I need to use modules for some things. Compression allows me
to drop the size of a kernel's modules dir by 2/3rds. This is nice as I like to
have a few fallback kernels around, just in case.

Also nice for Debian released kernels as the modules for that wind up being huge
on-disk.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

depmod -a

   * What was the outcome of this action?

No module dependency lists generated.

   * What outcome did you expect instead?

Module dependency list to be generated and xz compressed modules able to be used.

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0-wb.20141209-011018 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kmod depends on:
ii  libc6     2.19-13
ii  libkmod2  18-3
ii  lsb-base  4.1+Debian13+nmu1

kmod recommends no packages.

kmod suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Sun, 14 Dec 2014 23:21:09 GMT) (full text, mbox, link).


Acknowledgement sent to Tomas Janousek <tomi@nomi.cz>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sun, 14 Dec 2014 23:21:09 GMT) (full text, mbox, link).


Message #10 received at 772628@bugs.debian.org (full text, mbox, reply):

From: Tomas Janousek <tomi@nomi.cz>
To: 772628@bugs.debian.org
Subject: Patch for kmod package to support compression
Date: Mon, 15 Dec 2014 00:06:28 +0100
[Message part 1 (text/plain, inline)]
Hi,

I'm attaching a patch for the Debian package which enables building with xz/zlib.

-- 
Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/
[0001-enable-compression.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Mon, 15 Dec 2014 02:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Mon, 15 Dec 2014 02:33:05 GMT) (full text, mbox, link).


Message #15 received at 772628@bugs.debian.org (full text, mbox, reply):

From: md@Linux.IT (Marco d'Itri)
To: Tomas Janousek <tomi@nomi.cz>, 772628@bugs.debian.org
Subject: Re: Bug#772628: Patch for kmod package to support compression
Date: Mon, 15 Dec 2014 02:45:21 +0100
[Message part 1 (text/plain, inline)]
On Dec 15, Tomas Janousek <tomi@nomi.cz> wrote:

> I'm attaching a patch for the Debian package which enables building 
> with xz/zlib.
Why enable support for both?

-- 
ciao,
Marco
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Mon, 15 Dec 2014 13:18:07 GMT) (full text, mbox, link).


Acknowledgement sent to Tomas Janousek <tomi@nomi.cz>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Mon, 15 Dec 2014 13:18:07 GMT) (full text, mbox, link).


Message #20 received at 772628@bugs.debian.org (full text, mbox, reply):

From: Tomas Janousek <tomi@nomi.cz>
To: Marco d'Itri <md@Linux.IT>
Cc: 772628@bugs.debian.org
Subject: Re: Bug#772628: Patch for kmod package to support compression
Date: Mon, 15 Dec 2014 14:14:43 +0100
Hi,

On Mon, Dec 15, 2014 at 02:45:21AM +0100, Marco d'Itri wrote:
> On Dec 15, Tomas Janousek <tomi@nomi.cz> wrote:
> > I'm attaching a patch for the Debian package which enables building 
> > with xz/zlib.
>
> Why enable support for both?

Because we don't know what the users will use.

I used xz as I don't mind waiting a bit when doing make -j4 modules_install
and want to save as much space as possible, but I can very well imagine that
gzip would be a good compromise between speed and compression ratio for many
people.

-- 
Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/



Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Sat, 28 Feb 2015 12:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Zephaniah E. Loss-Cutler-Hull" <warp@aehallh.com>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sat, 28 Feb 2015 12:09:04 GMT) (full text, mbox, link).


Message #25 received at 772628@bugs.debian.org (full text, mbox, reply):

From: "Zephaniah E. Loss-Cutler-Hull" <warp@aehallh.com>
To: 772628@bugs.debian.org
Subject: Re: Bug#772628: Patch for kmod package to support compression
Date: Sat, 28 Feb 2015 05:59:46 -0600
[Message part 1 (text/plain, inline)]
I can confirm that the patch works here, and that I need it as well.

Is there anything blocking this being applied that I could help with?

Regards,
Zephaniah E. Loss-Cutler-Hull.

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Sun, 01 Mar 2015 18:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sun, 01 Mar 2015 18:33:05 GMT) (full text, mbox, link).


Message #30 received at 772628@bugs.debian.org (full text, mbox, reply):

From: md@Linux.IT (Marco d'Itri)
To: "Zephaniah E. Loss-Cutler-Hull" <warp@aehallh.com>, 772628@bugs.debian.org
Subject: Re: Bug#772628: Patch for kmod package to support compression
Date: Sun, 1 Mar 2015 18:30:12 +0100
[Message part 1 (text/plain, inline)]
On Feb 28, "Zephaniah E. Loss-Cutler-Hull" <warp@aehallh.com> wrote:

> Is there anything blocking this being applied that I could help with?
I just do not seen a big use case for enabling this feature.

-- 
ciao,
Marco
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Sun, 01 Mar 2015 20:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Zephaniah E. Loss-Cutler-Hull" <warp@aehallh.com>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sun, 01 Mar 2015 20:42:05 GMT) (full text, mbox, link).


Message #35 received at 772628@bugs.debian.org (full text, mbox, reply):

From: "Zephaniah E. Loss-Cutler-Hull" <warp@aehallh.com>
To: Marco d'Itri <md@Linux.IT>, 772628@bugs.debian.org
Subject: Re: Bug#772628: Patch for kmod package to support compression
Date: Sun, 01 Mar 2015 14:39:39 -0600
[Message part 1 (text/plain, inline)]
On 03/01/2015 11:30 AM, Marco d'Itri wrote:
> On Feb 28, "Zephaniah E. Loss-Cutler-Hull" <warp@aehallh.com> wrote:
>
>> Is there anything blocking this being applied that I could help with?
> I just do not seen a big use case for enabling this feature.
>
Well, enabling an option to compress things and then finding out that
kernel module loading is broken isn't exactly fun.

Can we get a big warning in the description (or at least the readme)
that CONFIG_MODULE_COMPRESS must not be enabled, despite the kernel
option description stating that kmod supports this?

Regards,
Zephaniah E. Loss-Cutler-Hull.

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Thu, 04 Jun 2015 21:30:07 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Mohr <andi@lisas.de>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Thu, 04 Jun 2015 21:30:07 GMT) (full text, mbox, link).


Message #40 received at 772628@bugs.debian.org (full text, mbox, reply):

From: Andreas Mohr <andi@lisas.de>
To: 772628@bugs.debian.org
Subject: Re: Bug#772628: Patch for kmod package to support compression
Date: Thu, 4 Jun 2015 23:15:41 +0200
Since I managed to mess up things
by telling my own new story
rather than having stumbled upon
this detailed pre-existing item
(via proper research, that is...),
I now see it as my duty to at least reference
the new discussion's URL here:
"[PATCH] modules: CONFIG_MODULE_COMPRESS: add hint that userspace support may easily be missing." https://lkml.org/lkml/2015/5/31/90


Given current direction / results of that discussion,
I'd want to vote
for gaining at least *some* amount of compression support
directly in Debian binary package defaults.

Thanks,

Andreas Mohr



Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Sat, 15 Aug 2015 00:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Tong Zhang <ztong@vt.edu>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sat, 15 Aug 2015 00:27:03 GMT) (full text, mbox, link).


Message #45 received at 772628@bugs.debian.org (full text, mbox, reply):

From: Tong Zhang <ztong@vt.edu>
To: 772628@bugs.debian.org
Subject: Re: Bug#772628: Patch for kmod package to support compression
Date: Fri, 14 Aug 2015 19:30:30 -0400
I am running linux on an embedded system with 2GB flash drive. Kernel 
modules installed on this system are gzip format. But I found that kmod 
shipped with debian does not support .ko.gz format yet. I have to 
recompile kmod to make it work.



Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Tue, 26 Jan 2016 10:27:08 GMT) (full text, mbox, link).


Acknowledgement sent to debian@oss.m-berberich.de:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Tue, 26 Jan 2016 10:27:08 GMT) (full text, mbox, link).


Message #50 received at 772628@bugs.debian.org (full text, mbox, reply):

From: debian@oss.m-berberich.de
To: 772628@bugs.debian.org
Subject: Re: Bug#772628: Patch for kmod package to support compression
Date: Tue, 26 Jan 2016 11:24:06 +0100
Problem still exists with kmod_22-1.




Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Sat, 07 May 2016 19:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Stijn Segers <francesco.borromini@protonmail.com>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sat, 07 May 2016 19:30:04 GMT) (full text, mbox, link).


Message #55 received at 772628@bugs.debian.org (full text, mbox, reply):

From: Stijn Segers <francesco.borromini@protonmail.com>
To: 772628@bugs.debian.org
Subject: Similar issue
Date: Sat, 07 May 2016 15:18:34 -0400
[Message part 1 (text/plain, inline)]
I have been bitten by this too; I run Debian on a Beaglebone Black with 2 GB eMMC storage; it would be really near if I could save some space by using compressed modules.

In light of all the ARM and other non-x86 devices Debian supports nowadays this is a valid issue. Since implementing support is pretty trivial I don't see why this is being ignored.

Thanks for making this happen!

Stijn
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#772628; Package kmod. (Wed, 30 Aug 2017 19:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Josua Mayer <josua.mayer97@gmail.com>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Wed, 30 Aug 2017 19:51:06 GMT) (full text, mbox, link).


Message #60 received at 772628@bugs.debian.org (full text, mbox, reply):

From: Josua Mayer <josua.mayer97@gmail.com>
To: 772628@bugs.debian.org
Subject: Use-Case
Date: Wed, 30 Aug 2017 21:48:43 +0200
Hi everyone,

I have once more come across this issue and would like to share with you
why I think this feature should be enabled:

I have several devices with small flash storage: Openmoko GTA02,
Goldelico GTA04, Beaglebone
and quite a few slow SD-Cards class-10, and devices that can't do UHS-1:
Cubox, Cubox-i, RaspberryPi

The first group would benefit by requiring less disk space for the
Kernel. That is either a custom kernel where the vendor enables
comrpessed modules, or in the future the Debian Kernel if maintainers
can be persuaded to enable that feature (which obviously depends on this
very issue).

The second group will benefit from faster updates of kernels (with such
compression enabled).

Maintainers, please reconsider enabling this feature.

Yours sincerely
Josua Mayer




Reply sent to Marco d'Itri <md@linux.it>:
You have taken responsibility. (Sun, 21 Jan 2018 00:39:03 GMT) (full text, mbox, link).


Notification sent to AP <ap@zip.com.au>:
Bug acknowledged by developer. (Sun, 21 Jan 2018 00:39:03 GMT) (full text, mbox, link).


Message #65 received at 772628-close@bugs.debian.org (full text, mbox, reply):

From: Marco d'Itri <md@linux.it>
To: 772628-close@bugs.debian.org
Subject: Bug#772628: fixed in kmod 25-1
Date: Sun, 21 Jan 2018 00:36:22 +0000
Source: kmod
Source-Version: 25-1

We believe that the bug you reported is fixed in the latest version of
kmod, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 772628@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <md@linux.it> (supplier of updated kmod package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 21 Jan 2018 01:02:46 +0100
Source: kmod
Binary: kmod libkmod2 libkmod-dev libkmod2-udeb
Architecture: source amd64
Version: 25-1
Distribution: unstable
Urgency: medium
Maintainer: Marco d'Itri <md@linux.it>
Changed-By: Marco d'Itri <md@linux.it>
Description:
 kmod       - tools for managing Linux kernel modules
 libkmod-dev - libkmod development files
 libkmod2   - libkmod shared library
 libkmod2-udeb - libkmod shared library (udeb)
Closes: 772628
Changes:
 kmod (25-1) unstable; urgency=medium
 .
   * New upstream release.
   * Enabled support for xz-compressed modules. (Closes: #772628)
Checksums-Sha1:
 c952b1e2712749125952f2943fac45d400eda258 1828 kmod_25-1.dsc
 6510091a6b2cc0c22e8071620f0d5e413031434c 244852 kmod_25.orig.tar.xz
 f0f9d5c9374117371fd3dc35acd97d0a8a3112c7 8504 kmod_25-1.debian.tar.xz
 8f3f1742d93923fbce26db68496fa18a6306108e 194504 kmod-dbgsym_25-1_amd64.deb
 0fe1e7e5e80108581c74b070f85b0190f6a0297b 7877 kmod_25-1_amd64.buildinfo
 265687ccabd39753c3d92dfc0cfd2055ab5be16d 88796 kmod_25-1_amd64.deb
 eb63f374eb8492738872b1f3c82e892818a97a40 22056 libkmod-dev_25-1_amd64.deb
 209a7ce700c9876f5dd20219fcfe4687f29b750e 122288 libkmod2-dbgsym_25-1_amd64.deb
 b515284eeb43892aa1a046b36aea349bb1d993d7 48996 libkmod2-udeb_25-1_amd64.udeb
 1de7b2968a7c6e8359fd48ef754a799d6b91d1a9 50692 libkmod2_25-1_amd64.deb
Checksums-Sha256:
 88481b0095ae8226dcc5de49ad618943c7087e5a2be05f6479f15702cae49e07 1828 kmod_25-1.dsc
 1075b7b1f40f74dcaf02de8d921f15d1e03442f3cb2e5692defcccba6c90f2b7 244852 kmod_25.orig.tar.xz
 c03412832a503fb6d763e93306ea612ac8f5cdd16e35f6c9f1968c0acfa00bc8 8504 kmod_25-1.debian.tar.xz
 8e1d0e6dcb0b3711f49d83bf518e5f5f1c127f1d96c2dab0ca95095d453974cf 194504 kmod-dbgsym_25-1_amd64.deb
 cddadf8acfb4e39452467733e8355d4e48fd959b6518278e5f83ca06edc86fda 7877 kmod_25-1_amd64.buildinfo
 90ad5e8d56e0fd6d5132d24a4bb89cff7d6b0ad34570c91d04d31a31b3ff2281 88796 kmod_25-1_amd64.deb
 a2748edff4b0a40a30186316e5763a0f58ff8082b5e9245a6d6089651c3709eb 22056 libkmod-dev_25-1_amd64.deb
 a84feabaf94fba165f8c82c77a633fa65e3fabba71cb9745d083ca482cacbfb3 122288 libkmod2-dbgsym_25-1_amd64.deb
 7723312fbb5efe78856d47881e6f0404b400cdfb2d8a676416b3f50d90188a51 48996 libkmod2-udeb_25-1_amd64.udeb
 bc848458a3663f4ab2c0a480dde7fd0a05ae8a18025c5c7947ac01d03c8caf24 50692 libkmod2_25-1_amd64.deb
Files:
 040cf8a275d6491c7a8a75f347956f49 1828 admin important kmod_25-1.dsc
 8699224844115d6d42d882b003b2ea9e 244852 admin important kmod_25.orig.tar.xz
 e609cb564f17650f254b1c927c615022 8504 admin important kmod_25-1.debian.tar.xz
 d5b56ddd0f003665b80a977b33b8741b 194504 debug optional kmod-dbgsym_25-1_amd64.deb
 1940aa19f308840c11e017b809cd9d09 7877 admin important kmod_25-1_amd64.buildinfo
 35654336a3e4cdbb48d48ff05934e05d 88796 admin important kmod_25-1_amd64.deb
 384d1e6a772c62ed8684e824012fb284 22056 libdevel optional libkmod-dev_25-1_amd64.deb
 634506919045ca7244a86533064b7a7a 122288 debug optional libkmod2-dbgsym_25-1_amd64.deb
 b001f6e78503f25c65fa7549efef3583 48996 debian-installer important libkmod2-udeb_25-1_amd64.udeb
 1aadc581a1eb08e222a6ec67d2c12846 50692 libs optional libkmod2_25-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEGBsIcS5ipP0URKfyK/WlwSLE96QFAlpj2QMACgkQK/WlwSLE
96Rb/wv/RXWQfaaje13gTAcxYPP8pIx0TDoCQIouZt9bWZhwrCJSPOi7ODw+BI4e
G/b2hiYlUQGsw0x9xlPSLGZpCFwkPssb4ICW+7enmIBifAJNvx/ZA+2dp40SglNk
K20WE5NpBW8l4e9JpqLXn87q5av8YPuwOJ2Q5KcKRqEDpLIuJ3PU1TaneT1uNB2N
aMraJHABfpUwHz2vc2hSUxH9H/qG/pgFpBszwlKxV+M6KOHlE3nV1vogLKely4nc
LJINqic5RDASM237kaHxBNOgraPH/QTRCsUQ24uVJxW+b9gpvyQPX6oVZRpx5plB
JT6duevRF/xid2OpDWMtWfApJLAyVpEe8xW2/s4FMWXelcEr3LgwB8d9UJXc5dGb
81I6rXfdq30zGlgvciuEwc+H8JOY7l16R/IrP+akbp087Kpoc5PV3aUjTH140aYS
+ZvepKjyKKxLRU/lFM3+qp0Zj2yMDob096QJEhGVj/BK6nuZfiRStrjuwR3MJzdu
OZNQEYM9
=BdXS
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 23 Feb 2018 07:26:57 GMT) (full text, mbox, link).


Bug unarchived. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Wed, 25 Jul 2018 08:15:05 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 23 Aug 2018 07:26:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jun 6 08:00:00 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.