Linux Modules
 help / color / mirror / Atom feed
* Unbootable system with kmod-31
@ 2023-10-03 20:55 Kris Karas (Bug Reporting)
  2023-10-03 21:08 ` Marco d'Itri
  0 siblings, 1 reply; 5+ messages in thread
From: Kris Karas (Bug Reporting) @ 2023-10-03 20:55 UTC (permalink / raw)
  To: linux-modules

[ Resend due to HTML not making it through ]

Hello Lucas, et al,

I upgraded from kmod-30 to kmod-31, and could not boot due to an
inability to load any module.  Any invocation of insmod bombs with,
"decompression failed with status 6".  I strace'd the issue to the
call to finit_module().  In kmod 30, the call to init_module()
works fine.

All modules are xz-compressed, for which support is present in the
kernel (using mainline kernel 6.5 here).

     CONFIG_HAVE_KERNEL_XZ=y
     CONFIG_KERNEL_XZ=y
     CONFIG_MODULE_COMPRESS_XZ=y
     CONFIG_FW_LOADER_COMPRESS_XZ=y
     CONFIG_XZ_DEC=y

However, on a whim, I tried "make nconfig", searched for any
kernel config options containing "XZ", and at the top of the list:

     # CONFIG_DECOMPRESS_XZ is not set

That appears to be an automatically-set option triggered by the
presence of initrd; but:

     # CONFIG_BLK_DEV_INITRD is not set

I don't know if (de)compression on an initrd is related to same
on a module, but it was the only thing I could find where XZ was
not =Y.

Kris


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-04  2:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-03 20:55 Unbootable system with kmod-31 Kris Karas (Bug Reporting)
2023-10-03 21:08 ` Marco d'Itri
2023-10-03 23:37   ` Lucas De Marchi
2023-10-04  1:02     ` Kris Karas (Bug Reporting)
2023-10-04  2:44       ` Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox