Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-21 Thread Nick Principe
On Tue, May 21, 2019 at 1:05 PM Rodney W. Grimes < freebsd-...@gndrsh.dnsmgr.net> wrote: > [ Charset UTF-8 unsupported, converting... ] > > On 5/21/19 9:48 AM, Rodney W. Grimes wrote: > > >> On 5/19/19 6:24 AM, Rodney W. Grimes wrote: > > Does the card have multiple BARs? Can you send us the

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-21 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On 5/21/19 9:48 AM, Rodney W. Grimes wrote: > >> On 5/19/19 6:24 AM, Rodney W. Grimes wrote: > Does the card have multiple BARs? Can you send us the output of pciconf > -lvb for the card? > > There is a bug in bhyve where if the

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-21 Thread John Baldwin
On 5/21/19 9:48 AM, Rodney W. Grimes wrote: >> On 5/19/19 6:24 AM, Rodney W. Grimes wrote: Does the card have multiple BARs? Can you send us the output of pciconf -lvb for the card? There is a bug in bhyve where if the OS assigns the 0x sentinel to more than one

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-21 Thread Rodney W. Grimes
> On 5/19/19 6:24 AM, Rodney W. Grimes wrote: > >> Does the card have multiple BARs? Can you send us the output of pciconf > >> -lvb for the card? > >> > >> There is a bug in bhyve where if the OS assigns the 0x sentinel to > >> more than one BAR simultaneously it is not compatible with

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-21 Thread John Baldwin
On 5/19/19 6:24 AM, Rodney W. Grimes wrote: >> Does the card have multiple BARs? Can you send us the output of pciconf -lvb >> for the card? >> >> There is a bug in bhyve where if the OS assigns the 0x sentinel to >> more than one BAR simultaneously it is not compatible with bhyve?s

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-19 Thread Rodney W. Grimes
> Does the card have multiple BARs? Can you send us the output of pciconf -lvb > for the card? > > There is a bug in bhyve where if the OS assigns the 0x sentinel to > more than one BAR simultaneously it is not compatible with bhyve?s memory > model for the guest. The "we talked"

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-19 Thread Rodney W. Grimes
> Yeah, that triggers a barf with error 2: > mmio_rb_lookup: barf ENOENTerror is 2 > mr.name is passthru-pci-5 > mr.flags is 0 > mr.arg2 is 0 > mr.base is 18446744073709027328 > mr.size is 524288 > Assertion failed: (error == 0), function modify_bar_registration, file >

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-18 Thread Robert Crowston via freebsd-virtualization
Does the card have multiple BARs? Can you send us the output of pciconf -lvb for the card? There is a bug in bhyve where if the OS assigns the 0x sentinel to more than one BAR simultaneously it is not compatible with bhyve’s memory model for the guest. On Sat, May 18, 2019 at 21:14,

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-18 Thread Nick Principe
Yeah, that triggers a barf with error 2: mmio_rb_lookup: barf ENOENTerror is 2 mr.name is passthru-pci-5 mr.flags is 0 mr.arg2 is 0 mr.base is 18446744073709027328 mr.size is 524288 Assertion failed: (error == 0), function modify_bar_registration, file /usr/src/usr.sbin/bhyve/pci_emul.c, line 510.

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-18 Thread Rodney W. Grimes
> I have noticed that Windows 10 guests fail to boot when attempting to pass > through a network card. I believe I have observed this with both cxgbe > (t580) and mlx5en cards, but only have a cxgbe to test with now. Without > passthrough, the Windows 10 guest boots and operates normally. > >

Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-18 Thread Nick Principe
I have noticed that Windows 10 guests fail to boot when attempting to pass through a network card. I believe I have observed this with both cxgbe (t580) and mlx5en cards, but only have a cxgbe to test with now. Without passthrough, the Windows 10 guest boots and operates normally. FreeBSD guests