LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-12-2015, 02:34 PM   #1
tiger762
LQ Newbie
 
Registered: Apr 2006
Posts: 11

Rep: Reputation: 0
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.
 
Old 08-13-2015, 12:08 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
The kernel you are running is 4.0.6-200.fc21.x86_64
The module that you have is for a different kernel 4.1.4-100.fc21.x86_64

It looks like you have installed the updated kernel, but are still running the old one. Reboot and select the new kernel in grub and see if that works. If it does, change to the new kernel as default.
 
Old 08-13-2015, 01:29 PM   #3
tiger762
LQ Newbie
 
Registered: Apr 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you! That worked! Will remember that in the future. I had done a "yum update" right before all of this.

Quote:
Originally Posted by smallpond View Post
The kernel you are running is 4.0.6-200.fc21.x86_64
The module that you have is for a different kernel 4.1.4-100.fc21.x86_64

It looks like you have installed the updated kernel, but are still running the old one. Reboot and select the new kernel in grub and see if that works. If it does, change to the new kernel as default.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel version for "sctp: make sctp over IPv6 work with IPsec" patch yhclqo Linux - Kernel 2 08-27-2010 01:00 AM
Can kernel SCTP co-exist with different SCTP in user space? JohnJLewis Linux - Kernel 0 07-19-2010 01:29 PM
Compile and load kernel module automatically after boot? (Intel NIC module) touser Linux - Newbie 3 08-29-2009 08:45 PM
RH ES4: SCTP kernel module not automatically loaded cpillonel Linux - Software 0 01-14-2008 01:24 AM
how to install the sctp module for my new kernel lenky0401 Linux - Kernel 7 12-03-2006 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration