bhyve bhyve, passthru cause mrsas to fail

Hello,

The story:
we needed dedicated USB port on windows machine on bhyve so we installed a dedicated USB host controller: uPD720202 USB 3.0 Host Controller detached it and attached ppt driver to it :

devctl detach pci0:1:0:0 && devctl set driver pci0:1:0:0 ppt

Code:
~~~ vm config win7 ~~~
------ 8<------
passthru0="1/0/0"
------ 8<------
~~~ end vm config win7 ~~~
The vm starts successfully, and usb is visible and working OK,
but, there is always "but...", soon after error messages appears on the screen:

Code:
Feb  8 17:47:26 vmhost kernel: mrsas0: Initiaiting OCR because of FW fault!
Feb  8 17:47:42 vmhost kernel: mrsas0: Found FW in FAULT state, will reset adapter.
Feb  8 17:47:42 vmhost kernel: mrsas0: resetting adapter from mrsas_reset_ctrl.
Feb  8 17:47:42 vmhost kernel: mrsas0: Waiting for FW to come to ready state
Feb  8 17:47:42 vmhost kernel: mrsas0: FW now in Ready state
Feb  8 17:47:42 vmhost kernel: mrsas0: Issuing IOC INIT command to FW.
Feb  8 17:47:42 vmhost kernel: mrsas0: IOC INIT response received from FW.
Feb  8 17:47:42 vmhost kernel: mrsas0: Reset successful
Feb  8 17:47:42 vmhost kernel: mrsas0: Reset Exit with 0.
Feb  8 17:47:58 vmhost kernel: mrsas0: Initiaiting OCR because of FW fault!
Feb  8 17:47:58 vmhost kernel: mrsas0: Found FW in FAULT state, will reset adapter.
Feb  8 17:47:58 vmhost kernel: mrsas0: resetting adapter from mrsas_reset_ctrl.
Feb  8 17:47:58 vmhost kernel: mrsas0: Waiting for FW to come to ready state
Feb  8 17:47:58 vmhost kernel: mrsas0: FW now in Ready state
Feb  8 17:47:58 vmhost kernel: mrsas0: Issuing IOC INIT command to FW.
Feb  8 17:47:58 vmhost kernel: mrsas0: IOC INIT response received from FW.
Feb  8 17:47:58 vmhost kernel: mrsas0: Reset successful
Feb  8 17:47:58 vmhost kernel: mrsas0: Reset Exit with 0.
Feb  8 17:48:14 vmhost kernel: mrsas0: Initiaiting OCR because of FW fault!
Feb  8 17:48:14 vmhost kernel: mrsas0: Found FW in FAULT state, will reset adapter.
Feb  8 17:48:14 vmhost kernel: mrsas0: resetting adapter from mrsas_reset_ctrl.
Feb  8 17:48:14 vmhost kernel: mrsas0: Waiting for FW to come to ready state
Feb  8 17:48:14 vmhost kernel: mrsas0: FW now in Ready state
Feb  8 17:48:14 vmhost kernel: mrsas0: Issuing IOC INIT command to FW.
Feb  8 17:48:14 vmhost kernel: mrsas0: IOC INIT response received from FW.
Feb  8 17:48:14 vmhost kernel: mrsas0: Reset successful
Feb  8 17:48:14 vmhost kernel: mrsas0: Reset Exit with 0.
Feb  8 17:48:14 vmhost kernel: (xpt0:mrsas0:1:-1:ffffffff): rescan already queued
Feb  8 17:48:14 vmhost syslogd: last message repeated 13 times

from which hard discs become offline, system doesn't responds at all, not even to shutdown -r and after 20 minutes or so system automatically reboots ...
sometimes this errors doesn't even logged into /var/log/messages ...

without pass thru usb - windows machine works absolutely normal ... (The only reason for windows machine is to host Aladin HASP USB key)

I will appreciate any help.

Thanks in advance
 
Did you try adding it to loader.conf pptdevs="1/0/0" instead ? I think I have the exact same usb controller card, .. which I used to passthrough in freebsd 11.2, though I didn't have a sas3 card on that system.
 
Ofloo, thank you for reply. This doing literally the same but during booting process. Yes I have tried that way to, result where the same.
 
Back
Top