[Pkg-zfsonlinux-devel] Bug#1012305: Acknowledgement (zfsutils-linux: tried to instal zfsutils-linux on 2 systems, it fails to compile the module on both.)
Andrei HORNOIU
andrei.hornoiu at ist.ac.at
Fri Jun 3 11:25:06 BST 2022
I forgot to add the full install command and listing:
andrei at lnadmn078:~$ sudo apt install zfsutils-linux
[sudo] password for andrei:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libnvpair3linux libuutil3linux libzfs4linux libzpool4linux python3-
distutils python3-lib2to3 zfs-dkms zfs-zed
Suggested packages:
debhelper nfs-kernel-server zfs-initramfs | zfs-dracut
The following NEW packages will be installed:
libnvpair3linux libuutil3linux libzfs4linux libzpool4linux python3-
distutils python3-lib2to3 zfs-dkms zfs-zed
zfsutils-linux
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 4.605 kB of archives.
After this operation, 25,3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://deb.debian.org/debian bullseye/main amd64 python3-lib2to3
all 3.9.2-1 [77,8 kB]
Get:2 https://deb.debian.org/debian bullseye/main amd64 python3-
distutils all 3.9.2-1 [143 kB]
Get:3 https://deb.debian.org/debian bullseye/contrib amd64 zfs-dkms all
2.0.3-9 [2.234 kB]
Get:4 https://deb.debian.org/debian bullseye/contrib amd64
libnvpair3linux amd64 2.0.3-9 [61,2 kB]
Get:5 https://deb.debian.org/debian bullseye/contrib amd64
libuutil3linux amd64 2.0.3-9 [54,0 kB]
Get:6 https://deb.debian.org/debian bullseye/contrib amd64 libzfs4linux
amd64 2.0.3-9 [231 kB]
Get:7 https://deb.debian.org/debian bullseye/contrib amd64
libzpool4linux amd64 2.0.3-9 [1.247 kB]
Get:8 https://deb.debian.org/debian bullseye/contrib amd64 zfsutils-
linux amd64 2.0.3-9 [481 kB]
Get:9 https://deb.debian.org/debian bullseye/contrib amd64 zfs-zed
amd64 2.0.3-9 [75,4 kB]
Fetched 4.605 kB in 1s (6.858 kB/s)
Preconfiguring packages ...
Selecting previously unselected package python3-lib2to3.
(Reading database ... 291003 files and directories currently
installed.)
Preparing to unpack .../0-python3-lib2to3_3.9.2-1_all.deb ...
Unpacking python3-lib2to3 (3.9.2-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../1-python3-distutils_3.9.2-1_all.deb ...
Unpacking python3-distutils (3.9.2-1) ...
Selecting previously unselected package zfs-dkms.
Preparing to unpack .../2-zfs-dkms_2.0.3-9_all.deb ...
Unpacking zfs-dkms (2.0.3-9) ...
Selecting previously unselected package libnvpair3linux.
Preparing to unpack .../3-libnvpair3linux_2.0.3-9_amd64.deb ...
Unpacking libnvpair3linux (2.0.3-9) ...
Selecting previously unselected package libuutil3linux.
Preparing to unpack .../4-libuutil3linux_2.0.3-9_amd64.deb ...
Unpacking libuutil3linux (2.0.3-9) ...
Selecting previously unselected package libzfs4linux.
Preparing to unpack .../5-libzfs4linux_2.0.3-9_amd64.deb ...
Unpacking libzfs4linux (2.0.3-9) ...
Selecting previously unselected package libzpool4linux.
Preparing to unpack .../6-libzpool4linux_2.0.3-9_amd64.deb ...
Unpacking libzpool4linux (2.0.3-9) ...
Selecting previously unselected package zfsutils-linux.
Preparing to unpack .../7-zfsutils-linux_2.0.3-9_amd64.deb ...
Unpacking zfsutils-linux (2.0.3-9) ...
Selecting previously unselected package zfs-zed.
Preparing to unpack .../8-zfs-zed_2.0.3-9_amd64.deb ...
Unpacking zfs-zed (2.0.3-9) ...
Setting up libnvpair3linux (2.0.3-9) ...
Setting up libuutil3linux (2.0.3-9) ...
Setting up python3-lib2to3 (3.9.2-1) ...
Setting up python3-distutils (3.9.2-1) ...
Setting up libzfs4linux (2.0.3-9) ...
Setting up zfs-dkms (2.0.3-9) ...
Loading new zfs-2.0.3 DKMS files...
Building for 5.10.0-14-amd64
Building initial module for 5.10.0-14-amd64
grep: /lib/modules/5.10.0-14-amd64/build/include/linux/miscdevice.h: No
such file or directory
configure: error:
*** None of the expected "global page state" 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.0.3-9
*** Compatible Kernels: 3.10 - 5.10
Error! Bad return status for module build on kernel: 5.10.0-14-amd64
(x86_64)
Consult /var/lib/dkms/zfs/2.0.3/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
Setting up libzpool4linux (2.0.3-9) ...
dpkg: dependency problems prevent configuration of zfs-zed:
zfs-zed depends on zfs-modules | zfs-dkms; however:
Package zfs-modules is not installed.
Package zfs-dkms which provides zfs-modules is not configured yet.
Package zfs-dkms is not configured yet.
dpkg: error processing package zfs-zed (--configure):
dependency problems - leaving unconfigured
Setting up zfsutils-linux (2.0.3-9) ...
modprobe: FATAL: Module zfs not found in directory /lib/modules/5.10.0-
14-amd64
Created symlink /etc/systemd/system/zfs-import.target.wants/zfs-import-
cache.service → /lib/systemd/system/zfs-import-cache.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-import.target
→ /lib/systemd/system/zfs-import.target.
Created symlink /etc/systemd/system/zfs-mount.service.wants/zfs-load-
module.service → /lib/systemd/system/zfs-load-module.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-load-
module.service → /lib/systemd/system/zfs-load-module.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-mount.service
→ /lib/systemd/system/zfs-mount.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-share.service
→ /lib/systemd/system/zfs-share.service.
Created symlink /etc/systemd/system/zfs-volumes.target.wants/zfs-
volume-wait.service → /lib/systemd/system/zfs-volume-wait.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-volumes.target
→ /lib/systemd/system/zfs-volumes.target.
Created symlink /etc/systemd/system/multi-user.target.wants/zfs.target
→ /lib/systemd/system/zfs.target.
zfs-import-scan.service is a disabled or a static unit, not starting
it.
Job for zfs-load-module.service failed because the control process
exited with error code.
See "systemctl status zfs-load-module.service" and "journalctl -xe" for
details.
A dependency job for zfs-import-cache.service failed. See 'journalctl -
xe' for details.
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-14-amd64
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/lvmlmde-swap)
I: Set the RESUME variable to override this.
Errors were encountered while processing:
zfs-dkms
zfs-zed
E: Sub-process /usr/bin/dpkg returned an error code (1)
andrei at lnadmn078:~$ apt list --installed | grep headers
WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.
linux-headers-5.10.0-12-amd64/stable-security,now 5.10.103-1 amd64
[installed]
linux-headers-5.10.0-12-common/stable-security,stable-security,now
5.10.103-1 all [installed]
linux-headers-5.10.0-14-amd64/stable-security,now 5.10.113-1 amd64
[installed,automatic]
linux-headers-5.10.0-14-common/stable-security,stable-security,now
5.10.113-1 all [installed,automatic]
linux-headers-amd64/stable-security,now 5.10.113-1 amd64 [installed]
Hope this helps.
Andrei
On Fri, 2022-06-03 at 10:21 +0000, Debian Bug Tracking System wrote:
> Thank you for filing a new Bug report with Debian.
>
> You can follow progress on this Bug here: 1012305:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012305.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due
> course.
>
> As you requested using X-Debbugs-CC, your message was also forwarded
> to
> andrei.hornoiu at ist.ac.at
> (after having been given a Bug report number, if it did not have
> one).
>
> Your message has been sent to the package maintainer(s):
> Debian ZFS on Linux maintainers
> <pkg-zfsonlinux-devel at alioth-lists.debian.net>
>
> If you wish to submit further information on this problem, please
> send it to 1012305 at bugs.debian.org.
>
> Please do not send mail to owner at bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>
More information about the Pkg-zfsonlinux-devel
mailing list