Page 1 of 1

USB to SATA docking station, streams for UAS

Posted: 28. Jun 2019, 17:50
by Martin5
Situation:

Running VirtualBox 6.0.8 on a mac 10.13 host with linux kernel 5.1 as guest. A SATA drive is attached via a USB-SATA docking station.

dmesg on the guest reports:

Code: Select all

[  463.175467] usb 2-1: USB controller 0000:00:0c.0 does not support streams, which are required by the UAS driver.
[  463.175469] usb 2-1: Please try an other USB controller if you wish to use UAS.
[  463.175470] usb-storage 2-1:1.0: USB Mass Storage device detected
i.e. the kernel can not use "USB attached SCSI" (UAS) because the USB host controller does not support streams.

My question is:

Is this a general limitation of VirtualBox? Or can I convince VirtualBox to expose a USB host controller with support for streams?

The problem is that the docking station is not stable in this mode of operation without UAS. It fails especially under (moderate) load on average within a few minutes. The same docking station works very well with the same kernel on real hardware.

Thank you for your insight!

Re: USB to SATA docking station, streams for UAS

Posted: 28. Jun 2019, 18:26
by socratis
Partial logs are not that helpful I'm afraid. We need to see a complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image

Re: USB to SATA docking station, streams for UAS

Posted: 28. Jun 2019, 23:48
by Martin5
The log snippet was just for illustration, I know where it comes from, what it means. That's all clear already, thank you.

My question is really just about VirtualBox itself:

Does Virtual Box support streams on the USB host controller that it emulates at all? Or maybe just on specific host platforms? Or is that a known limitation anyway?

Re: USB to SATA docking station, streams for UAS

Posted: 28. Jun 2019, 23:55
by socratis
I'm sorry, but I'm not going to comment on anything, unless I see a complete log as previously instructed. I need to see your host, your guest, your VM settings, your USB settings.

And some more details about the USB-to-SATA adapter, make, model, etc.