[Bug 2032674] Re: failed to load large compressed kernel modules in mantic with 6.5
Dan Bungert
2032674 at bugs.launchpad.net
Tue Aug 22 17:02:56 UTC 2023
** Changed in: kmod (Ubuntu Mantic)
Assignee: (unassigned) => Dan Bungert (dbungert)
** Changed in: kmod (Ubuntu Mantic)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2032674
Title:
failed to load large compressed kernel modules in mantic with 6.5
Status in kmod package in Ubuntu:
In Progress
Status in kmod source package in Mantic:
In Progress
Bug description:
[Impact]
Kernel 6.5 in Mantic enabled zstd module compression and at the same
time libkmod is now trying to decompress the modules in-kernel
directly. However the size that can be allocated by the kernel to do
such decompression is limited and some large modules can fail to load
(such as zfs for example).
[Test case]
Install zfs-dkms, then run:
$ modprobe zfs
[Fix]
Fallback to the old user-space module loading way when ENOMEM is
returned by finit_module().
[Regression potential]
We may introduce a small performance regression when loading multiple
modules, due to the in-kernel and user-space attempts to load kernel
modules, however this performance regression is negligible (one
additional syscall when loading large modules) and it allows to
correctly support large compressed kernel modules.
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: kmod 30+20230519-1ubuntu2
ProcVersionSignature: User Name 6.5.0-6.6-generic 6.5.0-rc7
Uname: Linux 6.5.0-6-generic x86_64
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial: 20230822
CloudSubPlatform: config-disk (/dev/vdb)
Date: Tue Aug 22 15:31:34 2023
ProcEnviron:
LANG=C.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: kmod
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/2032674/+subscriptions
More information about the Ubuntu-sponsors
mailing list