LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-03-2008, 12:52 AM   #1
singhshyam
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
Unable to insert sctp.ko into kernel


Hi All
I am trying to insert sctp.ko into kernel but whenever i am going to run this command it will give me following error. I am using fedora 2.6.23.1-42.fc8.

command:-
/sbin/insmod sctp.ko
o/p:-
insmod: error inserting 'sctp.ko': -1 Required key not available

Please help me out.
Thanks & Regards
shyam singh
 
Old 01-03-2008, 01:05 AM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
Try using modprobe, not insmod.
If it still fails, try to load ipv6 first.
 
Old 01-03-2008, 01:13 AM   #3
singhshyam
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Uncle_Theodore View Post
Try using modprobe, not insmod.
If it still fails, try to load ipv6 first.

I have tried but it's giving error:-
FATAL: Module sctp.ko not found.
What i have to do. I am new to this module.
Regards
Shyam Singh
 
Old 01-03-2008, 01:21 AM   #4
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
Hm. Where's this module located in your system? Did you compile it with your kernel or separately? On my system it's here

$ locate sctp.ko
/lib/modules/2.6.23-ARCH/kernel/net/netfilter/nf_conntrack_proto_sctp.ko
/lib/modules/2.6.23-ARCH/kernel/net/netfilter/xt_sctp.ko
/lib/modules/2.6.23-ARCH/kernel/net/sctp/sctp.ko
 
Old 01-03-2008, 01:29 AM   #5
singhshyam
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Uncle_Theodore View Post
Hm. Where's this module located in your system? Did you compile it with your kernel or separately? On my system it's here

$ locate sctp.ko
/lib/modules/2.6.23-ARCH/kernel/net/netfilter/nf_conntrack_proto_sctp.ko
/lib/modules/2.6.23-ARCH/kernel/net/netfilter/xt_sctp.ko
/lib/modules/2.6.23-ARCH/kernel/net/sctp/sctp.ko

Hi,
I am not aware of this that wether it's compiled with kernel or sepretly because i got this readymade plateform from my local IDM. Sorry for inconvinience.

On my system it's here:-
/lib/modules/2.6.21-2950.fc8xen/kernel/net/netfilter/nf_conntrack_proto_sctp.ko
/lib/modules/2.6.21-2950.fc8xen/kernel/net/netfilter/xt_sctp.ko
/lib/modules/2.6.21-2950.fc8xen/kernel/net/sctp/sctp.ko
/lib/modules/2.6.23.1-42.fc8/kernel/net/netfilter/nf_conntrack_proto_sctp.ko
/lib/modules/2.6.23.1-42.fc8/kernel/net/netfilter/xt_sctp.ko
/lib/modules/2.6.23.1-42.fc8/kernel/net/sctp/.sctp.ko.swp
/lib/modules/2.6.23.1-42.fc8/kernel/net/sctp/sctp.ko

Thanks & Regards
shyam Singh
 
Old 01-03-2008, 01:43 AM   #6
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
OK, then one more question. When you load it with modprobe, you type
modprobe sctp
not modprobe sctp.ko, right?
 
Old 01-03-2008, 01:58 AM   #7
singhshyam
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Uncle_Theodore View Post
OK, then one more question. When you load it with modprobe, you type
modprobe sctp
not modprobe sctp.ko, right?
Thanks Buddy, I tried without extension & it's working. Thanks a lot Dear.
Regards
shyam singh
 
Old 04-27-2010, 03:54 AM   #8
meghadj
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Red face SCTP error:

Even after trying modprobe sctp.ko and without extension
the Error pertains can someone suggest me wat to do on this ?

FATAL: Error inserting sctp (/lib/modules/2.6.18.2-34-default/kernel/net/sctp/sctp.ko): Operation not permitted
 
Old 04-27-2010, 04:10 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You must be root to run modprobe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Insert SCTP module at bootup j.bhanot Linux - Newbie 1 04-30-2008 10:31 PM
Info required --sctp patch for kernel 2.6.8-24-default Bala Linux - Kernel 1 05-24-2007 03:47 PM
how to install the sctp module for my new kernel lenky0401 Linux - Kernel 7 12-03-2006 10:02 AM
unable to insert oss module linuxmandrake Debian 1 09-30-2005 06:29 PM
Cisco VPN Client unable to insert kernel module cuco76 Linux - Networking 2 04-14-2005 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:17 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