Linux Kernel for LSDK 21.08: SCTP ENABLE in LX2160

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linux Kernel for LSDK 21.08: SCTP ENABLE in LX2160

Jump to solution
675 Views
Chidananda22
Contributor III

Hi Team ,

Need some help in enabling SCTP .

Installed default LSDK 21.08 in LX2160.

Getting below error while running our application.

SCTP_soscket: Protocol not supported
SCTP_soscket: Protocol not supported

Then followed the below steps still SCTP module not added.

./tools/flex-builder -m lx2160ardb_rev2 -b sd

./tools/flex-builder -c linux:custom -m lx2160ardb_rev2 -b sd

./tools/flex-builder -c linux -m lx2160ardb_rev2 -b sd

Can you please help.

0 Kudos
1 Solution
3 Replies
123 Views
lthrl
Contributor II

Hello,

I have the same problem with the SCTP protocol on an LX2160 board.
Does anyone know how to install and activate the SCTP protocol?

Here are the errors:
[SCTP] Socket creation failed: Protocol not supported
[SCTP] could not open socket, no SCTP connection established
[SCTP] Socket creation failed: Protocol not supported
[SCTP] could not open server socket, no SCTP listener active
[SCTP] Failed to create new SCTP listener

Here is more information:

$ checksctp
checksctp: Protocol not supported

$ lsmod | grep sctp
(nothing)

$ zcat /proc/config.gz | grep SCTP
CONFIG_NF_CT_PROTO_SCTP=y
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
# CONFIG_IP_VS_PROTO_SCTP is not set
# CONFIG_IP_SCTP is not set

I tried to retrieve a sctp.ko file and then load it into the linux kernel with the command: sudo insmod -f ./sctp.ko
When I loaded it, the board rebooted with no new features.
The kernel version for which this module was compiled is 5.10.35-00078-g4c69857cb565 while the one I'm on is 5.10.35-00067-g241f7241ce2.

$ sudo modprobe sctp.ko
modprobe: FATAL: Module sctp.ko not found in directory /lib/modules/5.10.35-00067-g241f7241ce2

$ sudo modprobe sctp
(nothing, but nothing has changed)

$ ls /lib/modules/5.10.35-00067-g241f7241ce2
build
modules.alias                    modules.builtin
modules.builtin.bin             modules.dep
modules.devname             modules.softdep
modules.symbols.bin         kernel
modules.alias.bin              modules.builtin.alias.bin
modules.builtin.modinfo    modules.dep.bin modules.order modules.symbols sctp.ko source

Thanks in advance for your help !

0 Kudos
632 Views
Chidananda22
Contributor III

Thank You . Able to resolve now.

0 Kudos