kernel modules "zstd" and "z3fold" missing.

Bug #1977764 reported by Dominic Parry
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Seeds
Fix Committed
Undecided
Dave Jones
ubuntu-settings (Ubuntu)
Fix Released
Undecided
Dave Jones
Jammy
Confirmed
Undecided
Dave Jones
Kinetic
Fix Released
Undecided
Dave Jones

Bug Description

The modules "zstd" and "z3fold" are missing despite being configured for zswap in "/boot/firmware/cmdline.txt." Messages appear on boot display that state they do not exist and so instead use compressor "lzo" and pool "zbud".

Ubuntu version is 22.04 LTS flashed from the official image.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-1008-raspi 5.15.0-1008.8
ProcVersionSignature: Ubuntu 5.15.0-1008.8-raspi 5.15.30
Uname: Linux 5.15.0-1008-raspi aarch64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: arm64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 6 17:29:00 2022
ImageMediaBuild: 20220419
SourcePackage: linux-raspi
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Dominic Parry (nothingconspicuous) wrote :
Juerg Haefliger (juergh)
tags: added: kern-3474
Revision history for this message
Dave Jones (waveform) wrote :

Doh -- that one's my fault; included it in the kernel command line and completely forgot to include a patch in ubuntu-raspi-settings to add it to the set of modules for initramfs-tools to include in the initrd.

The workaround for now:

$ sudo -i
# echo zstd >> /etc/initramfs-tools/modules
# echo z3fold >> /etc/initramfs-tools/modules
# update-initramfs -u

I'll try and get this added to ubuntu-raspi-settings shortly.

Changed in initramfs-tools (Ubuntu Kinetic):
assignee: nobody → Dave Jones (waveform)
Changed in initramfs-tools (Ubuntu Jammy):
assignee: nobody → Dave Jones (waveform)
no longer affects: initramfs-tools (Ubuntu)
no longer affects: initramfs-tools (Ubuntu Kinetic)
no longer affects: initramfs-tools (Ubuntu Jammy)
Changed in ubuntu-settings (Ubuntu Jammy):
assignee: nobody → Dave Jones (waveform)
Changed in ubuntu-settings (Ubuntu Kinetic):
assignee: nobody → Dave Jones (waveform)
Revision history for this message
Dominic Parry (nothingconspicuous) wrote :

Ok, thanks for the fast reply. Hope you have a good day :D

Revision history for this message
Dave Jones (waveform) wrote :

Oh, now I remember why this one was more complicated: it's for the pi *desktop specifically*. Can't add this to ubuntu-raspi-settings directly as that'll pull in zstd, z3fold, and all the zswap stuff on the server images too, which increases the memory burden on the minimal Zero 2 and 3A+ platforms.

So (for my own notes): this requires the creation of a new ubuntu-raspi-settings-desktop package (src:ubuntu-settings) and the addition of that package to the desktop-raspi seed in the ubuntu seed repo.

Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu Jammy):
status: New → Invalid
Changed in linux-raspi (Ubuntu Kinetic):
status: New → Invalid
Dave Jones (waveform)
Changed in ubuntu-seeds:
assignee: nobody → Dave Jones (waveform)
Revision history for this message
Dave Jones (waveform) wrote :

Attaching debdiff for ubuntu-settings. This adds the ubuntu-raspi-settings-desktop binary package which includes the necessary initramfs-tools configuration to include the missing modules. In addition to this, I'll file a merge proposal for the necessary seed to include this package in the Ubuntu Pi desktop image(s).

Revision history for this message
Dave Jones (waveform) wrote :

To sponsors: let me know if the ubuntu-raspi-settings-desktop name is not desirable; I'm happy to adjust this to (for example) ubuntu-desktop-raspi-settings but it'll need adjusting in both this debdiff, and in the MP for the corresponding seed.

no longer affects: linux-raspi (Ubuntu)
Mathew Hodson (mhodson)
no longer affects: linux-raspi (Ubuntu Kinetic)
no longer affects: linux-raspi (Ubuntu Jammy)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-settings - 22.10.1

---------------
ubuntu-settings (22.10.1) kinetic; urgency=medium

  * Add ubuntu-raspi-settings-desktop package, adding z3fold and zstd modules
    to the Ubuntu Desktop on Raspberry Pi (LP: #1977764)
  * Add ubuntu-raspi-settings-server package, adding 99-fake-cloud.cfg
    to the Ubuntu Server on Raspberry Pi (LP: #1989807)
  * Moved network-manager and polkit settings (which are desktop-specific)
    from ubuntu-raspi-settings to ubuntu-raspi-settings-desktop
  * Bump standards version to current (4.6.0.1)

 -- Dave Jones <email address hidden> Wed, 20 Jul 2022 11:55:13 +0100

Changed in ubuntu-settings (Ubuntu Kinetic):
status: New → Fix Released
Dave Jones (waveform)
Changed in ubuntu-seeds:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-settings (Ubuntu Jammy):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.