[Bug 270966] PCI passthru stops working after ~30 guest reboots (ivhd, ILLEGAL CMD, IO_PAGE_FAULT)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Jul 2023 12:59:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270966

--- Comment #2 from Raúl <raul.munoz@custos.es> ---
Tried two times with today's current (main-n263930-2176c9ab71c8) and a FreeBSD
13.2 guest. Latest firmware, microcode ... ... same behavior, less reboots (20
reboots).

dmesg on host shows:

ivhd3: EVT INTR 0 Status:0xa EVT Head:0x0 Tail:0x10]
  [CMD Total 0x107] Tail:0x70, Head:0x50.
ivhd3:  [Event0: Head:0x0 Tail:0x10]
        [ILLEGAL CMD EVT]
        CMD opcode= 0x3 0x400b 0x14 0x7ffffffffffff003
ivhd3: Error: completion failed tail:0x100, head:0x50.
ivhd3: Dump last 1 command(s):
  [CMD0, off:0x40] opcode= 0x1 0x5041bb1 0x0 0xa5a5

and guest dmesg:

mlx5_core0: <mlx5_core> mem 0xc0000000-0xc00fffff at device 6.0 on pci0         
mlx5: Mellanox Core driver 3.7.1 (November 2021)mlx5_core0: WARN:
wait_func:967:(pid 0): ENABLE_HCA(0x104) timeout. Will cause a leak of a
command resource                                                                
mlx5_core0: ERR: mlx5_load_one:1083:(pid 0): enable hca failed                  
mlx5_core0: ERR: init_one:1646:(pid 0): mlx5_load_one failed -60                
device_attach: mlx5_core0 attach returned 60

-- 
You are receiving this mail because:
You are the assignee for the bug.