[Pkg-zfsonlinux-devel] Bug#934282: zfs-dkms: fails to install for 5.2.0-2-amd64 due to GPL-only symbol 'alternatives_patched'

Craig Sanders cas at taz.net.au
Sat Aug 10 04:50:44 BST 2019


I tested this on one of my ZFS testing VMs ('ztest') and can confirm that
zfs-dkms 0.8.1 compiles against 5.2.0-2-amd64 when the patch is applied to
/var/lib/dkms/zfs/0.8.1/source/include/linux/simd_x86.h

ztest:~# dkms status
zfs, 0.8.1, 4.19.0-3-amd64, x86_64: installed
zfs, 0.8.1, 4.19.0-5-amd64, x86_64: installed
zfs, 0.8.1, 5.2.0-2-amd64, x86_64: installed


The VM reboots successfuly and the zfs pool is working normally:

ztest:~# uname -a
Linux ztest 5.2.0-2-amd64 #1 SMP Debian 5.2.7-1 (2019-08-07) x86_64 GNU/Linux

ztest:~# zpool status
  pool: tank1
 state: ONLINE
  scan: scrub repaired 0B in 0 days 00:00:02 with 0 errors on Sat Aug 10 13:47:04 2019
config:

    NAME                STATE     READ WRITE CKSUM
    tank1               ONLINE       0     0     0
      mirror-0          ONLINE       0     0     0
        virtio-VD-0005  ONLINE       0     0     0
        virtio-VD-0006  ONLINE       0     0     0

errors: No known data errors

craig

--
craig sanders <cas at taz.net.au>



More information about the Pkg-zfsonlinux-devel mailing list