Enabled jammy-updates, jammy-proposed, kinetic, kinetic-proposed, on a power9 instance.
Attempted to install zfs-dkms from kinetic-proposed, as it now checks and requires for mmu_feature_keys to be exported on powerpc.
installed 5.15.0-40-generic abi to observe the issue:
checking whether __copy_from_user_inatomic is available... no
configure: error:
*** The `__copy_from_user_inatomic()` Linux kernel function is
*** incompatible with the CDDL license and will prevent the module
*** linking stage from succeeding. OpenZFS cannot be compiled.
...
Error! Bad return status for module build on kernel: 5.15.0-40-generic (ppc64le)
Consult /var/lib/dkms/zfs/2.1.4/build/make.log for more information.
Then went to upgrade to 5.15.0-41-generic abi:
...
checking whether __copy_from_user_inatomic is available... yes
...
zfs.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-41-generic/updates/dkms/
$ sudo dkms status
zfs/2.1.4, 5.15.0-41-generic, ppc64le: installed
Enabled jammy-updates, jammy-proposed, kinetic, kinetic-proposed, on a power9 instance.
Attempted to install zfs-dkms from kinetic-proposed, as it now checks and requires for mmu_feature_keys to be exported on powerpc.
installed 5.15.0-40-generic abi to observe the issue:
checking whether __copy_ from_user_ inatomic is available... no from_user_ inatomic( )` Linux kernel function is
configure: error:
*** The `__copy_
*** incompatible with the CDDL license and will prevent the module
*** linking stage from succeeding. OpenZFS cannot be compiled.
... dkms/zfs/ 2.1.4/build/ make.log for more information.
Error! Bad return status for module build on kernel: 5.15.0-40-generic (ppc64le)
Consult /var/lib/
Then went to upgrade to 5.15.0-41-generic abi:
... from_user_ inatomic is available... yes
checking whether __copy_
...
zfs.ko: 5.15.0- 41-generic/ updates/ dkms/
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/
$ sudo dkms status
zfs/2.1.4, 5.15.0-41-generic, ppc64le: installed
Rebooted:
$ uname -r
5.15.0-41-generic
$ cat /sys/module/ zfs/version
2.1.4-0ubuntu2
All is good, and zfs is working, lxd is working.
Kernel in jammy verified.