[缺陷描述]: 使用iso安装龙芯系统后,无sctp模块,手动也无法加载 查询无sctp模块 # modinfo sctp modinfo: ERROR: Module sctp not found. # lsmod | grep sctp # modprobe sctp modprobe: FATAL: Module sctp not found in directory /lib/modules/4.19.190-3.an8.loongarch64 sctp相关config: # grep -i sctp /boot/config-4.19.190-3.an8.loongarch64 CONFIG_NF_CT_PROTO_SCTP=y CONFIG_NF_NAT_PROTO_SCTP=y CONFIG_NETFILTER_XT_MATCH_SCTP=m CONFIG_IP_VS_PROTO_SCTP=y CONFIG_IP_SCTP=m # CONFIG_SCTP_DBG_OBJCNT is not set CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y # CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1 is not set # CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set CONFIG_SCTP_COOKIE_HMAC_MD5=y # CONFIG_SCTP_COOKIE_HMAC_SHA1 is not set CONFIG_INET_SCTP_DIAG=m 系统镜像: http://8.131.87.1/kojifiles/output/an-8-loongarch64-RC1/compose/BaseOS/loongarch64/iso/ 内核信息: # uname -r 4.19.190-3.an8.loongarch64 操作系统信息: # cat /etc/anolis-release Anolis OS release 8.4 [root@localhost ~]# cat /etc/os-release NAME="Anolis OS" VERSION="8.4" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.4" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.4" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" cpu信息: # lscpu Architecture: loongarch64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 CPU family: Loongson-64bit Model name: Loongson-3A5000LL BogoMIPS: 4600.00 L1d cache: 64K L1i cache: 64K L2 cache: 256K L3 cache: 16384K NUMA node0 CPU(s): 0-3 Flags: cpucfg lam ual fpu lsx lasx complex crypto lvz lbt_x86 lbt_arm lbt_mips 内存信息: # free -h total used free shared buff/cache available Mem: 15Gi 1.3Gi 2.7Gi 18Mi 11Gi 12Gi Swap: 7.9Gi 1.0Mi 7.9Gi [期望结果]: 系统中存在sctp模块,且可以加载成功 [实际结果]: 系统中不存在sctp模块
龙芯最新内核支持sctp模块
请更新到kernel-4.19.190-4.an8
将内核升级到4.19.190-4,并升级kernel-modules-extra包后,问题解决 # uname -r 4.19.190-4.an8.loongarch64 # yum install kernel-modules-extra Last metadata expiration check: 2:42:31 ago on Mon 17 Jan 2022 02:22:52 PM CST. Dependencies resolved. =================================================================================================================================================================================== Package Architecture Version Repository Size =================================================================================================================================================================================== Installing: kernel-modules-extra loongarch64 4.19.190-4.an8 baseos 4.6 M Transaction Summary =================================================================================================================================================================================== Install 1 Package Total download size: 4.6 M Installed size: 303 k Is this ok [y/N]: y Downloading Packages: kernel-modules-extra-4.19.190-4.an8.loongarch64.rpm 15 MB/s | 4.6 MB 00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 15 MB/s | 4.6 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : kernel-modules-extra-4.19.190-4.an8.loongarch64 1/1 Running scriptlet: kernel-modules-extra-4.19.190-4.an8.loongarch64 1/1 Verifying : kernel-modules-extra-4.19.190-4.an8.loongarch64 1/1 Installed: kernel-modules-extra-4.19.190-4.an8.loongarch64 Complete! # modinfo sctp filename: /lib/modules/4.19.190-4.an8.loongarch64/kernel/net/sctp/sctp.ko.xz license: GPL description: Support for the SCTP protocol (RFC2960) author: Linux Kernel SCTP developers <linux-sctp@vger.kernel.org> alias: net-pf-10-proto-132 alias: net-pf-2-proto-132 depends: intree: Y name: sctp vermagic: 4.19.190-4.an8.loongarch64 SMP mod_unload modversions LOONGARCH 64BIT parm: no_checksums:Disable checksums computing and verification (bool) # modprobe sctp # lsmod | grep sctp sctp 622592 4
请更新到kernel-4.19.190-4.an8?