[srslte-users] Failed to Create SCTP socket
Ahmed Al Katranji
ahmed.katranji at gmail.com
Fri Mar 27 19:30:37 UTC 2020
Hi All,
Sorry for the multiple emails, I have modified the code to print out the
error, and here is what i got:
Built in Release mode using commit d045213f on branch master.
--- Software Radio Systems EPC ---
Reading configuration file /home/zynqmp/.config/srslte/epc.conf...
HSS Initialized.
Subscribing to sctp_data_io_events failed
sctp_data_io_events - SCTP error code is 22, error string is Invalid
argument
MME S11 Initialized
MME GTP-C Initialized
MME Initialized. MCC: 0xf001, MNC: 0xff01
SPGW GTP-U Initialized.
SPGW S11 Initialized.
SP-GW Initialized.
*** buffer overflow detected ***:
/home/zynqmp/srsLTE/build/srsepc/src/srsepc terminated
srsLTE crashed... backtrace saved in './srsLTE.backtrace.crash'...
--- exiting ---
Can you help?
Thank you,
On Fri, Mar 27, 2020 at 1:30 PM Ahmed Al Katranji <ahmed.katranji at gmail.com>
wrote:
> Hi all,
>
> I have recompiled my kernel after activating srsLTE.
>
> but i get this error now Built in Release mode using commit d045213f on
> branch master.
>
>
> --- Software Radio Systems EPC ---
>
> Reading configuration file /home/zynqmp/.config/srslte/epc.conf...
> HSS Initialized.
> Subscribing to sctp_data_io_events failed
> MME S11 Initialized
> MME GTP-C Initialized
> MME Initialized. MCC: 0xf001, MNC: 0xff01
> SPGW GTP-U Initialized.
> SPGW S11 Initialized.
> SP-GW Initialized.
> *** buffer overflow detected ***:
> /home/zynqmp/srsLTE/build/srsepc/src/srsepc terminated
> srsLTE crashed... backtrace saved in './srsLTE.backtrace.crash'...
> --- exiting ---
>
> can you help ?
>
> On Thu, Mar 12, 2020 at 8:11 AM Ralph A. Schmid, dk5ras <ralph at schmid.xxx>
> wrote:
>
>> I guess the kernel of your board does not include the SCTP options and
>> modules. I needed to recompile the kernel with these enabled, for being
>> able to use Nvidia ARM boards.
>>
>>
>> Ralph.
>>
>>
>>
>>
>>
>> *From:* srslte-users [mailto:
>> srslte-users-bounces at lists.softwareradiosystems.com] *On Behalf Of *Ahmed
>> Al Katranji
>> *Sent:* Wednesday, March 11, 2020 6:01 PM
>> *To:* srslte-users at lists.softwareradiosystems.com
>> *Subject:* [srslte-users] Failed to Create SCTP socket
>>
>>
>>
>> Hello there,
>>
>>
>>
>> I have an issue regarding SCTP socket. I am using srsLTE to setup test
>> environment. srsEPC is acting as LTE core network and srsENB is acting as
>> LTE access network. Both of two applications need to run on the same
>> Ultrazed board. After I do local compile on a linux box which is Intel CPU
>> supported, it works fine. But when I do cross compile for Ultrazed board
>> which is for ARM platform and run srsEPC, I got error in console - "Could
>> not create SCTP socket".
>>
>>
>>
>> Below is the source code of srsEPC
>>
>> m_s1ap_log->info("S1-MME Initializing\n");
>>
>> sock_fd = socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP);
>>
>> if (sock_fd == -1) {
>>
>> m_s1ap_log->console("Could not create SCTP socket\n");
>>
>> return -1;
>>
>> }
>>
>>
>>
>> I will very appreciate it if any expert can share your experience on how
>> to fix it. Looking forward to your reply.
>>
>>
>>
>> --
>>
>> Ahmed Al Katranji
>>
>
>
> --
> Ahmed Al Katranji
>
--
Ahmed Al Katranji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20200327/5ef457ae/attachment.htm>
More information about the srsran-users
mailing list