查看问题详情

编号项目分类查看权限最后更新
0000230Anolis OS 8kernelpublic2021-10-14 16:33
报告员anolis_account 分派给Shiloong  
优先级normal严重性minor出现频率always
状态 assigned处理状况open 
平台x86_64操作系统Anolis OS操作系统版本8
标题0000230: [Anolis 8.2/4]dmesg check:unchecked MSR access error: WRMSR to 0x3a (tried to write 0x0000000000000001) at rIP: 0xffffffffa706b0
描述dmesg 检查发现报错信息
引入写MSR 0x3a的commit为: https://github.com/torvalds/linux/commit/1db2a6e1e29ff994443a9eef7cf3d26104c777a7 14 Jan 2020引入

涉及镜像
Anolis 8.2 x86_64 anck
Anolis 8.4 x86_64 rhck
Anolis 8.4 x86_64 anck

错误信息稍有差异:
Anolis 8.2 x86_64 anck/Anolis 8.4 x86_64 anck
# dmesg -l warn -T
[Tue Aug 24 16:44:05 2021] unchecked MSR access error: WRMSR to 0x3a (tried to write 0x0000000000000001) at rIP: 0xffffffffa706b0f4 (native_write_msr+0x4/0x20)
[Tue Aug 24 16:44:05 2021] Call Trace:
[Tue Aug 24 16:44:05 2021] init_ia32_feat_ctl+0x6a/0xc9
[Tue Aug 24 16:44:05 2021] init_intel+0x103/0x4b8
[Tue Aug 24 16:44:05 2021] identify_cpu+0x2af/0x5b0
[Tue Aug 24 16:44:05 2021] identify_boot_cpu+0xc/0x74
[Tue Aug 24 16:44:05 2021] check_bugs+0x28/0xa66
[Tue Aug 24 16:44:05 2021] ? __slab_alloc+0x29/0x30
[Tue Aug 24 16:44:05 2021] ? kmem_cache_alloc+0x188/0x190
[Tue Aug 24 16:44:05 2021] start_kernel+0x4f4/0x523
[Tue Aug 24 16:44:05 2021] secondary_startup_64+0xa4/0xb0


Anolis 8.2 x86_64 anck
# dmesg -l warn -T
[Tue Aug 24 16:44:00 2021] unchecked MSR access error: WRMSR to 0x3a (tried to write 0x0000000000000001) at rIP: 0xffffffffb3469f84 (native_write_msr+0x4/0x20)
[Tue Aug 24 16:44:00 2021] Call Trace:
[Tue Aug 24 16:44:00 2021] init_ia32_feat_ctl+0xa5/0x355
[Tue Aug 24 16:44:00 2021] init_intel+0xdf/0x400
[Tue Aug 24 16:44:00 2021] identify_cpu+0x1f1/0x560
[Tue Aug 24 16:44:00 2021] identify_boot_cpu+0xc/0x77
[Tue Aug 24 16:44:00 2021] check_bugs+0x28/0xaa8
[Tue Aug 24 16:44:00 2021] ? pmd_page_vaddr+0x7/0x40
[Tue Aug 24 16:44:00 2021] ? __get_locked_pte+0x12e/0x1b0
[Tue Aug 24 16:44:00 2021] start_kernel+0x504/0x538
[Tue Aug 24 16:44:00 2021] secondary_startup_64_no_verify+0xc2/0xcb




问题重现步骤reboot,检查dmesg信息 dmesg -l warn -T
标签没加标签.

活动

Shiloong

2021-08-31 11:15

开发人员   ~0000364

这个看起来像是 ECS 虚拟机上的已知问题, 帮忙补充一下实例规格信息.

anolis_account

2021-08-31 13:55

报告者   ~0000368

@Shiloong:这个看起来像是 ECS 虚拟机上的已知问题, 帮忙补充一下实例规格信息.
--------------------------------------------------------
目前在以下ecs实例上遇到了 ecs.d1.2xlarge,ecs.d2s.5xlarge,ecs.i1.xlarge,ecs.i2.xlarge

Shiloong

2021-09-06 09:56

开发人员   ~0000373

这个也请 @富邻 一起看看吧, 我理解这个warning 影响不大, 要修的话也是需要虚拟化来修. 看之前的结论是这批虚拟机软件版本过老, 他们似乎不打算修了.
这个问题在物理机场景应该是没有的.

artie-ding

2021-09-06 13:10

开发人员   ~0000375

内核版本是多少?

jacobwang

2021-09-10 15:09

经理   ~0000396

https://mirrors.openanolis.cn/anolis/8/Plus/source/Packages/kernel-4.19.91-23.4.an8.src.rpm

yinyongchen

2021-10-13 17:13

报告者   ~0000485

Anolis 8.4
实例:ecs.g7.large
镜像:anolisos_8_4_x64_20G_anck_alibase_20211008
问题:dmesg warn中同样存在 MSR access error , 请确认是否为同一问题
# uname -r
4.19.91-24.8.an8.x86_64
# dmesg -l warn -T
[Wed Oct 13 15:40:35 2021] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
[Wed Oct 13 15:40:35 2021] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
checking dnesg warn ...
[Wed Oct 13 15:40:34 2021] unchecked MSR access error: WRMSR to 0x48 (tried to write 0x0000000000000001) at rIP: 0xffffffff8206b0f4 (native_write_msr+0x4/0x20)
[Wed Oct 13 15:40:34 2021] Call Trace:
[Wed Oct 13 15:40:34 2021] check_bugs+0x2b0/0xa66
[Wed Oct 13 15:40:34 2021] ? __slab_alloc+0x29/0x30
[Wed Oct 13 15:40:34 2021] ? kmem_cache_alloc+0x188/0x190
[Wed Oct 13 15:40:34 2021] start_kernel+0x4f4/0x523
[Wed Oct 13 15:40:34 2021] secondary_startup_64+0xa4/0xb0
[Wed Oct 13 15:40:34 2021] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[Wed Oct 13 15:40:39 2021] systemd: 17 output lines suppressed due to ratelimiting

wb-wpp899309

2021-10-14 16:33

报告者   ~0000491

Anolis OS 7.7有同样问题:
# 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"

# uname -r
4.19.91-24.8.an7.x86_64
[root@localhost ~]# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz
Stepping: 7
CPU MHz: 2500.000
BogoMIPS: 5000.00
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
L3 cache: 36608K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ibrs ibpb stibp fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_vnni

问题历史

日期 用户名 字段 更改
2021-08-24 17:14 anolis_account 新建问题
2021-08-31 11:02 jacobwang 分派给 => Shiloong
2021-08-31 11:02 jacobwang 状态 新建 => 已分配
2021-08-31 11:15 Shiloong 注释已添加: 0000364
2021-08-31 13:55 anolis_account 注释已添加: 0000368
2021-09-06 09:56 Shiloong 注释已添加: 0000373
2021-09-06 13:10 artie-ding 注释已添加: 0000375
2021-09-10 15:09 jacobwang 注释已添加: 0000396
2021-10-13 17:13 yinyongchen 注释已添加: 0000485
2021-10-14 16:33 wb-wpp899309 注释已添加: 0000491