I can confirm that zfs-linux 0.8.3-1ubuntu12.5 fixes the dkms
installation error with linux 5.8 on Focal while still working with
linux 5.4.

Setting up zfs-dkms (0.8.3-1ubuntu12.5) ...
Loading new zfs-0.8.3 DKMS files...
Building for 5.8.0-30-generic
Building initial module for 5.8.0-30-generic
Error!  The /var/lib/dkms/zfs/0.8.3/5.8.0-30-generic/x86_64/dkms.conf for 
module zfs includes a BUIL
D_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
Skipped.

The smoke tests were also successful with the 5.8 kernel:

$ sudo ./debian/tests/kernel-smoke-test
Removing existing zfs modules
Unloading zfs
Unloading icp
Unloading zcommon
Unloading znvpair
Unloading zavl
Unloading spl
Loading new zfs modules
kernel smoke test, create and destroy pool, 2x2 mirror: PASSED
kernel smoke test, create and destroy pool, 4x1 mirror: PASSED
kernel smoke test, create and destroy pool, nested raidz3: PASSED
kernel smoke test, create and destroy pool, raidz1: PASSED
kernel smoke test, create and destroy pool, raidz2: PASSED
kernel smoke test, create and destroy pool, raidz3: PASSED
kernel smoke test, create and destroy pool, striped: PASSED
kernel smoke test, create and destroy ZFS Intent Log: PASSED
kernel smoke test, create and destroy ZFS filesystems: PASSED
kernel smoke test, ZFS snapshot: PASSED
kernel smoke test, ZFS clone: PASSED
kernel smoke test, ZFS send and receive: PASSED
kernel smoke test, corrupt data and clean with a scrub: PASSED
kernel smoke test, encrypted ZFS filesystems, load/unload keys: PASSED

ADT also completed successfully for both linux-generic 5.4 and linux-hwe
5.8:

* linux 5.4:
- amd64: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/z/zfs-linux/20201119_163205_07089@/log.gz
- arm64: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/arm64/z/zfs-linux/20201119_165530_b73f7@/log.gz
- ppc64el: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/ppc64el/z/zfs-linux/20201119_164146_76812@/log.gz
- s390x: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/s390x/z/zfs-linux/20201119_162758_07089@/log.gz

* linux-hwe 5.8:
- amd64: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/z/zfs-linux/20201119_162748_82a89@/log.gz
- arm64: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/arm64/z/zfs-linux/20201119_163654_cf222@/log.gz
- ppc64el: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/ppc64el/z/zfs-linux/20201119_163259_90ac9@/log.gz
- s390x: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/s390x/z/zfs-linux/20201119_162409_cf222@/log.gz


** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1902701

Title:
  zfs-linux 0.8.3-1ubuntu12.4 ADT test failure with linux-hwe-5.8
  5.8.0-25.26~20.04.1

Status in zfs-linux package in Ubuntu:
  Invalid
Status in zfs-linux source package in Focal:
  Fix Committed

Bug description:
  [SRU Justification]

  Impact: When attempting to compile the zfs-dkms module on a 5.8 kernel
  the module fails to properly configure the build. The kernel driver
  part of zfs-linux is only prepared to handle the kernels it released
  with. For Ubuntu kernels the zfs module is build based on the zfs-dkms
  that is current for the series the kernel originates from (so Groovy
  for 5.8). And this should be the encouraged way to do this.

  Fix: Add a limitation to the dkms package to only build for supported
  kernels. This causes the whole build/install to be skipped on 5.8
  rather than to fail.

  Testcase: dkms install runs for 5.4 and 5.8 in Focal. For the 5.8 kernel this 
should result in:
  Building initial module for 5.8.0-25-generic
  Error!  The /var/lib/dkms/zfs/0.8.3/5.8.0-25-generic/x86_64/dkms.conf for 
module zfs includes a BUILD_EXCLUSIVE directive which
  does not match this kernel/arch.  This indicates that it should not be built.
  Skipped.

  Regression Potential: Since the module fails to compile for the newer
  kernel there should be nothing that can regress.

  ---

  Testing failed on:
      amd64: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/z/zfs-linux/20201016_104632_e52aa@/log.gz
      arm64: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/arm64/z/zfs-linux/20201016_144759_7735c@/log.gz
      ppc64el: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/ppc64el/z/zfs-linux/20201016_111820_ceeb8@/log.gz
      s390x: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/s390x/z/zfs-linux/20201016_082202_1adb7@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1902701/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to