The hwe (and bionic) kernels come with zfs and spl modules already
provided, so there is no need for zfs-dkms and spl-dkms, e.g.
cking@bionic-amd64:~$ uname -a
Linux bionic-amd64 5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50
UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
cking@bionic-amd64:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
cking@bionic-amd64:~$ dpkg -l | grep zfs-dkms
cking@bionic-amd64:~$ dmesg | grep ZFS
[ 16.209504] ZFS: Loaded module v0.7.12-1ubuntu5, ZFS pool version 5000, ZFS
filesystem version 5
cking@bionic-amd64:~$ lsmod | grep zfs
zfs 3035136 8
zunicode 331776 1 zfs
zavl 16384 1 zfs
icp 258048 1 zfs
zcommon 65536 1 zfs
znvpair 77824 2 zfs,zcommon
spl 102400 4 zfs,icp,znvpair,zcommon
so just remove zfs-dkms and you can still use zfs on the HWE 5.0.x
kernel on Bionic.
** Changed in: zfs-linux (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: zfs-linux (Ubuntu)
Assignee: (unassigned) => Colin Ian King (colin-king)
** Changed in: zfs-linux (Ubuntu)
Status: New => Triaged
--
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/1853130
Title:
zfs-dkms-0.7.5-1ubuntu15 fail build kernel-hwe kernel 5.0.0-36-generic
Status in zfs-linux package in Ubuntu:
Triaged
Bug description:
zfs-dkms- Fail build with kernel 5.0.0-36-generic
cripts/Makefile.build:284: recipe for target
'/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o' failed
make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-condvar.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/spl/0.7.5/build/include/sys/kstat.h:31:0,
from
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.c:28:
/var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function ‘gethrestime’:
/var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:9: error: implicit
declaration of function ‘current_kernel_time’; did you mean ‘current_time’?
[-Werror=implicit-function-declaration]
*now = current_kernel_time();
^~~~~~~~~~~~~~~~~~~
current_time
/var/lib/dkms/spl/0.7.5/build/include/sys/time.h:63:7: error: incompatible
types when assigning to type ‘timestruc_t {aka struct timespec}’ from type ‘int’
*now = current_kernel_time();
^
/var/lib/dkms/spl/0.7.5/build/include/sys/time.h: In function
‘gethrestime_sec’:
/var/lib/dkms/spl/0.7.5/build/include/sys/time.h:70:5: error: incompatible
types when assigning to type ‘struct timespec’ from type ‘int’
ts = current_kernel_time();
^
CC [M] /var/lib/dkms/spl/0.7.5/build/module/splat/splat-linux.o
cc1: some warnings being treated as errors
scripts/Makefile.build:284: recipe for target
'/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o' failed
make[5]: *** [/var/lib/dkms/spl/0.7.5/build/module/spl/spl-kstat.o] Error 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1853130/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp