Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1012305: zfsutils-linux: tried to instal zfsutils-linux on 2 systems, it fails to compile the module on both.

158 views
Skip to first unread message

Andrei

unread,
Jun 3, 2022, 6:30:03 AM6/3/22
to
Package: zfsutils-linux
Version: 2.0.3-9
Severity: important
X-Debbugs-Cc: andrei....@ist.ac.at

Dear Maintainer,

I recently tried to install zfsutils-linux on 2 separate Debian11.2 desktop
installation. Initially it was a test instance on my main system, which I dual-
booted with the previous system. The initial ubuntu install has zfs installed
and working. The installation of zfsutils-linux on the debian 11 install failed
at the modules, just like now. This attempts was several months ago.

I tried again today on my laptop that also is running Debian 11 desktop just to
see if it was fixed. It also failed to install and failed to compile the
modules.

The relevant section is:
Setting up zfs-dkms (2.0.3-9) ...
Removing old zfs-2.0.3 DKMS files...

------------------------------
Deleting module version: 2.0.3
completely from the DKMS tree.
------------------------------
Done.
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):

Headers are present on the system. The log itself contains only 3 lines:
cat /var/lib/dkms/zfs/2.0.3/build/make.log
DKMS make.log for zfs-2.0.3 for kernel 5.10.0-14-amd64 (x86_64)
Fr 03 Jun 2022 12:09:46 CEST
make: *** No targets specified and no makefile found. Stop.


Hope this gets fixed soon, would really like to be able to switch to debian 11
on my main system.


-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-14-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfsutils-linux depends on:
ii init-system-helpers 1.60
ii libblkid1 2.36.1-8+deb11u1
ii libc6 2.31-13+deb11u3
ii libnvpair3linux 2.0.3-9
ii libuuid1 2.36.1-8+deb11u1
ii libuutil3linux 2.0.3-9
ii libzfs4linux 2.0.3-9
ii libzpool4linux 2.0.3-9
ii python3 3.9.2-3

Versions of packages zfsutils-linux recommends:
ii lsb-base 11.1.0
ih zfs-dkms [zfs-modules] 2.0.3-9
iu zfs-zed 2.0.3-9

Versions of packages zfsutils-linux suggests:
pn nfs-kernel-server <none>
ii samba-common-bin 2:4.13.13+dfsg-1~deb11u3
pn zfs-initramfs | zfs-dracut <none>

-- Configuration Files:
/etc/sudoers.d/zfs [Errno 13] Permission denied: '/etc/sudoers.d/zfs'

Andrei HORNOIU

unread,
Jun 3, 2022, 6:50:03 AM6/3/22
to
I forgot to add the full install command and listing:


andrei@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@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....@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-zfsonl...@alioth-lists.debian.net>
>
> If you wish to submit further information on this problem, please
> send it to 101...@bugs.debian.org.
>
> Please do not send mail to ow...@bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>

Aron Xu

unread,
Jun 4, 2022, 8:10:03 AM6/4/22
to
Hi,

On Fri, Jun 3, 2022 at 6:21 PM Andrei <andrei....@ist.ac.at> wrote:
>
> Package: zfsutils-linux
> Version: 2.0.3-9
> Severity: important
> X-Debbugs-Cc: andrei....@ist.ac.at
>
> Dear Maintainer,
>
> I recently tried to install zfsutils-linux on 2 separate Debian11.2 desktop
> installation. Initially it was a test instance on my main system, which I dual-
> booted with the previous system. The initial ubuntu install has zfs installed
> and working. The installation of zfsutils-linux on the debian 11 install failed
> at the modules, just like now. This attempts was several months ago.
>
> I tried again today on my laptop that also is running Debian 11 desktop just to
> see if it was fixed. It also failed to install and failed to compile the
> modules.
>

I have tried this again with an up-to-date bullseye VM and it worked fine.

> The relevant section is:
> Setting up zfs-dkms (2.0.3-9) ...
> Removing old zfs-2.0.3 DKMS files...
>
> ------------------------------
> Deleting module version: 2.0.3
> completely from the DKMS tree.
> ------------------------------
> Done.
> 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

Missing this file means that you don't have the proper header package
installed, would you mind double checking whether you have
linux-headers-5.10.0-14-common installed?

Regards,
Aron

Andrei HORNOIU

unread,
Jun 7, 2022, 2:30:03 AM6/7/22
to
Hi Aron,

if you look at my second email to this bug, you'll see that that
package is ideed installed, and the steps apt goes through to install
it.

Here's that listing again:

andrei@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]


I'd also like to confirm that the bullseye-backports package for
zfsutils does install and works. Not sure what the difference in
dependencies is between the two packages, but that one does indeed
work.

Cheers
Andrei
0 new messages