Citrix Hypervisor 8.2 unable to load 2nd HBA card

Citrix Hypervisor 8.2 unable to load 2nd HBA card

book

Article ID: CTX318382

calendar_today

Updated On:

Description

Jun  4 15:46:50 hostname kernel: [   75.692775] xen: --> pirq=85 -> irq=85 (gsi=85)
Jun  4 15:46:50 hostname kernel: [   75.692987] Failed to setup GSI :85, err_code:-28
Jun  4 15:46:50 hostname kernel: [   75.928523] lpfc 0000:87:00.1: 3:6101 Disabling NVME support: Not supported by firmware: 1 1
Jun  4 15:46:50 hostname kernel: [   75.928803] lpfc 0000:87:00.1: 3:2574 IO channels: irqs 4 fcp 4 nvme 0 MRQ: 16
Jun  4 15:46:50 hostname kernel: [   75.929602] scsi host18: Emulex LPe32000 16Gb PCIe Fibre Channel Adapter on PCI bus 87 device 01 irq 85 PCI resettable
Jun  4 15:46:50 hostname kernel: [   75.930681] lpfc 0000:87:00.1: xen map irq failed -22 for 32752 domain
Jun  4 15:46:50 hostname kernel: [   75.931197] lpfc 0000:87:00.1: xen map irq failed -22 for 32752 domain

Resolution

To enable 2apic_phys mode:
1. /opt/xensource/libexec/xen-cmdline --set-xen x2apic_phys=true
2. reboot the host

Problem Cause

"Failed to setup GSI :82, err_code:-28" indicates it has run out of dynamic vectors in the local APIC
After enabling x2APIC in BIOS, the default x2APIC cluster driver runs out of IRQ vectors