Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Passing Mellanox qsfp card to VM

Featured Replies

Hi,

 

I'm trying to pass Mellanox QSFP card to VM and getting the below error.

 

Execution error

internal error: qemu unexpectedly closed the monitor: qxl_send_events: spice-server bug: guest stopped, ignoring 2023-02-17T04:31:12.804036Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:07:00.0","id":"hostdev2","bus":"pci.0","addr":"0xb"}: vfio 0000:07:00.0: Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Device or resource busy

 

I verified the below link which was discussed on same issue. 

I tried to run the check.sh script as per the discussion in the link and got the below result. 

 

root@NetPlex:~# ./check.sh 07:00.0
INTx disable support available on 07:00.0

 

Then I ran

echo -n 1 > "/sys/devices/pci0000:00/0000:00:07.0/remove"

 

and started the VM but no luck. Please help me.

 

netplex-diagnostics-20230216-2028.zip

You have an issue with irq conflicts:

Feb 16 20:15:41 NetPlex kernel: genirq: Flags mismatch irq 33. 00000000 (vfio-intx(0000:07:00.0)) vs. 00000080 (vfio-intx(0000:06:00.1))

where 7:00.0 is the mellanox card and 6:00.1 is the intel network controller (it's a part of it).

You have different options, and it could be you wont solve the issue because you couldn't apply one of the following things:

1. Some bioses have irq assignement: if your bios does have it, assign a different irq to the mellanox or intel card

2. Phisically move the mellanox card in another pcie slot to "hopefully" change the irq

3. Disable in bios the intel controller so the irq doesn't conflict (...but you use it, so that's not the way...)

 

PS: did you try the script on 6:00.1? intx should not be available..

 

Quote

Then I ran

echo -n 1 > "/sys/devices/pci0000:00/0000:00:07.0/remove"

 

and started the VM but no luck. Please help me.

 

You removed the mellanox...you need to remove the intel if the mellanox is passed to the vm you want to run.

Edited by ghost82

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.