https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205549
Sebastian Stroniewski-Wojtczak <sebastian.stroniewskiwojtc...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian.stroniewskiwojtcz | |a...@gmail.com --- Comment #18 from Sebastian Stroniewski-Wojtczak <sebastian.stroniewskiwojtc...@gmail.com> --- Something is wrong with passthru for USB. I've used "devctl" to detach xHCI for separate USB controller and attached it back to ppt. Afterward, I've setup properly my linux bhyve and start it. After few seconds xHCI stops working, nonetheless, simple device was available for short time. Linux inside bhyve side: [ 945.768655] hub 2-1:1.0: USB hub found [ 945.770089] hub 2-1:1.0: 4 ports detected [ 945.925221] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd [ 946.036378] usb 1-1.3: New USB device found, idVendor=2a03, idProduct=0043, bcdDevice= 0.01 [ 946.036380] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=220 [ 946.036381] usb 1-1.3: Product: Arduino Uno [ 946.036382] usb 1-1.3: Manufacturer: Arduino Srl [ 946.036382] usb 1-1.3: SerialNumber: 95536333830351513160 [ 946.042136] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device [ 965.696484] xhci_hcd 0000:00:06.0: xHCI host not responding to stop endpoint command. [ 965.696517] xhci_hcd 0000:00:06.0: xHCI host controller not responding, assume dead [ 965.696541] xhci_hcd 0000:00:06.0: HC died; cleaning up [ 965.696858] cdc_acm 1-1.3:1.0: acm_port_activate - usb_submit_urb(ctrl irq) failed [ 965.698578] usb 1-1: USB disconnect, device number 2 [ 965.698581] usb 1-1.3: USB disconnect, device number 3 [ 965.698671] usb 2-1: USB disconnect, device number 2 20 seconds Linux need to detach xHCI device. Next thing I've tried was to unbind and bind my device echo -n "0000:00:06.0" | tee /sys/bus/pci/drivers/xhci_hcd/unbind sleep 5 echo -n "0000:00:06.0" | tee /sys/bus/pci/drivers/xhci_hcd/bind That helps only for few seconds (20s). I can't talk with any USB devices through bhyve passthru. Before vm start: 10421b21 00100006 0c033000 00000010 f7c00004 00000000 00000000 00000000 00000000 00000000 00000000 84881043 00000000 00000050 00000000 00000113 After vm xHCI crash, restart/poweroff vm does not resolve issue (bind/unbind also failed): 0421b21 00100406 0c033000 00000010 f7c00004 00000000 00000000 00000000 00000000 00000000 00000000 84881043 00000000 00000050 00000000 00000113 It seemd that only VMM is affected. Once I detach my ppt to none device and set driver to xhci I'm getting access to any devices on xhci, switch it back to ppt or even clearing data does not help either. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"