Debian 11 installation with DMAR DRHD handling fault status reg 3 error message

From Thomas-Krenn-Wiki
Jump to navigation Jump to search

When installing Debian 11 on systems with a MegaRAID 9341-4i RAID controller, it may come to error messages such as AVAGO EFI SAS Driver is Unhealthy' during the starting process and DMAR: DRHD: handling fault status reg 3 when starting the operating system. In this article, we show how to install Debian 11 by using the kernel parameters intel_iommu=on and iommu=pt.

Error message in the BIOS, during boot process and installation

In this case, the installation was performed on a Supermicro mainboard X11SCH-LN4F and on a MegaRAID 9341-4i RAID controller, as both of these components lead to this error message in combination. This case is described in detail in the following article: MegaRAID 9341-4i Debian 11 DMAR DRHD handling fault status reg 3

Three types of errors that occur

Solution

To solve the problem, the Intel IOMMU functions must be set to pass-through in the Linux kernel.

The following kernel parameters must be set for this:intel_iommu=on iommu=pt

These parameters must be set three times

  1. in the Debian installer
  2. after booting in the GRUB
  3. in the OS under /etc/default/grub

1) Changes made during installation using the Debian installer

For a UEFi installation

For a LEGACY installation

The Raid is now displayed

2) Changes after installation in the GRUB

3) Changes in OS

After the parameters have been set and the update-grub command has been performed, they will now be executed every time the system starts up, ensuring that the RAID controller and the RAID array are detected correctly.

More information

References

  1. A Tour Beyond BIOS: Using IOMMU for DMA Protection in UEFI Firmware (www.intel.com)
  2. Linux IOMMU Support (www.kernel.org/doc)


Author: Leo Dirr

Leo Dirr joined Thomas-Krenn in 2018 to work in technical support. At the moment Leo is specializing in Windows Server, Software-Defined technologies and networking.


Translator: Alina Ranzinger

Alina has been working at Thomas-Krenn.AG since 2024. After her training as multilingual business assistant, she got her job as assistant of the Product Management and is responsible for the translation of texts and for the organisation of the department.


Template:Consultinglink

Related articles

Compiling Linux kernel under Ubuntu or Debian
Prohibit SSH root login on Debian
Setup Postfix in Debian