Chris - byhve question

New About Yours API Help
1.3 KB, Plain text
First off, I love the show and have been an avid listener for several
years now. 

I heard you guys said you needed more questions in last week's show, so
here's mine.

I'm attempting to use FreeBSD 11.2 to centralize several of my
workflows and I've run into a snag with my bhyve Windows 10 environment,
specifically USB (ehci) passthru. 

root@fbox11-2:/vroot # pcidev -l -v | grep ppt

ppt0@pci0:0:26:0: class=0x0c0320 card=0x06201028 chip=0x8c2d8086
rev=0x04 hdr=0x00 vendor     = 'Intel Corporation' device     = '8
Series/C220 Series Chipset Family USB EHCI' class      = serial bus
    subclass   = USB

root@fbox11-2:/vroot # bhyve -S -c 2 -m 8G -H -w \
  -s 0,hostbridge \
  -s 4,ahci-hd,/dev/zvol/vroot/windows \
  -s 7,passthru,0/26/0 \
  -s 10,virtio-net,tap1 \
  -s 11,fbuf,tcp=0.0.0.0:5901,w=1280,h=1024 \
  -s 20,xhci,tablet \
  -s 31,lpc -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
  win10

bhyve: passthru device 0/26/0 BAR 0: base 0xf7e38000 or size 0x400 not
page aligned

bhyve: failed to initialize BARs for PCI 0/26/0


The Window 10 vm boots just fine without the passthru and I can get
some work done, but I need to attach a USB token card reader to this vm
to access some of my work sites. 

Any help or direction you can provide would be greatly appreciated.


Chris
Pasted 1 month ago — Expires in 331 days
URL: http://dpaste.com/2Y6XBYN