tiger762 |
08-12-2015 02:34 PM |
Cannot load SCTP kernel module on Fedora 21
Need to add SCTP supprt to the kernel. This used to be painless on older versions of Fedora and CentOS. Now? Painful.
Code:
[root@neutron ~]# uname -a
Linux neutron 4.0.6-200.fc21.x86_64 #1 SMP Tue Jun 23 13:59:12 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
So one theory I've read is to install kernel-modules-extra. Ok...
Code:
[root@neutron ~]# yum install kernel-modules-extra
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package kernel-modules-extra.x86_64 0:4.1.4-100.fc21 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================
Installing:
kernel-modules-extra x86_64 4.1.4-100.fc21 updates 2.2 M
Transaction Summary
==============================================================================================================================================================
Install 1 Package
Total download size: 2.2 M
Installed size: 2.1 M
Is this ok [y/d/N]: y
Downloading packages:
kernel-modules-extra-4.1.4-100 FAILED
http://mirror.cogentco.com/pub/linux/fedora/linux/updates/21/x86_64/k/kernel-modules-extra-4.1.4-100.fc21.x86_64.rpm: [Errno 14] HTTP Error 404 - Not FoundTA
Trying other mirror.
kernel-modules-extra-4.1.4-100 FAILED
http://repo.atlantic.net/fedora/linux/updates/21/x86_64/k/kernel-modules-extra-4.1.4-100.fc21.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found --:--:-- ETA
Trying other mirror.
kernel-modules-extra-4.1.4-100.fc21.x86_64.rpm | 2.2 MB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Installing : kernel-modules-extra-4.1.4-100.fc21.x86_64 1/1
Verifying : kernel-modules-extra-4.1.4-100.fc21.x86_64 1/1
Installed:
kernel-modules-extra.x86_64 0:4.1.4-100.fc21
Complete!
I wasn't really expecting it to work, and voila:
Code:
[root@neutron ~]# modprobe sctp
modprobe: FATAL: Module sctp not found.
OK, color me shocked. Does the damn module even exist?
Code:
[root@neutron ~]# find /usr/lib/modules -name 'sctp*'
/usr/lib/modules/4.0.6-200.fc21.x86_64/kernel/net/sctp
/usr/lib/modules/4.1.4-100.fc21.x86_64/kernel/net/sctp
/usr/lib/modules/4.1.4-100.fc21.x86_64/extra/net/sctp
/usr/lib/modules/4.1.4-100.fc21.x86_64/extra/net/sctp/sctp.ko
/usr/lib/modules/4.1.4-100.fc21.x86_64/extra/net/sctp/sctp_probe.ko.xz
/usr/lib/modules/4.1.4-100.fc21.x86_64/extra/net/sctp/sctp.ko.xz
/usr/lib/modules/3.19.5-200.fc21.x86_64/kernel/net/sctp
Hmmm, OK. It's there. Let's load it manually:
Code:
[root@neutron ~]# insmod /usr/lib/modules/4.1.4-100.fc21.x86_64/extra/net/sctp/sctp
insmod: ERROR: could not load module /usr/lib/modules/4.1.4-100.fc21.x86_64/extra/net/sctp/sctp: No such file or directory
[root@neutron ~]# insmod /usr/lib/modules/4.1.4-100.fc21.x86_64/extra/net/sctp/sctp.ko
insmod: ERROR: could not insert module /usr/lib/modules/4.1.4-100.fc21.x86_64/extra/net/sctp/sctp.ko: Invalid module format
OK, that's nice. "Invalid module format"
Another thing I saw suggested to first load ipv6. Okkkkk...
Code:
[root@neutron ~]# modprobe ipv6
[root@neutron ~]# modprobe sctp
modprobe: FATAL: Module sctp not found.
Anyone have any other guesses? Thanks.
|