Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2019 22:38:18 -0600
From:      Kevin Day <toasty@dragondata.com>
To:        "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve PCIe passthrough on AMD Epyc
Message-ID:  <8A44404F-C6E5-47BF-82E8-3CF94D5487E9@dragondata.com>
In-Reply-To: <201902270632.x1R6W8ec049419@pdx.rh.CN85.dnsmgr.net>
References:  <201902270632.x1R6W8ec049419@pdx.rh.CN85.dnsmgr.net>

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



> On Feb 27, 2019, at 12:32 AM, Rodney W. Grimes <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> wrote:
> 
>> I'm trying to get PCIe device (video card) passthrough working to a Windows bhyve VM, should this work now?
> 
> No, this should not work now.

Ok, easy enough. Should *any* PCIe passthrough work on Epyc right now? Just trying the same thing with a simple PCIe USB card gives me:

CPU0: local APIC error 0x40
CPU0: local APIC error 0x40
ivhd0: Error: completion failed tail:0xda0, head:0x0.
ivhd0: Dump all the commands:
  [CMD0, off:0xff0] opcode= 0x0 0x0 0x0 0x0
  [CMD1, off:0x0] opcode= 0x3 0x0 0x0 0x7ffffffffffff003
  [CMD2, off:0x10] opcode= 0x0 0x0 0x0 0x0
  [CMD3, off:0x20] opcode= 0x2 0x0 0x0 0x0
  [CMD4, off:0x30] opcode= 0x2 0x2 0x0 0x0
[...snip... lots of similar stuff]

Then I get a bunch more APIC errors, and the system freezes for about 60 seconds before recovering.

-- Kevin



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8A44404F-C6E5-47BF-82E8-3CF94D5487E9>