399 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

【openEuler20.03 LTS SP3 RC2】【ARM】执行长稳sysfs用例中断,产生core文件。

已完成
缺陷
创建于  
2021-12-07 10:04

【标题描述】执行长稳sysfs用例中断,产生core文件。
【环境信息】
硬件信息:
ethtool -i enp125s0f0
driver: hns3
软件信息:
1) OS版本及分支:openEuler 20.03 LTS SP3
2) 内核信息:4.19.90-2111.5.0.0123.oe1.aarch64
3) 软件组件:dfx_long_stress
如果有特殊组网,请提供网络拓扑图
【问题复现步骤】
cd dfx_long_stress
sh startrunall.sh -p EulerOS_arm
出现概率:必现
【预期结果】
长稳程序连续执行多天,不中断,产生core文件
【实际结果】
执行中产生core文件
【附件信息】
输入图片说明

评论 (2)

mazenggang 创建了缺陷
openeuler-ci-bot 添加了
 
sig/Kernel
标签
展开全部操作日志

Hi mazenggang3, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers: @Xie XiuQi, @YangYingliang, @成坚 (CHENG Jian).

问题原因:
由于内容较多,debugfs中一条命令实际需要多次读取操作,并发读取时会造成时序混乱,内存访问错乱,导致call trace。

解决方案:
通过增加锁进行保护。

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 7863432 mazenggang3 1672821803
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助

53164aa7 5694891 3bd8fe86 5694891