Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dkms kernel 3.10.0-693.11.1.el7.x86_64 not working (need update 11.6 kernel because Spectre Meltdown) #7014

Closed
marco-aa opened this issue Jan 4, 2018 · 15 comments

Comments

@marco-aa
Copy link

marco-aa commented Jan 4, 2018

System information

Type Version/Name
Distribution Name Centos
Distribution Version 7 - 7.3.1611 Core and 7.4.1708 Core
Linux Kernel 3.10.0-693.11.1.el7.x86_64
Architecture x86_64
ZFS Version 0.6.5.9
SPL Version 0.6.5.9

Describe the problem you're observing

dkms can not make zfs.ko but it makes spl.ko

i updated Kernel from 3.10.0-514.21.2 (working great and still possible to boot and use) to 3.10.0-693.11.1
via yum install kernel-devel kernel. i use dkms

I updated to Centos 7.4 and removed via dkms the spo and tried to rebuild it
dkms remove -m spl -v 0.6.5.9 -k 3.10.0-693.11.1.el7.x86_64
dkms install -m spl -v 0.6.5.9 -k 3.10.0-693.11.1.el7.x86_64 --force
dkms install -m zfs -v 0.6.5.9 -k 3.10.0-693.11.1.el7.x86_64 --forc
**I'll at the new make.log in a separate posting please look down **
#7014 (comment)

dkms status show's

spl, 0.6.5.9, 3.10.0-514.21.2.el7.x86_64, x86_64: installed
spl, 0.6.5.9, 3.10.0-693.11.1.el7.x86_64, x86_64: installed
zfs, 0.6.5.9, 3.10.0-514.21.2.el7.x86_64, x86_64: installed

dkms shows

Building module:
cleaning build area....
make -j8 KERNELRELEASE=3.10.0-693.11.1.el7.x86_64.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.10.0-693.11.1.el7.x86_64 (x86_64)
Consult /var/lib/dkms/zfs/0.6.5.9/build/make.log for more information.

Any help welcome - if usefull please give a hint how to upgrade to higher ZFS version
at the moment i'm back to the old kernel Thanke :-)

or
_should i download source tar ball 0.6.5.9 and try to compile manually ? _

Describe how to reproduce the problem

dkms install -m zfs -v 0.6.5.9 -k 3.10.0-693.11.1.el7.x86_64 --force

Include any warning/errors/backtraces from the system logs

DKMS make.log for zfs-0.6.5.9 for kernel 3.10.0-693.11.1.el7.x86_64 (x86_64)
Do 4. Jan 14:11:27 CET 2018
make  all-recursive
make[1]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build'
Making all in include
make[2]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include'
Making all in linux
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/linux'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/linux'
Making all in sys
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys'
Making all in fm
make[4]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm'
Making all in fs
make[5]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm/fs'
make[5]: Für das Ziel »all« ist nichts zu tun.
make[5]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm/fs'
make[5]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm'
make[5]: Für das Ziel »all-am« ist nichts zu tun.
make[5]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm'
make[4]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm'
Making all in fs
make[4]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fs'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fs'
make[4]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys'
make[4]: Für das Ziel »all-am« ist nichts zu tun.
make[4]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys'
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys'
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include'
make[2]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include'
Making all in rpm
make[2]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm'
Making all in generic
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm/generic'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm/generic'
Making all in redhat
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm/redhat'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm/redhat'
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm'
make[2]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm'
Making all in module
make[2]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/module'
make -C /lib/modules/3.10.0-693.11.1.el7.x86_64/build SUBDIRS=`pwd`  CONFIG_ZFS=m modules
make[3]: Entering directory `/usr/src/kernels/3.10.0-693.11.1.el7.x86_64'
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/avl/avl.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/unicode/u8_textprep.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/nvpair.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zpios/pios.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/unicode/uconv.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_deleg.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_prop.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/arc.o
  LD [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/avl/zavl.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/fnvpair.o
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_deleg.c:27:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/blkptr.o
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zpios/pios.c:34:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/bplist.o
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/blkptr.c:20:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zio.h:32,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_prop.c:29:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/spa.h:32,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/arc.c:131:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zfs/blkptr.o] Fehler 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_deleg.o] Fehler 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/nvpair_alloc_spl.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/nvpair_alloc_fixed.o
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zpios/pios.o] Fehler 1
make[4]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zpios] Fehler 2
make[4]: *** Warte auf noch nicht beendete Prozesse...
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_prop.o] Fehler 1
make[4]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zcommon] Fehler 2
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zfs/arc.o] Fehler 1
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/bplist.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/bplist.c:26:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zfs/bplist.o] Fehler 1
make[4]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zfs] Fehler 2
  LD [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/znvpair.o
  LD [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/unicode/zunicode.o
make[3]: *** [_module_/var/lib/dkms/zfs/0.6.5.9/build/module] Fehler 2
make[3]: Leaving directory `/usr/src/kernels/3.10.0-693.11.1.el7.x86_64'
make[2]: *** [modules] Fehler 2
make[2]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/module'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build'
make: *** [all] Fehler 2

@spetr
Copy link

spetr commented Jan 4, 2018

zfs.ko module from kmod-zfs also does not work :(

@marco-aa
Copy link
Author

marco-aa commented Jan 4, 2018

@spetr thanks i was thinking to switch to kmod to bypass ... but so i guess its not helpfull ...

@dcrdev
Copy link

dcrdev commented Jan 4, 2018

The 3.10.0-693.11.1.el7.x86_64 kernel is from CentOS 7.4 - you are going to need to switch the repo over to the 7.4 one.

@marco-aa
Copy link
Author

marco-aa commented Jan 4, 2018

@dcrdev can you give me a more detailed information please (i guess i have a wrong idea about the repos in my head).

i guess if i update via yum kernel than all relevant related packages like linux-firmeware will be updated.
(new kernel could be boote - and i could work with it for a while)
i checkt via yum install kernel-devel if i have the right source for the new kernel installed too. (check package number/name)
i thought dkms will than recompile 0.6.5.9 zfs spl sources against the new kernel headers to build .ko files
(its working fine for spl.ko)

sorry if this looks a litle bit newbee like - i hope you can help me to learn :-) thanks for your input

@spetr
Copy link

spetr commented Jan 4, 2018

The problem is not with 7.3/7.4 repo. kmod-zfs with kernel 3.10.0-693.11.1 (without Meltdown and Spectre patch) is working. With kernel 3.10.0-693.11.6 (with Meltdown and Spectre patch) zfs module can not be loaded and can not be build.

@marco-aa
Copy link
Author

marco-aa commented Jan 4, 2018

@dcrdev thanks for your good explanation - i'll think to update from 7.3 to 7.4
Do you think i can still fall back via grup booting into my 514 kernel if i do yum update - in this case there is no danger to test it

@dcrdev
Copy link

dcrdev commented Jan 4, 2018

@marco-aa should be able to yes -just be mindful of kernel rotation i.e. make sure the working kernel isn't removed as part of a yum update.

@marco-aa
Copy link
Author

marco-aa commented Jan 4, 2018

@dcrdev - good hint !! i check - because of less space only running and 1 last kernel will be hold. So 514 should be hold because 693 was installed and i check yum update and did not finde package "kernel" so it should be remain - theoreticaly ??? ;)
/et/yum.conf -->> installonly_limit=2

@marco-aa
Copy link
Author

marco-aa commented Jan 4, 2018

@dcrdev
i updated the server to 7.4 , removed the dkms for spo and tried to rebuild without succes.
i updated my initial issue posting

and added the latest dkms log for buidling zfs

DKMS make.log for zfs-0.6.5.9 for kernel 3.10.0-693.11.1.el7.x86_64 (x86_64)
Do 4. Jan 19:45:05 CET 2018
make  all-recursive
make[1]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build'
Making all in include
make[2]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include'
Making all in linux
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/linux'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/linux'
Making all in sys
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys'
Making all in fm
make[4]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm'
Making all in fs
make[5]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm/fs'
make[5]: Für das Ziel »all« ist nichts zu tun.
make[5]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm/fs'
make[5]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm'
make[5]: Für das Ziel »all-am« ist nichts zu tun.
make[5]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm'
make[4]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fm'
Making all in fs
make[4]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fs'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys/fs'
make[4]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys'
make[4]: Für das Ziel »all-am« ist nichts zu tun.
make[4]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys'
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include/sys'
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/include'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include'
make[2]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/include'
Making all in rpm
make[2]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm'
Making all in generic
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm/generic'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm/generic'
Making all in redhat
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm/redhat'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm/redhat'
make[3]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm'
make[2]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/rpm'
Making all in module
make[2]: Entering directory `/var/lib/dkms/zfs/0.6.5.9/build/module'
make -C /lib/modules/3.10.0-693.11.1.el7.x86_64/build SUBDIRS=`pwd`  CONFIG_ZFS=m modules
make[3]: Entering directory `/usr/src/kernels/3.10.0-693.11.1.el7.x86_64'
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/avl/avl.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/nvpair.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/unicode/u8_textprep.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zpios/pios.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/unicode/uconv.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_deleg.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_prop.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/arc.o
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_deleg.c:27:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/spa.h:32,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/arc.c:131:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zpios/pios.c:34:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zio.h:32,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_prop.c:29:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_deleg.o] Fehler 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/blkptr.o
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zpios/pios.o] Fehler 1
make[4]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zpios] Fehler 2
make[4]: *** Warte auf noch nicht beendete Prozesse...
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zcommon/zfs_prop.o] Fehler 1
make[4]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zcommon] Fehler 2
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/fnvpair.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/nvpair_alloc_spl.o
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zfs/arc.o] Fehler 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
  CC [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/nvpair_alloc_fixed.o
  LD [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/avl/zavl.o
In file included from include/linux/blkdev.h:19:0,
                 from /usr/src/spl-0.6.5.9/include/sys/uio.h:30,
                 from /usr/src/spl-0.6.5.9/include/sys/sunddi.h:29,
                 from /usr/src/spl-0.6.5.9/include/sys/systm.h:28,
                 from /var/lib/dkms/zfs/0.6.5.9/build/include/sys/zfs_context.h:49,
                 from /var/lib/dkms/zfs/0.6.5.9/build/module/zfs/blkptr.c:20:
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:18: Fehler: expected identifier or »(« before »struct«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
                  ^
include/linux/bio.h:48:44: Anmerkung: in Dedefinition des Makros »bio_set_op_attrs«
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                            ^
include/linux/bio.h:48:48: Fehler: expected »)« before »->« token
 #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op | flags))
                                                ^
/var/lib/dkms/zfs/0.6.5.9/build/include/linux/blkdev_compat.h:309:1: Anmerkung: bei Substitution des Makros »bio_set_op_attrs«
 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)
 ^
make[5]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zfs/blkptr.o] Fehler 1
make[4]: *** [/var/lib/dkms/zfs/0.6.5.9/build/module/zfs] Fehler 2
  LD [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/nvpair/znvpair.o
  LD [M]  /var/lib/dkms/zfs/0.6.5.9/build/module/unicode/zunicode.o
make[3]: *** [_module_/var/lib/dkms/zfs/0.6.5.9/build/module] Fehler 2
make[3]: Leaving directory `/usr/src/kernels/3.10.0-693.11.1.el7.x86_64'
make[2]: *** [modules] Fehler 2
make[2]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build/module'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/lib/dkms/zfs/0.6.5.9/build'
make: *** [all] Fehler 2

@marco-aa marco-aa changed the title dkms kernel 3.10.0-693.11.1.el7.x86_64 Meltdown and Spectre not working dkms kernel 3.10.0-693.11.1.el7.x86_64 not working (need update 11.6 kernel because Spectre Meltdown) Jan 4, 2018
@bmerchant
Copy link

This is fixed in pull #6271 which is included in 0.6.5.11 or later

@marco-aa
Copy link
Author

marco-aa commented Jan 4, 2018

@bmerchant thanks for your help 👍 good to see that is fixed.

at the moment i booted 514 kernel but as mentioned i have installed kernel 693.11.1 and updated centos to 7.4

i'm using zfs.repo with zfs 0.6.5.9 and if i check yum update it says no new package for update.

Can you point me / help to get it up and running with dkms or tell me whats best practice please ?

name=ZFS on Linux for EL7 - dkms
baseurl=http://download.zfsonlinux.org/epel/7/$basearch/
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki````

@gmelikov
Copy link
Member

gmelikov commented Jan 4, 2018

You need to change repository https://github.com/zfsonlinux/zfs/wiki/RHEL-and-CentOS#rhelcentos-7x-kmod-package-upgrade

I'll close the issue because there is no bug, please use our mailing lists for support.

@gmelikov gmelikov closed this as completed Jan 4, 2018
@marco-aa
Copy link
Author

marco-aa commented Jan 4, 2018

@gmelikov Ok thanks i'll do so

@marco-aa
Copy link
Author

marco-aa commented Jan 5, 2018

For other how maybe stuck with the same problem maybe @spetr it helps you too

Ok i found a mistake and a problem with yum metadata cache see this #6661

i update to 7.4 if you did the same - check if you have the right zfs repo

yum install http://download.zfsonlinux.org/epel/zfs-release.el7_4.noarch.rpm
and if you not see new versions
yum clean metadata

@gmelikov
Copy link
Member

gmelikov commented Jan 5, 2018

@marco-aa thanks, I've updated wiki too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants