Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2025 05:52:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 236374] bhyve: vmm/amd: ivhd0: Error: completion failed
Message-ID:  <bug-236374-27103-GKxo3W8PZM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236374-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236374-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236374

Pero Oršolić <bsd@orsolic.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bsd@orsolic.org

--- Comment #1 from Pero Oršolić <bsd@orsolic.org> ---
I am also experiencing this issue.
I have been using vm-bhyve and PCI passthru for several years now on AMD CPU.
I am forwarding multiple LAN, WLAN and USB PCI cards to the various VMs.
FreeBSD 14.3-RELEASE, 1 day of uptime, several (less than 10 IIRC) restarts of
VM.
After few restarts of VM these messages start to appear in the syslog on VM
start:
ivhd0: Error: completion failed tail:0x570, head:0x20.
ivhd0: Dump last 1 command(s):
  [CMD0, off:0x10] opcode= 0x1 0x28c3eb1 0x0 0xa5a5
ivhd0: Error: completion failed tail:0x620, head:0x20.
ivhd0: Dump last 1 command(s):
  [CMD0, off:0x10] opcode= 0x1 0x28c3eb1 0x0 0xa5a5
ivhd0: Error: completion failed tail:0x6d0, head:0x20.
ivhd0: Dump last 1 command(s):
  [CMD0, off:0x10] opcode= 0x1 0x28c3eb1 0x0 0xa5a5

Inside Linux guest, when passed-through PCI USB card work:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. Hub

When it doesn't work:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

PCI passthru on other VMs is still working

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236374-27103-GKxo3W8PZM>