Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2021 20:44:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 222996] FreeBSD 11.1-12 on Hyper-V with PCI Express Pass Through
Message-ID:  <bug-222996-27103-kcYQA9ydMh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222996-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222996-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=3D222996

--- Comment #48 from Dexuan Cui <decui@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 s=
ame
NIC (despite the "unable to map MSI-X table" issue), I suppose the NIC driv=
er
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

--=20
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-222996-27103-kcYQA9ydMh>