zstd compressed nvidia drivers not included in initramfs

Bug #2037400 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-535 (Ubuntu)
New
Undecided
Unassigned
Mantic
New
Undecided
Unassigned

Bug Description

/usr/share/initramfs-tools/hooks/framebuffer-nvidia looks only for *.ko modules:

```
copy_modules_dir_filter()
{
    [...]
    for kmod in $(find "${MODULESDIR}/${dir}" ${exclude:-} -name "$pattern*.ko" -print); do
        manual_add_modules $(basename ${kmod} .ko)
    done
}
```

But the kernel modules are zstd compressed on mantic:

```
# ls /lib/modules/6.5.0-5-generic/updates/dkms/ -1
nvidia-drm.ko.zst
nvidia-modeset.ko.zst
nvidia-peermem.ko.zst
nvidia-uvm.ko.zst
nvidia.ko.zst
```

Benjamin Drung (bdrung)
summary: - nvidia drivers not included in initramfs
+ zstd compressed nvidia drivers not included in initramfs
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

does it work with lrm (aka the default configuration)?

Changed in nvidia-graphics-drivers-535 (Ubuntu Mantic):
importance: Critical → Undecided
Revision history for this message
Benjamin Drung (bdrung) wrote :

lrm? I am using a minimal schroot environment with all default settings.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

@bdrung please install drivers using ubuntu-drivers.

Revision history for this message
Benjamin Drung (bdrung) wrote :

I have no nvidia hardware. I was trying to install nvidia-graphics-drivers-535 in a chroot to measure the generated initramfs size.

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.