Solved USB 3.0 problem

Hi, everyone!

I'm installing FreeBSD 10.0 as a guest system on Xen Server. It works well, but I want to have USB 3.0 controller attached to it. I've made PCI-passthrough, and the controller appeared in FreeBSD, but I've got these errors in dmesg:

Code:
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xf3001000-0xf3001fff irq 36 at device 5.0 on pci0
xhci0: 32 byte context size.
xhci0: Controller reset timeout.
xhci0: XHCI halt/start/probe failed err=18
device_attach: xhci0 attach returned 6

Other passed-through hardware works well, so this must be problem with FreeBSD and hardware USB controller is onboard VIA VL805 chip.

Any suggestions?
 
Hi, everyone!

I'm installing FreeBSD 10.0 as a guest system on Xen Server. It works well, but I want to have USB 3.0 controller attached to it. I've made PCI-passthrough, and the controller appeared in FreeBSD, but I've got these errors in dmesg:

Code:
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xf3001000-0xf3001fff irq 36 at device 5.0 on pci0
xhci0: 32 byte context size.
xhci0: Controller reset timeout.
xhci0: XHCI halt/start/probe failed err=18
device_attach: xhci0 attach returned 6

Other passed-through hardware works well, so this must be problem with FreeBSD and hardware USB controller is onboard VIA VL805 chip.

Any suggestions?
I assume the quoted message arrives from dmesg(8). Do you boot verbose? I might also mention, that it's not unusual to see what appear to be error messages, when what you are actually seeing, is a response from the kernel probing the device, and seeing if anything else is attached. For example; most all my systems boot messages return
Code:
cd0: Attempt to query device size failed: NOT READY, Medium not present
Which appears like the kernel is trying to tell me that the CD/DVD is broken/not supported. But what is actually the case, is that there isn't a CD/DVD disk present in the CD/DVD. IMHO it shouldn't appear to insist there be one (my fstab(5) includes noauto for the CD/DVD entry) in the CD/DVD. But complains, just the same, and in spite of it. Everything works just as it should. What happens if you plug something into that USB port? Does the device plugged into it work as intended?

All the best.

--Chris
 
Hi,
Code:
xhci0: Controller reset timeout.
Means that the XHCI driver failed to reset the hardware. Possibly it is not responding like it should and will not work. The XHCI has specific support for VMs through special registers, and this mode is not supported. The XHCI device must be passed through AS-IS without any additional emulation.

--HPS
 
Thanks for reply !
Looks like I've found problem. Controller, I've tried to pass-through, was not FLReset compatible. So it was not FreeBSD issue at all
Thanks, everyone !
 
Back
Top