Re: Unbootable system with kmod-31

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 03, 2023 at 09:02:32PM -0400, Kris Karas (Bug Reporting) wrote:
Lucas De Marchi wrote:
On Tue, Oct 03, 2023 at 11:08:29PM +0200, Marco d'Itri wrote:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050586

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

Ah, that does seem the better bug report, as it triages it down to the dictionary size.

Maybe that patch needs to propagate back to 6.5?

If you mean that modules_install doesn't pass the right parameters to /bin/xz, then definitely.  I've reported on bugzilla variously over the years about things "fixed in Linus's tree" that never got queued into Greg KH's tree.

well.. it's bug reports like this that trigger an "oops, we didn't think
it would affect a stable released kernel, we really should".


Perhaps kmod should be updated to only call finit_module() when the kernel_version is >= known good, or when not using xz compression, and use init_module() elsewhere?

checking by version is never ever correct as fixes are backported and
even features if you think about "corporate" distros. We do check by
"does the kernel support decompression and is it the same algo than what
we are expecting?" If the answer is no, then we fallback to
init_module().  But if the kernel tells us it supports something that it
doesn't really, then it's a kernel bug to be fixed, not to be
workarounded by kmod.

thanks
Lucas De Marchi


In any case, I didn't see the Debian bug report earlier.  Using Slackware here with custom-config mainline kernels.

Kris





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux