Bug 9095 - 进行Pstate压力测试过程出现mcelog error报错,显示mcelog不支持海光4号CPU
Summary: 进行Pstate压力测试过程出现mcelog error报错,显示mcelog不支持海光4号CPU
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-5.10 (show other bugs) kernel - anck-5.10
Version: 8.9
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao_mq
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-21 19:30 UTC by suma_yantr
Modified: 2024-05-22 10:00 UTC (History)
1 user (show)

See Also:


Attachments
进行Pstate压力测试过程出现mcelog error报错,显示mcelog不支持海光4号CPU (701.98 KB, application/x-compressed)
2024-05-21 19:30 UTC, suma_yantr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description suma_yantr 2024-05-21 19:30:53 UTC
Created attachment 1165 [details]
进行Pstate压力测试过程出现mcelog error报错,显示mcelog不支持海光4号CPU

【问题描述】
HG4号平台整机进行Pstate压力测试过程中,系统messages日志会出现mcelog的报错,显示mcelog对当前海光4号CPU不支持,具体报错如下:

Dec  5 09:13:35 DS2_B mcelog[3099]: mcelog: ERROR: Hygon Processor family 24: mcelog does not support this processor.  Please use the edac_mce_amd module instead.

HG反馈OS某个预装软件mcelog不支持HYGON处理器报出log日志
在方德系统上没看到这个报错
Comment 1 yixingrui alibaba_cloud_group 2024-05-22 10:00:31 UTC
anolis 8 使用的mcelog工具为upstream原版,其中的报错信息在 mcelog.c 470行

else if (!strcmp(vendor,"HygonGenuine")) {
                                Eprintf("ERROR: Hygon Processor family %d: mcelog does not support this processor.  Please use the edac_mce_amd module instead.\n", family);

这里已经识别到是海光cpu,建议按照提示换用edac_mce_amd模块后再尝试
相关内核补丁早已合入anck
https://gitee.com/anolis/cloud-kernel/commit/c4cb42523b34f31d10af35bed127f9da2d7948c8