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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 20 Apr 2023 21:40:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270966

Raúl <raul.munoz@custos.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |raul.munoz@custos.es
            Version|13.2-RELEASE                |CURRENT

--- Comment #1 from Raúl <raul.munoz@custos.es> ---
Same on 14.

FreeBSD cache-D-2023 14.0-CURRENT FreeBSD 14.0-CURRENT #0
main-n262373-8e813d07c680: Thu Apr 20 23:41:49 CEST 2023

First try:
Reboots: 28
Sending ACPI shutdown to debian1
Starting debian1
  * found guest in /usr/local/vm-bhyve/debian1
  * booting...
Reboots: 29
/usr/local/sbin/vm: WARNING: debian1 doesn't appear to be a running virtual
machine

Second try:
Reboots: 28
Sending ACPI shutdown to debian1
Starting debian1
  * found guest in /usr/local/vm-bhyve/debian1
  * booting...
Reboots: 29
/usr/local/sbin/vm: WARNING: debian1 doesn't appear to be a running virtual
machine

on messages:
[....]
Apr 21 00:27:13 cache-D-2023 kernel: ivhd0: EVT INTR 0 Status:0xa EVT Head:0x0
Tail:0x10]
Apr 21 00:27:13 cache-D-2023 kernel:   [CMD Total 0x105] Tail:0x50, Head:0x30.
Apr 21 00:27:13 cache-D-2023 kernel: ivhd0:     [Event0: Head:0x0 Tail:0x10]
Apr 21 00:27:13 cache-D-2023 kernel:    [ILLEGAL CMD EVT]
Apr 21 00:27:13 cache-D-2023 kernel:    CMD opcode= 0x3 0xc009 0x14
0x7ffffffffffff003
Apr 21 00:27:14 cache-D-2023 kernel: ivhd0: Error: completion failed tail:0xe0,
head:0x30.
Apr 21 00:27:14 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:14 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:15 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x190, head:0x30.
Apr 21 00:27:15 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:15 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:26 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x240, head:0x30.
Apr 21 00:27:26 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:26 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:27 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x2f0, head:0x30.
Apr 21 00:27:27 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:27 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:28 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x3a0, head:0x30.
Apr 21 00:27:28 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:28 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:36 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x450, head:0x30.
Apr 21 00:27:36 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:36 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:37 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x500, head:0x30.
Apr 21 00:27:37 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:37 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:38 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x5b0, head:0x30.
Apr 21 00:27:38 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:38 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:47 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x660, head:0x30.
Apr 21 00:27:47 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:47 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:48 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x710, head:0x30.
Apr 21 00:27:48 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:48 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:49 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x7c0, head:0x30.
Apr 21 00:27:49 cache-D-2023 kernel: ivhd0: Dump last 1 command(s):
Apr 21 00:27:49 cache-D-2023 kernel:   [CMD0, off:0x20] opcode= 0x1 0x37c8b31
0x0 0xa5a5
Apr 21 00:27:51 cache-D-2023 kernel: ivhd0: EVT INTR 1 Status:0xa EVT Head:0x10
Tail:0x20]
Apr 21 00:27:51 cache-D-2023 kernel:   [CMD Total 0x17c] Tail:0x7c0, Head:0x30.
Apr 21 00:27:51 cache-D-2023 kernel: ivhd0:     [Event0: Head:0x10 Tail:0x20]
Apr 21 00:27:51 cache-D-2023 kernel:    [IO_PAGE_FAULT EVT: devId:0xc301
DomId:0x15 Addr:0x109ea0000 0x0]
Apr 21 00:27:57 cache-D-2023 kernel: ivhd0: Error: completion failed
tail:0x870, head:0x30.
[....]

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