Bug 2515029

Summary: mcelog.service fails to start on modern AMD CPUs
Product: [Fedora] Fedora Reporter: Efraim Kaov <ephmo>
Component: mcelogAssignee: Prarit Bhargava <prarit>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 45CC: prarit
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Efraim Kaov 2026-08-13 00:43:14 UTC
The Fedora mcelog service fails to start on modern AMD processors because mcelog does not support the processor family.

I reproduced this on Fedora 44 and Fedora Rawhide 45. My CPU is an AMD Family 26 processor.

The service fails with:

mcelog: ERROR: AMD Processor family 26: mcelog does not support this processor. Please use the edac_mce_amd module instead.
mcelog: CPU is unsupported

As a result:

mcelog.service: Main process exited, code=exited, status=1/FAILURE
mcelog.service: Failed with result 'exit-code'

Reproducible: Always

Steps to Reproduce:
1.Install Fedora with the mcelog package installed.
2.Enable/start mcelog.service.
3.On an AMD Family 26 processor, observe that the service fails.
Actual Results:
mcelog.service - Machine Check Exception Logging Daemon Loaded: loaded (/usr/lib/systemd/system/mcelog.service; enabled; preset: enabled) Active: failed (Result: exit-code)

Expected Results:
mcelog.service should not leave a failed systemd service on hardware that it does not support.

Possible solutions could include:

making the service exit gracefully with an appropriate warning

Additional Information:
I also tested the latest upstream mcelog release, version 212. The latest version still does not support my AMD Family 26 processor and produces the same "CPU is unsupported" error.

rasdaemon works correctly on the same system.