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 modprobe fail #3986

Closed
dmaziuk opened this Issue Nov 4, 2015 · 7 comments

Comments

Projects
None yet
5 participants
@dmaziuk

dmaziuk commented Nov 4, 2015

This is ugly because I've just updated 4 centos 7 machines to 3.10.0-229.20.1.el7.x86_64 kernel and only on one of them I get

[root@batfish modules]# modprobe -v zfs
insmod /lib/modules/3.10.0-229.20.1.el7.x86_64/weak-updates/zfs.ko zfs_arc_max=2147483648 
modprobe: ERROR: could not insert 'zfs': Invalid argument
[root@batfish modules]# ls /lib/modules/3.10.0-229.20.1.el7.x86_64/weak-updates/
forcedeth  spl  splat.ko  spl.ko  zavl.ko  zcommon.ko  zfs  zfs.ko  znvpair.ko  zpios.ko  zunicode.ko
[root@batfish modules]# insmod /lib/modules/3.10.0-229.20.1.el7.x86_64/weak-updates/zfs.ko
insmod: ERROR: could not insert module /lib/modules/3.10.0-229.20.1.el7.x86_64/weak-updates/zfs.ko: Invalid parameters

They're all AMD SuperMicros, the one that's failing is the oldest -- something like 2008 vintage -- but is working just fine with the the previous build: 3.10.0-229.14.1.el7.x86_64.

Weird.

@behlendorf

This comment has been minimized.

Show comment
Hide comment
@behlendorf

behlendorf Nov 12, 2015

Member

@dmaziuk that is strange. Could you include the dmesg output. I suspect completely removing and reinstalling the packages would solve the issue.

Member

behlendorf commented Nov 12, 2015

@dmaziuk that is strange. Could you include the dmesg output. I suspect completely removing and reinstalling the packages would solve the issue.

@dmaziuk

This comment has been minimized.

Show comment
Hide comment
@dmaziuk

dmaziuk Nov 12, 2015

I think dmesg.old is the one you want, dmesg is with previous (working) kernel attached just for reference.

dmesg.old.txt
dmesg.txt

dmaziuk commented Nov 12, 2015

I think dmesg.old is the one you want, dmesg is with previous (working) kernel attached just for reference.

dmesg.old.txt
dmesg.txt

@chuckleb

This comment has been minimized.

Show comment
Hide comment
@chuckleb

chuckleb Nov 28, 2015

I also got this while updating my CentOS 7 machine. A clean remove/reinstall of zfs and spl fixed it. I followed the instructions here:
http://www.yuna.se/2015/11/23/zfs-on-centos-rebuild-after-yum-upgrade-fucks-up/

Simply, the instructions are:
yum erase zfs zfs-dkms libzfs2 spl spl-dkms
yum install zfs

chuckleb commented Nov 28, 2015

I also got this while updating my CentOS 7 machine. A clean remove/reinstall of zfs and spl fixed it. I followed the instructions here:
http://www.yuna.se/2015/11/23/zfs-on-centos-rebuild-after-yum-upgrade-fucks-up/

Simply, the instructions are:
yum erase zfs zfs-dkms libzfs2 spl spl-dkms
yum install zfs

@rhagu

This comment has been minimized.

Show comment
Hide comment
@rhagu

rhagu Jan 6, 2016

Hi, I just encountered the same problem. I updated today after a long time of not logging into the machine. It is a supermicro board with Intel CPU: http://pastebin.com/SiqgX728

This is the error message I get with yum update: http://pastebin.com/tJAkYLPX

I am running CentOS Linux release 7.2.1511 (Core) at the moment.

rhagu commented Jan 6, 2016

Hi, I just encountered the same problem. I updated today after a long time of not logging into the machine. It is a supermicro board with Intel CPU: http://pastebin.com/SiqgX728

This is the error message I get with yum update: http://pastebin.com/tJAkYLPX

I am running CentOS Linux release 7.2.1511 (Core) at the moment.

@fishdust

This comment has been minimized.

Show comment
Hide comment
@fishdust

fishdust Apr 2, 2016

Same issue for me. I did what chuckleb mentioend:
yum erase zfs zfs-dkms libzfs2 spl spl-dkms
reboot
yum install zfs
reboot

fishdust commented Apr 2, 2016

Same issue for me. I did what chuckleb mentioend:
yum erase zfs zfs-dkms libzfs2 spl spl-dkms
reboot
yum install zfs
reboot

@chuckleb

This comment has been minimized.

Show comment
Hide comment
@chuckleb

chuckleb Apr 2, 2016

I just ran updates last night and ran into same problem. Rebooted and no zfs. Did the yum erase, yum install, reboot and everything works. @fishdust, shouldn't need a reboot between erase and install.

chuckleb commented Apr 2, 2016

I just ran updates last night and ran into same problem. Rebooted and no zfs. Did the yum erase, yum install, reboot and everything works. @fishdust, shouldn't need a reboot between erase and install.

@behlendorf

This comment has been minimized.

Show comment
Hide comment
@behlendorf

behlendorf Nov 8, 2016

Member

Closing as stale.

Member

behlendorf commented Nov 8, 2016

Closing as stale.

@behlendorf behlendorf closed this Nov 8, 2016

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