• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    CM5 sctp运行报错

    Scheduled Pinned Locked Moved Pi CM5
    8 Posts 2 Posters 565 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      asdf
      last edited by

      使用apt方式安装sctp

      sudo apt install lksctp-tools -y
      

      在检测sctp是否正常时遇到以下问题
      173a3106-55b3-4907-b2c0-36821b87dcce-image.png
      使用以下方法,查找不到 sctp-blacklist.conf文件
      4b45a691-fe16-46d7-b65f-8de9584edc11-image.png

      按照以下方法,运行modprobe sctp报错
      4a3d7d77-06ef-4e3e-872b-7a3929379639-image.png
      报错信息如下
      3128bcdb-6cf2-4e4f-a5d1-0e92eae726b3-image.png
      在/lib/modules/5.10.110下没有找到sctp相关文件

      GitHub上找到以下方法,同样无效,找不到kernel-module-extra安装包
      9257f5f5-b84f-4ac0-b800-0cd3c6efec76-image.png

      使用源码编译的方式安装sctp会出现同样问题
      源码地址如下https://github.com/sctp/lksctp-tools

      系统信息如下
      77bc1c5c-ae9e-4e70-9ec4-7c2be261fe9a-image.png

      请问如何才能使sctp正常工作?

      G 1 Reply Last reply Reply Quote 0
      • G
        george @asdf
        last edited by

        @asdf 内核开启SCTP的相关配置。
        872df2b9-6717-4660-8172-8eb594835629-image.png

        A 1 Reply Last reply Reply Quote 0
        • A
          asdf @george
          last edited by

          @george 没太看懂这个解决办法,请问具体要如何配置?

          G 1 Reply Last reply Reply Quote 0
          • G
            george @asdf
            last edited by george

            @asdf SCTP的协议是需要内核支持的,你要再内核源码中开启相关配置,重新编译替换内核,然后在文件系统安装对应的包才可以正常使用。

            A 1 Reply Last reply Reply Quote 0
            • A
              asdf @george
              last edited by

              @george 我们已经知道需要修改内核源码了,但是对于内核编译相关不是很了解,能找到这些配置项所在文件位置,但是在KConfig中,不知道应该如何修改其配置。请问能否给出一个修改的示例用于表示该配置项已经开启?

              G 1 Reply Last reply Reply Quote 0
              • G
                george @asdf
                last edited by

                @asdf 参考下面文档:
                https://wiki.cool-pi.com/en/home/application_notes

                A 1 Reply Last reply Reply Quote 0
                • A
                  asdf @george
                  last edited by

                  @george 问题已解决,感谢答复。

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    george @asdf
                    last edited by

                    @asdf 不客气,具体解决方法可以整理一下,方便后面的小伙伴学习。

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post