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

Centos 7.5 can't run zfs (source, kabi, dkms) #7590

Closed
svennd opened this Issue Jun 1, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@svennd

svennd commented Jun 1, 2018

System information

Type Version/Name
Distribution Name Centos
Distribution Version 7.5.1804 (Core)
Linux Kernel 3.10.0-862.3.2.el7
Architecture 86_64
ZFS Version 0.7.9-1
SPL Version 0.7.9-1

Describe the problem you're observing

Cannot load zfs module due to errors. after building from source (also had issue with the normal dkms/kabi)

modprobe zfs
modprobe: ERROR: could not insert 'zfs': Unknown symbol in module, or unknown parameter (see dmesg)

dmesg 
[  122.614476] zfs: Unknown parameter `zil_slog_limit'

zfs errors observed during make -s -j$(nproc) :

/opt/zfs/zfs_0.7.9/zfs-0.7.9/module/zcommon/zfs_fletcher_avx512.o: warning: objtool: fletcher_4_avx512f_byteswap()+0x4e: can't find jump dest instruction at .text+0x171
/opt/zfs/zfs_0.7.9/zfs-0.7.9/module/zfs/vdev_raidz_math_avx512bw.o: warning: objtool: raidz_zero_abd_cb()+0x33: can't find jump dest instruction at .text+0x3d
/opt/zfs/zfs_0.7.9/zfs-0.7.9/module/zfs/vdev_raidz_math_avx512f.o: warning: objtool: mul_x2_2()+0x24: can't find jump dest instruction at .text+0x39

I removed older kernels, and retry but to no avail, also using kabi or dkms failed to get a working zfs module :(

Describe how to reproduce the problem

Centos 7.5, attempt to install latest zfs.

if this is already reported, I apoligise I haven't found it.

@behlendorf

This comment has been minimized.

Member

behlendorf commented Jun 1, 2018

zfs: Unknown parameter `zil_slog_limit'

This is a configuration issue. You must have an /etc/modprobe.d/zfs.conf file, or similar, on your system when is trying to set the zil_slog_limit module parameter. This parameter no longer exists which is causing the module load to fail. Remove this tuning and you'll be able to load the modules.

@svennd

This comment has been minimized.

svennd commented Jun 1, 2018

Ow this is painful, yes, spot on, thanks !

@svennd svennd closed this Jun 1, 2018

@AeonJJohnson

This comment has been minimized.

AeonJJohnson commented Jul 26, 2018

This same error occurs during dkms compilation of zfs 0.7.9 on CentOS 7.5.1804 running 3.10.0-862.9.1.el7.x86_64

...
Making all in 90zfs
Making all in initramfs
Making all in module
/home/aeon/devel/zfs/module/zcommon/zfs_fletcher_avx512.o: warning: objtool: fletcher_4_avx512f_byteswap()+0x4e: can't find jump dest instruction at .text+0x171
/home/aeon/devel/zfs/module/zfs/vdev_raidz_math_avx512bw.o: warning: objtool: raidz_zero_abd_cb()+0x33: can't find jump dest instruction at .text+0x3d
/home/aeon/devel/zfs/module/zfs/vdev_raidz_math_avx512f.o: warning: objtool: mul_x2_2()+0x24: can't find jump dest instruction at .text+0x39
@behlendorf

This comment has been minimized.

Member

behlendorf commented Jul 26, 2018

These warnings are the result of the kernel being configured with CONFIG_STACK_VALIDATION and are harmless. The version of objtool provided by the kernel is confused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment