[Bug 222996] FreeBSD 11.1-12 on Hyper-V with PCI Express Pass Through
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 12 20:44:33 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222996
--- Comment #48 from Dexuan Cui <decui at microsoft.com> ---
(In reply to Dmitry from comment #43)
The screenshot shows "Setup of Shared code failed, error -2". Looks like
somehow e1000_init_phy_params() returns -E1000_ERR_PHY.
Since Ubuntu VM works, this should be a FreeBSD issue. From the description,
there are 2 issues when the Intel 82576 NIC is assigned to FreeBSD VM:
1. Gen2 FreeBSD VM fails to use the NIC due to the -E1000_ERR_PHY error.
2. Gen1 FreeBSD VM fails to use MSI-X, but luckily MSI still works.
The first issue needs to be debugged first. Since Gen-1 VM works with the same
NIC (despite the "unable to map MSI-X table" issue), I suppose the NIC driver
itself basically looks ok, and I guess the difference in Gen2 VM may be that
the MMIO address range assigned to the Gen2 VM is still somehow not quite
right, though Wei's 7/30/2020 fix is already used? @Wei
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-virtualization
mailing list