LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Unable to insert sctp.ko into kernel (https://www.linuxquestions.org/questions/linux-kernel-70/unable-to-insert-sctp-ko-into-kernel-610739/)

singhshyam 01-03-2008 12:52 AM

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

Uncle_Theodore 01-03-2008 01:05 AM

Try using modprobe, not insmod.
If it still fails, try to load ipv6 first.

singhshyam 01-03-2008 01:13 AM

Quote:

Originally Posted by Uncle_Theodore (Post 3009375)
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

Uncle_Theodore 01-03-2008 01:21 AM

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

singhshyam 01-03-2008 01:29 AM

Quote:

Originally Posted by Uncle_Theodore (Post 3009386)
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

Uncle_Theodore 01-03-2008 01:43 AM

OK, then one more question. When you load it with modprobe, you type
modprobe sctp
not modprobe sctp.ko, right?

singhshyam 01-03-2008 01:58 AM

Quote:

Originally Posted by Uncle_Theodore (Post 3009397)
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

meghadj 04-27-2010 03:54 AM

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

bathory 04-27-2010 04:10 AM

You must be root to run modprobe


All times are GMT -5. The time now is 08:20 PM.