Comment 3 for bug 2030100

Revision history for this message
Phil Marsh (marsh-pf) wrote :

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