Linux – Firmware bug error message on Arch on Apple

arch linuxfirmwaremacintosh

On Arch Linux on a MacBook Air 5.1 i get the error message

DMAR-IR: [Firmware Bug]: ioapic 2 has no mapping iommu,
interrupt remapping will be disabled

when booting. I can't notice any problem, but what is this?
Does it need to be fixed and if so how?

Best Answer

In general: This feature allows the kernel to replace the remapping tables created by your BIOS.

If it's a system firmware bug, updates to Arch aren't going to fix it. You'd need to update your system firmware (BIOS/UEFI) by flashing. I personally don't recommend that. You should only do this if you really know how to flash your hardware.

The "soft" way is to disable the interrupt remapping in the kernel boot parameters. intremap=off disables the kernel interrupt remapping, which might point to your buggy bios or hardware.

First take a look at your config with cat /proc/cmdline. Copy it to see changes later on. Now back up your /etc/default/grub by copying it to a direction you want. To make the change persistent after a reboot edit /etc/default/grub and append your kernel options to the GRUB_CMDLINE_LINUX_DEFAULT line. In your case it is intremap=off (put it into the " "). You can delete the quiet if it is in there. Save it and exit.

Now re-generate the grub.cfg file (it is generated with the parameters written in /etc/default/grub) with: sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Reboot your system and the error should be gone. Take a look at your config with cat /proc/cmdline, your changes should be visable.

Related Question