Oct 22, 2019
Hi. In the wiki here


there is a script that seems contradictory. It is supposed to tell you whether your system has Interrupt remapping support but in this script there are 2 answer options which are really the same:

if [ $(dmesg | grep ecap | wc -l) -eq 0 ]; then
echo "No interrupt remapping support found"
exit 1

for i in $(dmesg | grep ecap | awk '{print $NF}'); do
if [ $(( (0x$i & 0xf) >> 3 )) -ne 1 ]; then
echo "Interrupt remapping not supported"
exit 1

Which is the answer for yes and which one is for no ??

Thanks for your help in advance....
The first if statement is just an early exit, because no further check needed if there is no output from grep for "ecap".
Which is the answer for yes and which one is for no ??

I was also puzzled at first glance as the descriptive text suggest an answer in the case that you have irq remapping support, but it is not. If the command does not output that you do not have irq remapping support, you will actually have remapping support and everything should work as expected.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!