🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
1 messages
1 total messages Started by Craig Sanders Mon, 09 Nov 2026 06:10
Bug#1151447: zfs-dkms: module fails to build for Linux 7.3
#2696
Author: Craig Sanders
Date: Mon, 09 Nov 2026 06:10
50 lines
3457 bytes
Some relevant links for those waiting on this:

https://github.com/openzfs/zfs/issues/19032
https://github.com/openzfs/zfs/pull/19044
https://github.com/openzfs/zfs/pull/19082
https://github.com/openzfs/zfs/pull/19553

In short: the fix for this is already in zfs-2.4.5-staging and should be in
the 2.4.5 release "soon".

No doubt the zfs-dkms package will be updated shortly after that.

As usual whenever a kernel upgrade breaks compatibility with zfs (or any other
dkms modules), patience is required.

Revert to kernel 7.2.x and put linux-base-amd64, linux-image-amd64, and
linux-headers-amd64 on hold with `apt-mark`:

    apt-mark hold linux-base-amd64 linux-image-amd64 linux-headers-amd64

These three packages should *always* be held if you have any dkms packages
or other out-of-tree kernel modules until you know for a fact that the next
kernel is compatible with your non-standard modules.

NEVER upgrade the kernel unless you know that, and When you do know it,
upgrade the kernel and remember to hold these packages again.


I wrote the following script "upgrade-kernel.sh" to automate this:

```
#!/bin/bash

pkgs=(linux-base-amd64 linux-image-amd64 linux-headers-amd64)

time apt-get "$@" -u install "${pkgs[@]}"

apt-mark hold "${pkgs[@]}"

update-dlocatedb
apt-mark manual $(dlocate -k | grep -v linux-doc)
```

The last two lines require the dlocate package to be installed.  They
aren't essential, but are useful.  They prevent old kernels from being
auto-uninstalled when there are no packages that depend on them....which is
exactly what happens when the linux-image-amd64 gets updated, they no longer
depend on the old kernel packages.

craig
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads