Bug 137 - [Anolis OS 8.4 龙芯版][4.19.190-3.an8.loongarch64]当前通过iso安装的龙芯系统不支持connector
Summary: [Anolis OS 8.4 龙芯版][4.19.190-3.an8.loongarch64]当前通过iso安装的龙芯系统不支持connector
Status: REOPENED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: unspecified
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: ticat
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-17 17:14 UTC by shanxifanshi
Modified: 2022-03-24 04:28 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shanxifanshi alibaba_cloud_group 2021-12-17 17:14:10 UTC
[缺陷描述]:
当前通过iso安装的龙芯系统不支持connector

查询进程目录下无connector目录
# ll /proc/net/connector
ls: cannot access '/proc/net/connector': No such file or directory

connector相关config:
# grep -i connector /boot/config-4.19.190-3.an8.loongarch64
# CONFIG_CONNECTOR is not set

系统镜像:
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

[期望结果]:
龙芯系统支持connector

[实际结果]:
龙芯系统不支持connector

[初步分析]:
龙芯系统connector编译开关未打开,请开发同学确认是否可以支持connector
Comment 1 ticat loongson_group 2021-12-21 20:14:48 UTC
分析:
内核配置项未打开
解决:
CONFIG_CONNECTOR=m/y
Comment 2 yangyinglu loongson_group 2021-12-27 10:43:39 UTC
龙芯最新内核支持配置文件CONFIG_CONNECTOR,并在系统中导出此变量

root@loongson-pc:/home/loongson# ls /proc/net/connector 
/proc/net/connector
Comment 3 shanxifanshi alibaba_cloud_group 2022-01-11 18:41:20 UTC
目前rc2版本还是不支持connector,持续关注
# ls /proc/net/connector
ls: cannot access '/proc/net/connector': No such file or directory
Comment 4 yangyinglu loongson_group 2022-01-11 20:46:43 UTC
最新版本比RC2新,服务器内核最新版本还没有评审。
Comment 5 shanxifanshi alibaba_cloud_group 2022-01-21 18:10:29 UTC
使用最新的龙芯8.4 GA ISO安装系统后进行验证,该问题依然未解决
# uname -r
4.19.190-4.an8.loongarch64

# ls /proc/net/connector
ls: cannot access '/proc/net/connector': No such file or directory

# grep -i connector /boot/config-4.19.190-4.an8.loongarch64
# CONFIG_CONNECTOR is not set