Since PVE 5.0, I have had different FreeNAS VMs with HBA passthrough working flawlessly. However, after a PVE upgrade to linux 4.15.18-15 and anything higher, the VMs hang or cause errors during guest boot. I found one other forum post that seems related to my issue, but no solution was provided: https://forum.proxmox.com/threads/gpu-pass-through-no-longer-functioning-since-upgrade.55223/
I confirmed HBA works normally on host and other machines. Selecting linux kernel 4.15.18-14 from the advanced options at host boot has been a reliable workaround for continuing to use my VMs while I search for a more permanent solution. I had hoped upgrading to PVE 6.0 would fix everything, but no such luck. Unfortunately, it looks like with PVE 6.0 I'll have to deal with other PCI passthrough issues in FreeBSD guests due to QEMU v4.0 machine type as found here:
https://forum.proxmox.com/threads/vm-w-pcie-passthrough-not-working-after-upgrading-to-6-0.56021/
My specifications:
Package versions:
Passing through HBA to FreeBSD guests using Proxmox with versions of linux 4.15.18-15 and higher gives what I believe are relevant messages on guest during boot:
Anyone savvier than me know what the issue might be, what I could do about it, or where I might look for more info? Thank you in advance!
I confirmed HBA works normally on host and other machines. Selecting linux kernel 4.15.18-14 from the advanced options at host boot has been a reliable workaround for continuing to use my VMs while I search for a more permanent solution. I had hoped upgrading to PVE 6.0 would fix everything, but no such luck. Unfortunately, it looks like with PVE 6.0 I'll have to deal with other PCI passthrough issues in FreeBSD guests due to QEMU v4.0 machine type as found here:
https://forum.proxmox.com/threads/vm-w-pcie-passthrough-not-working-after-upgrading-to-6-0.56021/
My specifications:
Motherboard: ASUS C246 Pro (tried BIOS/UEFI version 0308 through most recent ,1003)
CPU: Intel Xeon E-2176G
Memory: 64GB ECC 2400Mhz
HBA: Broadcom 9400-16i (tried firmware phase 6 through most recent, phase 12)
Proxmox (versions 5.4 -1 through 6.0-2)
FreeNAS (versions 11.0 through 11.2-U5)
Package versions:
proxmox-ve: 5.4-2 (running kernel: 4.15.18-14-pve)
pve-manager: 5.4-11 (running version: 5.4-11/6df3d8d0)
pve-kernel-4.15: 5.4-6
pve-kernel-4.15.18-18-pve: 4.15.18-44
pve-kernel-4.15.18-17-pve: 4.15.18-43
pve-kernel-4.15.18-16-pve: 4.15.18-41
pve-kernel-4.15.18-15-pve: 4.15.18-40
pve-kernel-4.15.18-14-pve: 4.15.18-39
pve-kernel-4.15.18-13-pve: 4.15.18-37
pve-kernel-4.15.18-12-pve: 4.15.18-36
pve-kernel-4.15.18-11-pve: 4.15.18-34
pve-kernel-4.15.18-10-pve: 4.15.18-32
pve-kernel-4.15.18-9-pve: 4.15.18-30
corosync: 2.4.4-pve1
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-12
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-53
libpve-guest-common-perl: 2.0-20
libpve-http-server-perl: 2.0-14
libpve-storage-perl: 5.0-44
libqb0: 1.0.3-1~bpo9
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-3
lxcfs: 3.0.3-pve1
novnc-pve: 1.0.0-3
proxmox-widget-toolkit: 1.0-28
pve-cluster: 5.0-37
pve-container: 2.0-39
pve-docs: 5.4-2
pve-edk2-firmware: 1.20190312-1
pve-firewall: 3.0-22
pve-firmware: 2.0-6
pve-ha-manager: 2.0-9
pve-i18n: 1.1-4
pve-libspice-server1: 0.14.1-2
pve-qemu-kvm: 3.0.1-4
pve-xtermjs: 3.12.0-1
qemu-server: 5.0-54
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.13-pve1~bpo2
Passing through HBA to FreeBSD guests using Proxmox with versions of linux 4.15.18-15 and higher gives what I believe are relevant messages on guest during boot:
and...
mpr0: <Avago Technologies (LSI) SAS3416> port 0xd000-0xd0ff mem 0x1000100000-0x10001fffff,0x92000000-0x920fffff irq 16 at device 0.0 on pci1
mpr0: attempting to allocate 1 MSI-X vectors (16 supported)
msi: routing MSI-X IRQ 257 to local APIC 3 vector 49
mpr0: using IRQ 257 for MSI-X
mpr0: IOC in fault state 0x0
mpr0: IOC in fault state 0x0
mpr0: IOC in fault state 0x0
...
...
device_attach: mpr0 attach returned 6
...
Anyone savvier than me know what the issue might be, what I could do about it, or where I might look for more info? Thank you in advance!