mcelog and edac_mce_amd kernel module does not work on a virtual machine with AMD CPU

Solution Verified - Updated -

Issue

  • mcelog daemon fails with an error message and asks to use edac_mce_amd kernel module.
  • edac_mce_amd kernel module fails to load with error message could not insert 'edac_mce_amd': Invalid argument
  • edac_mce_amd kernel module does not load on virtual machines.

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Virtual machine with AMD CPU (observed on VMware and Azure hypervisors)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content