查看问题详情

编号项目分类查看权限最后更新
0000324Anolis OS 7Generalpublic2021-11-17 10:42
报告员anolis_account 分派给xingxin830  
优先级low严重性minor出现频率always
状态 assigned处理状况open 
平台aarch64操作系统Anolis OS操作系统版本7.7
标题0000324: [Anolis OS 7.7][aarch64]dmesg check, cacheinfo: Unable to detect cache hierarchy for CPU 0
描述开机启动后,dmesg日志中有如下warning日志:
#dmesg -l warn -T
cacheinfo: Unable to detect cache hierarchy for CPU 0

[重现概率]
必现

[重现环境]
# uname -a
Linux VM20210425-1 4.19.91-24.8.an7.aarch64 #1 SMP Sat Sep 18 16:58:48 CST 2021 aarch64 aarch64 aarch64 GNU/Linux

[root@VM20210425-1]# cat /etc/os-release
NAME="Anolis OS"
VERSION="7.7"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="7.7"
PRETTY_NAME="Anolis OS 7.7"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugs.openanolis.cn/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

anolis8 上有同样BUG https://bugs.openanolis.cn/view.php?id=258
问题重现步骤安装arm版本虚拟机后,进入环境,执行命令:dmesg -l warn -T
附注anolis8 上有同样BUG https://bugs.openanolis.cn/view.php?id=258
标签没加标签.

活动

Shiloong

2021-10-28 10:58

开发人员   ~0000546

这个跟 NUMA 拓扑虚拟化有关, 不是什么大问题.
也请 @宝林 帮忙看看.

http://zhiyisun.github.io/2016/06/25/Get-Cache-Info-in-Linux-on-ARMv8-64-bit-Platform.html
---
It is good to get a ARM 64-bit box and practice it on that. We can use qemu-system-aarch64 as an alternative. But you probably will say “There is no cache info in sysfs!”.
That’s true. :-) Because there is no “next-level-cache” in machine virt’s default device tree.
Function cache_shared_cpu_map_setup will return error. You can see below log from dmesg:
"Unable to detect cache hierarchy from DT for CPU 0"

问题历史

日期 用户名 字段 更改
2021-10-13 16:14 anolis_account 新建问题
2021-10-19 12:34 geliwei-ali 分派给 => Shiloong
2021-10-19 12:34 geliwei-ali 状态 新建 => 已分配
2021-10-28 10:58 Shiloong 注释已添加: 0000546
2021-11-17 10:42 Shiloong 分派给 Shiloong => xingxin830
2021-11-17 10:42 Shiloong 优先级 中 => 低