kernel cannot find lz4hc and z3fold modules on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
New
|
Undecided
|
Unassigned | ||
linux-signed-hwe-6.2 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux-signed-hwe-6.5 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've been using zswap without any issues for a while, but fairly recently (can't be certain when) the kernel became unable to find the modules for lz4hc compression and the z3fold zpool.
$ egrep 'lz4hc|z3fold' /var/log/syslog
Jan 25 06:35:11 vps-5d014c2f systemd-
Jan 25 06:35:11 vps-5d014c2f systemd-
Jan 25 06:35:11 vps-5d014c2f kernel: [ 0.000000] Command line: BOOT_IMAGE=
Jan 25 06:35:11 vps-5d014c2f kernel: [ 0.020859] Kernel command line: BOOT_IMAGE=
Jan 25 06:35:11 vps-5d014c2f kernel: [ 1.128588] zswap: compressor lz4hc not available, using default lzo
Jan 25 06:35:11 vps-5d014c2f kernel: [ 1.130368] zswap: zpool z3fold not available, using default zbud
But the modules are in the initrd (as they always have been):
$ lsinitramfs /boot/initrd.img | grep -E 'lz4hc|z3fold'
usr/lib/
usr/lib/
usr/lib/
I'm at a complete loss. If the modules are there, why can't the kernel find them?
Both modules can be loaded (obviously from a different location – not the initrd) and the relevant parameters changed with startup scripts but this is a workaround not a solution.
From: https:/
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.2.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CloudArchitecture: x86_64
CloudID: openstack
CloudName: openstack
CloudPlatform: openstack
CloudSubPlatform: metadata (http://
Date: Sun Dec 10 11:22:41 2023
Ec2AMI: ami-0008be8e
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: vps2020-
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-
UpgradeStatus: Upgraded to jammy on 2022-08-15 (482 days ago)
New kernel, no change.