VM Host locks up after PCIe passthrough NIC...

bearhntr

Member
Sep 9, 2022
167
13
23
Atlanta, GA USA
...and I am not even able to web into console. I tried a set of instructions to boot and press CTRL+X and go into recovery mode. I get to this point, but when I look in this path /etc/pve/qemu-server/vmid.conf -- there is nothing under /etc folder. I need to disable the 'onboot' option in one of the VMID files, but I cannot find it.

PVE 8.1.3 is what I am using. - Newly installed using full defaults on installation {ext4 filesystem}.
 
Last edited:
It might be easier to disable IOMMU (or VT-d) in the motherboard BIOS temporarily. /etc/pve is not a real filesystem and is only visible when Proxmox starts successfully. Your NIC is probably in the same IOMMU group as some other devices that are needed for Proxmox, but you cannot share devices from the same group between VMs and/or the host.
I hope this get you started; there is more detailing information about these different aspects in various threads on this forum.
 
  • Like
Reactions: bearhntr
With only one VM on there - and it was not fully setup anyway...I simply reloaded PVE completely. I still do not understand why the IOMMU of the 4-port NIC did this. I chose a port which was not used any place. As I understand it - I should be able to use a PCI Mapping for each of the 4-ports on this INTEL i350-T4v2 card (if I wanted to) - provided a 'bridge' is not already using one of them. In this case, nothing was set to use the port-0 on this card when I enabled PCI Mapping to it 0:200-0.
 
It might be easier to disable IOMMU (or VT-d) in the motherboard BIOS temporarily. /etc/pve is not a real filesystem and is only visible when Proxmox starts successfully. Your NIC is probably in the same IOMMU group as some other devices that are needed for Proxmox, but you cannot share devices from the same group between VMs and/or the host.
I hope this get you started; there is more detailing information about these different aspects in various threads on this forum.
Now to figure out how to re-mount/re-incorporate the other HDD in the computer where I had 4 .ISOs uploaded so that I do not have to re-upload them again. Why the WEB GUID does not allow you to do this is beyond me. It shows it is there, but I cannot get it to show me anything.
 
With only one VM on there - and it was not fully setup anyway...I simply reloaded PVE completely. I still do not understand why the IOMMU of the 4-port NIC did this. I chose a port which was not used any place. As I understand it - I should be able to use a PCI Mapping for each of the 4-ports on this INTEL i350-T4v2 card (if I wanted to) - provided a 'bridge' is not already using one of them. In this case, nothing was set to use the port-0 on this card when I enabled PCI Mapping to it 0:200-0.
It isn't about which ports of the card are used, it is about groups of PCIe lanes and which devices are downstream from a common hub. Devices in the same group cannot be mapped separately. There is a workaround but it compromises security. As usual: https://vm-host.ad.haucks.org:8006/pve-docs/pve-admin-guide.html#qm_pci_passthrough
 
  • Like
Reactions: bearhntr
It isn't about which ports of the card are used, it is about groups of PCIe lanes and which devices are downstream from a common hub. Devices in the same group cannot be mapped separately. There is a workaround but it compromises security. As usual: https://vm-host.ad.haucks.org:8006/pve-docs/pve-admin-guide.html#qm_pci_passthrough
That makes sense - I gave up trying to use only ONE port on the 4-port card in a VM. I was watching a video where someone was using a 4-port card and using the "Add PCI Device" option into a pfSense install (2x - one for WAN and one for LAN). I was following his steps exactly - and soon as I rebooted (or manually started the VM -- >POOF< access to the whole kit & kaboodle gone).
 

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!