Skip to contentSkip to conversation

XZ in-kernel module decompression

DISCUSSION Marco d'Itri 1 participant 1 message Aug 29, 2023

lore
Share & tools
lore
#0 lore raw

I have packaged for Debian a current snapshot of kmod, and a couple of users that use XZ-compressed modules with custom kernels reported that now modules loading fail with "decompression failed with status 6". Status 6 is XZ_OPTIONS_ERROR, which I understand means "Input was encoded with settings that are not supported by this XZ decoder".

One of the users reported that everything works fine after switching from xz to zstd.

Debian kernels do not enable CONFIG_MODULE_DECOMPRESS (should they?), so this new feature has very limited exposure to our users.

Does anybody understand what is wrong here?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050582
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050586

Signature · 2 lines
ciao,
Marco