My USB card is a bhyve killer

Rajil Saraswat rajil.s at gmail.com
Thu Aug 17 03:05:52 UTC 2017


Unfortunately, i dont see a stderr log. I am using vm-bhyve for managing
the vm's.

# pciconf -l -BbcV pci0:129:0:0
ppt3 at pci0:129:0:0:      class=0x0c0330 card=0x11001b73 chip=0x11001b73
rev=0x10 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfb200000, size 65536, enabled
    bar   [18] = type Memory, range 64, base 0xfb211000, size 4096, enabled
    bar   [20] = type Memory, range 64, base 0xfb210000, size 4096, enabled
    cap 01[40] = powerspec 3  supports D0 D1 D3  current D0
    cap 05[50] = MSI supports 8 messages, 64 bit
    cap 10[70] = PCI-Express 2 endpoint max data 256(512) NS
                 link x1(x1) speed 5.0(5.0) ASPM disabled(L0s/L1)
    cap 11[b0] = MSI-X supports 8 messages
                 Table in map 0x18[0x0], PBA in map 0x20[0x0]
    ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected

I havent yet managed to get a USB card to work stably with FreeBSD 11.1
[1]. This is my third card. They work fine if i boot into Ubuntu linux.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221491

On 08/16/2017 09:38 PM, Peter Grehan wrote:
> Hi,
>
>> I have a PCIe USB card which is exported to the bhyve vm using
>> passthrough. I have tried to use the card in Ubuntu, Debian 8 and Centos
>> 7. Each time the OS has given a segmentation fault on bootup and killed
>> the bhyve session. This is what i get in the bhyve-log:
>
>  Is stderr logged anywhere ? That may have additional error output
> from the bhyve passthru code.
>
>> The USB card works fine on the host and is detected by the xhci driver.
>> The card is "Inateck Superspeed 4 Ports PCI-E to USB 3.0 Expansion Card
>> - Interface USB 3.0 4-Port"
>> (https://www.amazon.com/gp/product/B00B6ZCNGM)
>>
>> ppt3 at pci0:129:0:0:      class=0x0c0330 card=0x11001b73 chip=0x11001b73
>> rev=0x10 hdr=0x00
>>      vendor     = 'Fresco Logic'
>>      device     = 'FL1100 USB 3.0 Host Controller'
>>      class      = serial bus
>>      subclass   = USB
>
>  Would you be able to post the output of
>
>     pciconf -l -BbcV pci0:129:0:0
>
> later,
>
> Peter.




More information about the freebsd-virtualization mailing list