Debian Bug report logs -
#1050582
kmod does not work with XZ in-kernel module decompression
Reported by: antonio <antdev66@gmail.com>
Date: Sat, 26 Aug 2023 15:03:01 UTC
Severity: grave
Merged with 1050586
Found in versions kmod/30+20230601-1, kmod/30+20230519-1
Done: Marco d'Itri <md@Linux.IT>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, antdev66@gmail.com, Marco d'Itri <md@linux.it>:
Bug#1050582; Package kmod.
(Sat, 26 Aug 2023 15:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to antonio <antdev66@gmail.com>:
New Bug report received and forwarded. Copy sent to antdev66@gmail.com, Marco d'Itri <md@linux.it>.
(Sat, 26 Aug 2023 15:03:10 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: kmod
Version: 30+20230519-1
Severity: normal
X-Debbugs-Cc: antdev66@gmail.com
Dear Maintainer,
updating "kmod" and "libkmod2:amd64" 30+20230519-1 -> 30+20230601-1 a series of
errors return during the boot process which is not completed.
I attach photo.
Thanks,
Antonio
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (700, 'unstable'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.4.12-1-liquorix-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages kmod depends on:
ii libc6 2.37-7
ii libkmod2 30+20230519-1
ii liblzma5 5.4.1-0.2
ii libssl3 3.0.10-1
ii libzstd1 1.5.5+dfsg2-1
kmod recommends no packages.
kmod suggests no packages.
-- no debconf information
[IMG20230826164930.jpg (image/jpeg, attachment)]
Severity set to 'grave' from 'normal'
Request was from Marco d'Itri <md@linux.it>
to control@bugs.debian.org.
(Sat, 26 Aug 2023 17:27:03 GMT) (full text, mbox, link).
Marked as found in versions kmod/30+20230601-1.
Request was from Marco d'Itri <md@linux.it>
to control@bugs.debian.org.
(Sat, 26 Aug 2023 17:27:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#1050582; Package kmod.
(Sat, 26 Aug 2023 18:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Marco d'Itri <md@Linux.IT>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>.
(Sat, 26 Aug 2023 18:03:05 GMT) (full text, mbox, link).
Message #16 received at 1050582@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Aug 26, antonio <antdev66@gmail.com> wrote:
> Kernel: Linux 6.4.12-1-liquorix-amd64 (SMP w/24 CPU threads; PREEMPT)
I see that you are using a custom kernel. What is the status of the
CONFIG_MODULE_COMPRESS_* kernel configuration options?
--
ciao,
Marco
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#1050582; Package kmod.
(Sat, 26 Aug 2023 18:24:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Antonio <antdev66@gmail.com>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>.
(Sat, 26 Aug 2023 18:24:02 GMT) (full text, mbox, link).
Message #21 received at 1050582@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Found this:
# CONFIG_MODULE_COMPRESS_NONE is not set
# CONFIG_MODULE_COMPRESS_GZIP is not set
CONFIG_MODULE_COMPRESS_XZ=y
# CONFIG_MODULE_COMPRESS_ZSTD is not set
Il 26/08/23 19:57, Marco d'Itri ha scritto:
> On Aug 26, antonio<antdev66@gmail.com> wrote:
>
>> Kernel: Linux 6.4.12-1-liquorix-amd64 (SMP w/24 CPU threads; PREEMPT)
> I see that you are using a custom kernel. What is the status of the
> CONFIG_MODULE_COMPRESS_* kernel configuration options?
>
[Message part 2 (text/html, inline)]
Changed Bug title to 'kmod is broken with custom kernels with CONFIG_MODULE_COMPRESS_*=y' from 'kmod update corrupts systemd uefi boot'.
Request was from Marco d'Itri <md@linux.it>
to control@bugs.debian.org.
(Sat, 26 Aug 2023 21:27:04 GMT) (full text, mbox, link).
Changed Bug title to 'kmod does not work with XZ in-kernel module decompression' from 'kmod is broken with custom kernels with CONFIG_MODULE_COMPRESS_*=y'.
Request was from Marco d'Itri <md@linux.it>
to 1050586-submit@bugs.debian.org.
(Sun, 27 Aug 2023 10:45:10 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#1050582; Package kmod.
(Fri, 15 Sep 2023 12:24:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Nybo Andersen <tweek@tweek.dk>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>.
(Fri, 15 Sep 2023 12:24:05 GMT) (full text, mbox, link).
Message #30 received at 1050582@bugs.debian.org (full text, mbox, reply):
Hi,
The problem is, that kmod has switched to using the kernel decompressor
when available, which is XZ Embedded. This version doesn't handle CRC64
and dictionaries larger than 1 MiB.
You can fix it by compressing the modules with `xz --check=crc32 --lzma2=dict=1MiB module.ko`
This can easily be done by applying the following patch to your kernel git
repository:
https://lore.kernel.org/all/3d34a965-ab9c-d549-0c63-c717ab5d2edc@tweek.dk/
Afterwards `make modules_install` will compress and install the modules
correctly.
Best regards,
Martin Nybo Andersen
Reply sent
to Marco d'Itri <md@Linux.IT>:
You have taken responsibility.
(Sun, 24 Sep 2023 21:42:03 GMT) (full text, mbox, link).
Notification sent
to antonio <antdev66@gmail.com>:
Bug acknowledged by developer.
(Sun, 24 Sep 2023 21:42:09 GMT) (full text, mbox, link).
Message #35 received at 1050582-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sep 15, Martin Nybo Andersen <tweek@tweek.dk> wrote:
> The problem is, that kmod has switched to using the kernel decompressor when
> available, which is XZ Embedded. This version doesn't handle CRC64 and
> dictionaries larger than 1 MiB.
Thank you a lot for the detailed explanation.
Since this is not a kmod bug and Debian does not ship compressed modules
I will close the bug.
--
ciao,
Marco
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Marco d'Itri <md@Linux.IT>:
You have taken responsibility.
(Sun, 24 Sep 2023 21:42:16 GMT) (full text, mbox, link).
Notification sent
to Jon Westgate <0ryn@fsck.tv>:
Bug acknowledged by developer.
(Sun, 24 Sep 2023 21:42:16 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 23 Oct 2023 07:28:51 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:
Mon Jul 15 22:08:15 2024;
Machine Name:
buxtehude
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.