Can't passthrough Mellanox ConnectX-3 to VM

tony53517230

New Member
Jul 7, 2021
1
0
1
23
大家好,首先,英語不是我的母語,但我會盡力描述我將要做的事情,所以如果有任何不清楚的地方,請告訴我,我會盡力解釋。

我有一台安裝了 PVE 的服務器,它可以識別 ConnectX-3 並且工作正常,但是當我嘗試將它傳遞到我的 TrueNAS VM 時,出現以下錯誤

kvm: -device vfio-pci,host=0000:01:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio 0000:01:00.0: 未能為中斷 INTX-0 設置 TRIGGER eventfd 信號: VFIO_DEVICE_SET_IRQS 失敗:設備或資源繁忙 任務錯誤:啟動失敗:QEMU 退出,代碼為 1

我有另一個 Openwrt VM,它通過另一個 1Gbps NIC 並且工作正常,所以我不認為這是一個傳遞配置錯誤,但我想問一下是否還有其他一些內核問題。

另外我發現我的網卡有雙端口,但pci設備中只顯示一個,我想知道這是否是錯誤的原因。

我google了一下,發現很多人都遇到過這個錯誤,但是又找不到解決辦法,所以來這個論壇問問大家
 

Attachments

  • 螢幕擷取畫面 2021-07-07 153609.png
    螢幕擷取畫面 2021-07-07 153609.png
    145.3 KB · Views: 22
  • messageImage_1625641141663.jpeg
    messageImage_1625641141663.jpeg
    329.6 KB · Views: 20
hi,

please post your question in english, otherwise not many people will be able to help you.

in any case, can you also post your syslog and dmesg output ?
 

About

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!