[Pkg-zfsonlinux-devel] Bug#981212: zfs-dkms: Unable to build zfs with rt kernel

Thomas Groman tgroman at nuegia.net
Mon Aug 15 11:03:42 BST 2022


Package: zfs-dkms
Version: 2.1.5-1~bpo11+1
Severity: normal

Dear Maintainer,

I was trying to install a realtime kernel to hopefully fix some pipewire issues but 
could not because zfs-dkms, which I use for my root filesystem fails to build the 
module with the following error:
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.18.0-0.bpo.1-rt-amd64:Error!  The /var/lib/dkms/zfs/2.1.5/5.18.0-0.bpo.1-rt-amd64/x86_64/dkms.conf for module zfs includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.

I tried installing the stable rt kernel and the backported rt kernel. Both 
have the same problem.
This means that people dealing with audio on debian based systems can not 
use ZFS. I expected to be able to install a rt kernel with zfs no problem.

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (chimaera)
Release:	4
Codename:	chimaera
Architecture: x86_64

Kernel: Linux 5.10.0-16-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.77
ii  dkms                   2.8.4-3
ii  file                   1:5.39-3
ii  libc6-dev [libc-dev]   2.31-13+deb11u3
ii  libpython3-stdlib      3.9.2-3
ii  lsb-release            11.1.0
ii  perl                   5.32.1-4+deb11u2
ii  python3-distutils      3.9.2-1

Versions of packages zfs-dkms recommends:
ii  linux-libc-dev  5.10.127-1
ii  zfs-zed         2.1.5-1~bpo11+1
ii  zfsutils-linux  2.1.5-1~bpo11+1

Versions of packages zfs-dkms suggests:
ii  debhelper  13.3.4

-- debconf information:
  zfs-dkms/stop-build-for-32bit-kernel: true
  zfs-dkms/stop-build-for-unknown-kernel: true
* zfs-dkms/note-incompatible-licenses:



More information about the Pkg-zfsonlinux-devel mailing list