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日志 在方德系统上没看到这个报错
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