I have a similar or the same problem:
OS Ubuntu 22.04]
# uname  -a
Linux thor 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov  2 
18:01:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux


# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libvlc5 libimage-magick-perl exo-utils vlc-data libvlccore9 imagemagick
  libslurm37 libjs-jquery-ui libopenexr25 libmagick++-6.q16-8 python3-scipy
  libpostproc55 libmagickcore-6.q16-6-extra libswscale-dev php-twig
  libavcodec58 libimage-magick-q16-perl libmagickwand-6.q16-6 libavutil56
  imagemagick-6.q16 libswscale5 libmagickcore-6.q16-6 libexo-2-0 libavutil-dev
  libgsl27 libswresample3 imagemagick-6-common vlc-plugin-video-output
  libavformat58 libpmix-dev libgslcblas0 libavformat-dev libavcodec-dev
  libpmix2 libvlc-bin libswresample-dev vlc-plugin-base libexo-common
  libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
  apparmor evince evince-common gir1.2-evince-3.0 libapparmor1 
libapparmor1:i386 libevdocument3-4 libevview3-3
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up zfs-dkms (2.1.5-1ubuntu6~22.04.2) ...
Removing old zfs-2.1.5 DKMS files...
Deleting module zfs-2.1.5 completely from the DKMS tree.
Loading new zfs-2.1.5 DKMS files...
Building for 6.2.0-37-generic
Building initial module for 6.2.0-37-generic
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<stdin>:4: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use se
tuptools or check PEP 632 for potential alternatives
<stdin>:4: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<stdin>:3: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use se
tuptools or check PEP 632 for potential alternatives
<stdin>:3: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<stdin>:2: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use se
tuptools or check PEP 632 for potential alternatives
<stdin>:2: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
configure: error: 
        *** None of the expected "iops->get_acl()" interfaces were detected.
        *** This may be because your kernel version is newer than what is
        *** supported, or you are using a patched custom kernel with
        *** incompatible modifications.
        ***
        *** ZFS Version: zfs-2.1.5-1ubuntu6~22.04.2
        *** Compatible Kernels: 3.10 - 5.19
        
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/zfs-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.2.0-37-generic (x86_64)
Consult /var/lib/dkms/zfs/2.1.5/build/make.log for more information.
dpkg: error processing package zfs-dkms (--configure):
 installed zfs-dkms package post-installation script subprocess returned error 
exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.0-37-generic
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
Errors were encountered while processing:
 zfs-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@thor:/home/viking# uname  -a
Linux thor 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov  2 
18:01:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
root@thor:/home/viking# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libvlc5 libimage-magick-perl exo-utils vlc-data libvlccore9 imagemagick
  libslurm37 libjs-jquery-ui libopenexr25 libmagick++-6.q16-8 python3-scipy
  libpostproc55 libmagickcore-6.q16-6-extra libswscale-dev php-twig
  libavcodec58 libimage-magick-q16-perl libmagickwand-6.q16-6 libavutil56
  imagemagick-6.q16 libswscale5 libmagickcore-6.q16-6 libexo-2-0 libavutil-dev
  libgsl27 libswresample3 imagemagick-6-common vlc-plugin-video-output
  libavformat58 libpmix-dev libgslcblas0 libavformat-dev libavcodec-dev
  libpmix2 libvlc-bin libswresample-dev vlc-plugin-base libexo-common
  libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
  apparmor evince evince-common gir1.2-evince-3.0 libapparmor1 
libapparmor1:i386 libevdocument3-4 libevview3-3
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up zfs-dkms (2.1.5-1ubuntu6~22.04.2) ...
Removing old zfs-2.1.5 DKMS files...
Deleting module zfs-2.1.5 completely from the DKMS tree.
Loading new zfs-2.1.5 DKMS files...
Building for 6.2.0-37-generic
Building initial module for 6.2.0-37-generic
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<stdin>:4: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use se
tuptools or check PEP 632 for potential alternatives
<stdin>:4: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<stdin>:3: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use se
tuptools or check PEP 632 for potential alternatives
<stdin>:3: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<stdin>:2: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use se
tuptools or check PEP 632 for potential alternatives
<stdin>:2: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use s
etuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
configure: error: 
        *** None of the expected "iops->get_acl()" interfaces were detected.
        *** This may be because your kernel version is newer than what is
        *** supported, or you are using a patched custom kernel with
        *** incompatible modifications.
        ***
        *** ZFS Version: zfs-2.1.5-1ubuntu6~22.04.2
        *** Compatible Kernels: 3.10 - 5.19
        
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/zfs-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.2.0-37-generic (x86_64)
Consult /var/lib/dkms/zfs/2.1.5/build/make.log for more information.
dpkg: error processing package zfs-dkms (--configure):
 installed zfs-dkms package post-installation script subprocess returned error 
exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.0-37-generic
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
Errors were encountered while processing:
 zfs-dkms


It appears that the message tells me that the installed ZFS isn't compatible 
with the kernel? Is this the problem?
Thanks,
Phil

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2030100

Title:
  zfs-dkms 2.1.5-1ubuntu6~22.04.1: zfs kernel module failed to build

Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  After this mornings update to Linux Kernel 6.2

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: zfs-dkms 2.1.5-1ubuntu6~22.04.1
  ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
  Uname: Linux 6.2.0-26-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  DKMSBuildLog:
   DKMS make.log for zfs-2.1.5 for kernel 6.2.0-26-generic (x86_64)
   Fri Aug  4 10:17:48 AM PDT 2023
   make: *** No targets specified and no makefile found.  Stop.
  DKMSKernelVersion: 6.2.0-26-generic
  Date: Fri Aug  4 10:17:49 2023
  InstallationDate: Installed on 2022-11-19 (258 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  PackageArchitecture: all
  PackageVersion: 2.1.5-1ubuntu6~22.04.1
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 
3.10.6-1~22.04
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.2
   apt  2.4.9
  SourcePackage: zfs-linux
  Title: zfs-dkms 2.1.5-1ubuntu6~22.04.1: zfs kernel module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/2030100/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to