While I upgrade the kernel to 6.1, the passthrough feature (Maybe?) is broken, resulting in the vm can't start correctly.
The Full log: https://pastebin.ubuntu.com/p/h8NmBzFPKj/
According to the log, the `vfio-pci` reported that `vfio-pci 0000:02:00.0: Unable to change power state from D3cold to D0, device inaccessible`, and make the vm start process waited for a long time, till `not ready 65535ms after FLR; giving up`.
Env:
PVE: pve-manager/7.3-4/d69b70d4
Kernel: 6.1-pve (opt-in kernel)
CPU: Intel(R) Pentium(R) Gold 7505
ethernet: intel I225-V * 4
drive: SanDisk Ultra 3D NvMe 1TB
5.15 full log: https://pastebin.ubuntu.com/p/s8qQ3jNtqv/
The Full log: https://pastebin.ubuntu.com/p/h8NmBzFPKj/
According to the log, the `vfio-pci` reported that `vfio-pci 0000:02:00.0: Unable to change power state from D3cold to D0, device inaccessible`, and make the vm start process waited for a long time, till `not ready 65535ms after FLR; giving up`.
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.1.6-1-pve root=/dev/mapper/pve-root ro debug ignore_loglevel intel_iommu=on iommu=qe
[ 0.040433] ACPI: DMAR 0x000000004341A000 000088 (v02 INTEL EDK2 00000002 01000013)
[ 0.040466] ACPI: Reserving DMAR table memory at [mem 0x4341a000-0x4341a087]
[ 0.061995] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.6-1-pve root=/dev/mapper/pve-root ro debug ignore_loglevel intel_iommu=on iommu=qe
[ 0.062056] DMAR: IOMMU enabled
[ 0.106891] DMAR: Host address width 39
[ 0.106893] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.106899] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[ 0.106903] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.106909] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.106912] DMAR: RMRR base: 0x0000004c000000 end: 0x000000503fffff
[ 0.106916] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.106918] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.106920] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.108530] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.703905] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[ 0.742879] iommu: Default domain type: Translated
[ 0.742879] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.783570] DMAR: No ATSR found
[ 0.783571] DMAR: No SATC found
[ 0.783573] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.783574] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.783576] DMAR: IOMMU feature nwfs inconsistent
[ 0.783578] DMAR: IOMMU feature dit inconsistent
[ 0.783579] DMAR: IOMMU feature sc_support inconsistent
[ 0.783581] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.783583] DMAR: dmar0: Using Queued invalidation
[ 0.783588] DMAR: dmar1: Using Queued invalidation
[ 0.783715] pci 0000:00:02.0: Adding to iommu group 0
[ 0.784159] pci 0000:00:00.0: Adding to iommu group 1
[ 0.784170] pci 0000:00:04.0: Adding to iommu group 2
[ 0.784183] pci 0000:00:06.0: Adding to iommu group 3
[ 0.784196] pci 0000:00:0d.0: Adding to iommu group 4
[ 0.784211] pci 0000:00:14.0: Adding to iommu group 5
[ 0.784220] pci 0000:00:14.2: Adding to iommu group 5
[ 0.784233] pci 0000:00:16.0: Adding to iommu group 6
[ 0.784243] pci 0000:00:17.0: Adding to iommu group 7
[ 0.784258] pci 0000:00:1c.0: Adding to iommu group 8
[ 0.784274] pci 0000:00:1c.5: Adding to iommu group 9
[ 0.784288] pci 0000:00:1c.6: Adding to iommu group 10
[ 0.784304] pci 0000:00:1c.7: Adding to iommu group 11
[ 0.784327] pci 0000:00:1f.0: Adding to iommu group 12
[ 0.784336] pci 0000:00:1f.3: Adding to iommu group 12
[ 0.784346] pci 0000:00:1f.4: Adding to iommu group 12
[ 0.784356] pci 0000:00:1f.5: Adding to iommu group 12
[ 0.784368] pci 0000:01:00.0: Adding to iommu group 13
[ 0.784383] pci 0000:02:00.0: Adding to iommu group 14
[ 0.784398] pci 0000:03:00.0: Adding to iommu group 15
[ 0.784411] pci 0000:04:00.0: Adding to iommu group 16
[ 0.784427] pci 0000:05:00.0: Adding to iommu group 17
[ 0.785218] DMAR: Intel(R) Virtualization Technology for Directed I/O
root@Router-7505:~# dmesg | grep -i -e DMAR -e IOMMU
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.1.6-1-pve root=/dev/mapper/pve-root ro debug ignore_loglevel intel_iommu=on iommu=qe
[ 0.040433] ACPI: DMAR 0x000000004341A000 000088 (v02 INTEL EDK2 00000002 01000013)
[ 0.040466] ACPI: Reserving DMAR table memory at [mem 0x4341a000-0x4341a087]
[ 0.061995] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.6-1-pve root=/dev/mapper/pve-root ro debug ignore_loglevel intel_iommu=on iommu=qe
[ 0.062056] DMAR: IOMMU enabled
[ 0.106891] DMAR: Host address width 39
[ 0.106893] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.106899] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[ 0.106903] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.106909] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.106912] DMAR: RMRR base: 0x0000004c000000 end: 0x000000503fffff
[ 0.106916] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.106918] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.106920] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.108530] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.703905] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[ 0.742879] iommu: Default domain type: Translated
[ 0.742879] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.783570] DMAR: No ATSR found
[ 0.783571] DMAR: No SATC found
[ 0.783573] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.783574] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.783576] DMAR: IOMMU feature nwfs inconsistent
[ 0.783578] DMAR: IOMMU feature dit inconsistent
[ 0.783579] DMAR: IOMMU feature sc_support inconsistent
[ 0.783581] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.783583] DMAR: dmar0: Using Queued invalidation
[ 0.783588] DMAR: dmar1: Using Queued invalidation
[ 0.783715] pci 0000:00:02.0: Adding to iommu group 0
[ 0.784159] pci 0000:00:00.0: Adding to iommu group 1
[ 0.784170] pci 0000:00:04.0: Adding to iommu group 2
[ 0.784183] pci 0000:00:06.0: Adding to iommu group 3
[ 0.784196] pci 0000:00:0d.0: Adding to iommu group 4
[ 0.784211] pci 0000:00:14.0: Adding to iommu group 5
[ 0.784220] pci 0000:00:14.2: Adding to iommu group 5
[ 0.784233] pci 0000:00:16.0: Adding to iommu group 6
[ 0.784243] pci 0000:00:17.0: Adding to iommu group 7
[ 0.784258] pci 0000:00:1c.0: Adding to iommu group 8
[ 0.784274] pci 0000:00:1c.5: Adding to iommu group 9
[ 0.784288] pci 0000:00:1c.6: Adding to iommu group 10
[ 0.784304] pci 0000:00:1c.7: Adding to iommu group 11
[ 0.784327] pci 0000:00:1f.0: Adding to iommu group 12
[ 0.784336] pci 0000:00:1f.3: Adding to iommu group 12
[ 0.784346] pci 0000:00:1f.4: Adding to iommu group 12
[ 0.784356] pci 0000:00:1f.5: Adding to iommu group 12
[ 0.784368] pci 0000:01:00.0: Adding to iommu group 13
[ 0.784383] pci 0000:02:00.0: Adding to iommu group 14
[ 0.784398] pci 0000:03:00.0: Adding to iommu group 15
[ 0.784411] pci 0000:04:00.0: Adding to iommu group 16
[ 0.784427] pci 0000:05:00.0: Adding to iommu group 17
[ 0.785218] DMAR: Intel(R) Virtualization Technology for Directed I/O
[ 0.040433] ACPI: DMAR 0x000000004341A000 000088 (v02 INTEL EDK2 00000002 01000013)
[ 0.040466] ACPI: Reserving DMAR table memory at [mem 0x4341a000-0x4341a087]
[ 0.061995] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.6-1-pve root=/dev/mapper/pve-root ro debug ignore_loglevel intel_iommu=on iommu=qe
[ 0.062056] DMAR: IOMMU enabled
[ 0.106891] DMAR: Host address width 39
[ 0.106893] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.106899] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[ 0.106903] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.106909] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.106912] DMAR: RMRR base: 0x0000004c000000 end: 0x000000503fffff
[ 0.106916] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.106918] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.106920] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.108530] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.703905] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[ 0.742879] iommu: Default domain type: Translated
[ 0.742879] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.783570] DMAR: No ATSR found
[ 0.783571] DMAR: No SATC found
[ 0.783573] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.783574] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.783576] DMAR: IOMMU feature nwfs inconsistent
[ 0.783578] DMAR: IOMMU feature dit inconsistent
[ 0.783579] DMAR: IOMMU feature sc_support inconsistent
[ 0.783581] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.783583] DMAR: dmar0: Using Queued invalidation
[ 0.783588] DMAR: dmar1: Using Queued invalidation
[ 0.783715] pci 0000:00:02.0: Adding to iommu group 0
[ 0.784159] pci 0000:00:00.0: Adding to iommu group 1
[ 0.784170] pci 0000:00:04.0: Adding to iommu group 2
[ 0.784183] pci 0000:00:06.0: Adding to iommu group 3
[ 0.784196] pci 0000:00:0d.0: Adding to iommu group 4
[ 0.784211] pci 0000:00:14.0: Adding to iommu group 5
[ 0.784220] pci 0000:00:14.2: Adding to iommu group 5
[ 0.784233] pci 0000:00:16.0: Adding to iommu group 6
[ 0.784243] pci 0000:00:17.0: Adding to iommu group 7
[ 0.784258] pci 0000:00:1c.0: Adding to iommu group 8
[ 0.784274] pci 0000:00:1c.5: Adding to iommu group 9
[ 0.784288] pci 0000:00:1c.6: Adding to iommu group 10
[ 0.784304] pci 0000:00:1c.7: Adding to iommu group 11
[ 0.784327] pci 0000:00:1f.0: Adding to iommu group 12
[ 0.784336] pci 0000:00:1f.3: Adding to iommu group 12
[ 0.784346] pci 0000:00:1f.4: Adding to iommu group 12
[ 0.784356] pci 0000:00:1f.5: Adding to iommu group 12
[ 0.784368] pci 0000:01:00.0: Adding to iommu group 13
[ 0.784383] pci 0000:02:00.0: Adding to iommu group 14
[ 0.784398] pci 0000:03:00.0: Adding to iommu group 15
[ 0.784411] pci 0000:04:00.0: Adding to iommu group 16
[ 0.784427] pci 0000:05:00.0: Adding to iommu group 17
[ 0.785218] DMAR: Intel(R) Virtualization Technology for Directed I/O
root@Router-7505:~# dmesg | grep -i -e DMAR -e IOMMU
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.1.6-1-pve root=/dev/mapper/pve-root ro debug ignore_loglevel intel_iommu=on iommu=qe
[ 0.040433] ACPI: DMAR 0x000000004341A000 000088 (v02 INTEL EDK2 00000002 01000013)
[ 0.040466] ACPI: Reserving DMAR table memory at [mem 0x4341a000-0x4341a087]
[ 0.061995] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.6-1-pve root=/dev/mapper/pve-root ro debug ignore_loglevel intel_iommu=on iommu=qe
[ 0.062056] DMAR: IOMMU enabled
[ 0.106891] DMAR: Host address width 39
[ 0.106893] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.106899] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[ 0.106903] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.106909] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.106912] DMAR: RMRR base: 0x0000004c000000 end: 0x000000503fffff
[ 0.106916] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.106918] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.106920] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.108530] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.703905] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[ 0.742879] iommu: Default domain type: Translated
[ 0.742879] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.783570] DMAR: No ATSR found
[ 0.783571] DMAR: No SATC found
[ 0.783573] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.783574] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.783576] DMAR: IOMMU feature nwfs inconsistent
[ 0.783578] DMAR: IOMMU feature dit inconsistent
[ 0.783579] DMAR: IOMMU feature sc_support inconsistent
[ 0.783581] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.783583] DMAR: dmar0: Using Queued invalidation
[ 0.783588] DMAR: dmar1: Using Queued invalidation
[ 0.783715] pci 0000:00:02.0: Adding to iommu group 0
[ 0.784159] pci 0000:00:00.0: Adding to iommu group 1
[ 0.784170] pci 0000:00:04.0: Adding to iommu group 2
[ 0.784183] pci 0000:00:06.0: Adding to iommu group 3
[ 0.784196] pci 0000:00:0d.0: Adding to iommu group 4
[ 0.784211] pci 0000:00:14.0: Adding to iommu group 5
[ 0.784220] pci 0000:00:14.2: Adding to iommu group 5
[ 0.784233] pci 0000:00:16.0: Adding to iommu group 6
[ 0.784243] pci 0000:00:17.0: Adding to iommu group 7
[ 0.784258] pci 0000:00:1c.0: Adding to iommu group 8
[ 0.784274] pci 0000:00:1c.5: Adding to iommu group 9
[ 0.784288] pci 0000:00:1c.6: Adding to iommu group 10
[ 0.784304] pci 0000:00:1c.7: Adding to iommu group 11
[ 0.784327] pci 0000:00:1f.0: Adding to iommu group 12
[ 0.784336] pci 0000:00:1f.3: Adding to iommu group 12
[ 0.784346] pci 0000:00:1f.4: Adding to iommu group 12
[ 0.784356] pci 0000:00:1f.5: Adding to iommu group 12
[ 0.784368] pci 0000:01:00.0: Adding to iommu group 13
[ 0.784383] pci 0000:02:00.0: Adding to iommu group 14
[ 0.784398] pci 0000:03:00.0: Adding to iommu group 15
[ 0.784411] pci 0000:04:00.0: Adding to iommu group 16
[ 0.784427] pci 0000:05:00.0: Adding to iommu group 17
[ 0.785218] DMAR: Intel(R) Virtualization Technology for Directed I/O
Env:
PVE: pve-manager/7.3-4/d69b70d4
Kernel: 6.1-pve (opt-in kernel)
CPU: Intel(R) Pentium(R) Gold 7505
ethernet: intel I225-V * 4
drive: SanDisk Ultra 3D NvMe 1TB
5.15 full log: https://pastebin.ubuntu.com/p/s8qQ3jNtqv/