[Pkg-zfsonlinux-devel] Bug#921305: zfs-dkms: Also fails for new install of buster (with buster-packports), and new install of bullseye.

caysho at internode.on.net caysho at internode.on.net
Mon Sep 2 13:42:06 BST 2019


Package: zfs-dkms
Version: 0.8.1-4
Followup-For: Bug #921305

Dear Maintainer,

   * What led up to the situation? 
- first attempted upgrade from stretch
- then attempted on new install with buster (and buster-backports)
- then attempted on new install with bullseye

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Incomplete zfs installation resulted from upgrading from stretch.
The same happens after ran the following on new installs indicated above:
apt install dkms spl-dkms

   * What was the outcome of this action?
Failure of zfs filesystem module.
See below for logs, hopefully there is enough information to assist.
The following website suggests dkms and spl-dkms should be installated first, but due to dependancies the other packages are pulled in automatically.
https://wiki.debian.org/ZFS

   * What outcome did you expect instead?
Correct installation of zfs.


Installation output:

The following additional packages will be installed:
  build-essential cpp cpp-9 dirmngr dpkg-dev fakeroot g++ g++-9 gcc gcc-9
  gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
  gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libassuan0 libdpkg-perl libfakeroot
  libfile-fcntllock-perl libgcc-9-dev libksba8 libnpth0 libnvpair1linux
  libstdc++-9-dev libuutil1linux libzfs2linux libzpool2linux make patch
  pinentry-curses python3-distutils python3-lib2to3 sudo zfs-dkms zfs-zed
  zfsutils-linux

The following NEW packages will be installed:
  build-essential cpp cpp-9 dirmngr dkms dpkg-dev fakeroot g++ g++-9 gcc gcc-9
  gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
  gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libassuan0 libdpkg-perl libfakeroot
  libfile-fcntllock-perl libgcc-9-dev libksba8 libnpth0 libnvpair1linux
  libstdc++-9-dev libuutil1linux libzfs2linux libzpool2linux make patch
  pinentry-curses python3-distutils python3-lib2to3 spl-dkms sudo zfs-dkms
  zfs-zed zfsutils-linux

Setting up zfsutils-linux (0.8.1-4) ...
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.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/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-mount.service failed because the control process exited with error code.
See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
invoke-rc.d: initscript zfs-mount, action "start" failed.
 zfs-mount.service - Mount ZFS filesystems
   Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2019-09-02 18:28:40 AWST; 22ms ago
     Docs: man:zfs(8)
  Process: 5134 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
 Main PID: 5134 (code=exited, status=1/FAILURE)

Sep 02 18:28:40 musicserver-wired systemd[1]: Starting Mount ZFS filesystems...
Sep 02 18:28:40 musicserver-wired zfs[5134]: The ZFS modules are not loaded.
Sep 02 18:28:40 musicserver-wired zfs[5134]: Try running '/sbin/modprobe zfs' as root to load them.
Sep 02 18:28:40 musicserver-wired systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
Sep 02 18:28:40 musicserver-wired systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
Sep 02 18:28:40 musicserver-wired systemd[1]: Failed to start Mount ZFS filesystems.
dpkg: error processing package zfsutils-linux (--configure):
 installed zfsutils-linux package post-installation script subprocess returned error exit status 1
Setting up zfs-dkms (0.8.1-4) ...
Loading new zfs-0.8.1 DKMS files...
Building for 5.2.0-2-amd64
Building initial module for 5.2.0-2-amd64
Done.

zavl.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.2.0-2-amd64/updates/dkms/


znvpair.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.2.0-2-amd64/updates/dkms/

zunicode.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.2.0-2-amd64/updates/dkms/

zcommon.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.2.0-2-amd64/updates/dkms/

zfs.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.2.0-2-amd64/updates/dkms/

icp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.2.0-2-amd64/updates/dkms/

zlua.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.2.0-2-amd64/updates/dkms/

spl.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.2.0-2-amd64/updates/dkms/

depmod..........

DKMS: install completed.
Setting up g++ (4:9.2.1-3) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up spl-dkms (0.8.1-4) ...
Setting up gnupg (2.2.17-3) ...
Setting up build-essential (12.7) ...
dpkg: dependency problems prevent configuration of zfs-zed:
 zfs-zed depends on zfsutils-linux (>= 0.8.1-4); however:
  Package zfsutils-linux is not configured yet.

dpkg: error processing package zfs-zed (--configure):
 dependency problems - leaving unconfigured
Processing triggers for systemd (242-5) ...
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
 zfsutils-linux
 zfs-zed
E: Sub-process /usr/bin/dpkg returned an error code (1)




-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.73
ii  dkms                   2.7.1-2
ii  file                   1:5.37-5
ii  libc6-dev [libc-dev]   2.28-10
ii  libpython3-stdlib      3.7.3-1
ii  lsb-release            11.1.0
ii  perl                   5.28.1-6
ii  python3-distutils      3.7.4-3

Versions of packages zfs-dkms recommends:
ii  linux-libc-dev  5.2.9-2
iu  zfs-zed         0.8.1-4
ih  zfsutils-linux  0.8.1-4

zfs-dkms suggests no packages.

-- debconf information:
  zfs-dkms/stop-build-for-32bit-kernel: true
  zfs-dkms/stop-build-for-unknown-kernel: true
* zfs-dkms/note-incompatible-licenses:


More information about the Pkg-zfsonlinux-devel mailing list