Article View: linux.debian.bugs.rc
Article #2696Bug#1151447: zfs-dkms: module fails to build for Linux 7.3
From: Craig Sanders
Date: Mon, 09 Nov 2026 06:10
Date: Mon, 09 Nov 2026 06:10
50 lines
3457 bytes
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
Technical Details
Message-ID:
<NXqJP-aLmu-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<NQn4l-6OV2-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Craig Sanders <debbugs@taz.net.au> Newsgroups: linux.debian.bugs.rc Subject: Bug#1151447: zfs-dkms: module fails to build for Linux 7.3 Date: Mon, 09 Nov 2026 07:10:01 +0100 Message-ID: <NXqJP-aLmu-3@gated-at.bofh.it> References: <NQn4l-6OV2-5@gated-at.bofh.it> X-Original-To: 1151447@bugs.debian.org X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Mon Nov 9 06:01:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.65 Reply-To: Craig Sanders <debbugs@taz.net.au>, 1151447@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-zfsonlinux-devel@alioth-lists.debian.net X-Debian-Pr-Message: followup 1151447 X-Debian-Pr-Package: zfs-dkms X-Debian-Pr-Keywords: upstream X-Debian-Pr-Source: zfs-linux MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Greylist: delayed 365 seconds by postgrey-1.37 at buxtehude; Mon, 09 Nov 2026 05:59:11 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837642 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 50 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 9 Nov 2026 16:52:56 +1100 X-Original-Message-ID: <avFfuHKDVMxWT7ES@taz.net.au> X-Original-References: <179252143174.3758632.18253081741427693117.reportbug@caipi>