xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: A Sudheer <asr7247@gmail.com>
To: xen-devel@lists.xenproject.org
Subject: USB-C 250GB SSD Passthrough fails to DomU Ubuntu
Date: Tue, 30 Aug 2022 11:12:58 +0530	[thread overview]
Message-ID: <CABg_PyLqrajOuKidSfuzXk8=pAraLfwEQX_mO2-Ofv5kNiWa8w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1567 bytes --]

Hi All

On XEN-4.16 with Ubuntu 22.04 Dom0 and HVM-DomU, I tried to do a USB mass
storage device passthrough to DomU.
I followed the PVUSB method mentioned in
https://wiki.xenproject.org/wiki/Xen_USB_Passthrough.

I am able to do passthrough for USB 2.0 and 3.x version 32/64 GB mass
storage devices to DomU.
Passthrough failed for "SanDisk 250GB SSD USB-C, USB 3.1" with below error.
Able to access the SSD in Dom0.
Can someone help with what could be missing here.

*Commands used:*
host$ sudo xl usbctrl-attach vm1 version=3 ports=6
host$ sudo xl usbdev-attach vm1 hostbus=3 hostaddr=2

*Error Log in DomU*
VM1:~$ sudo dmesg
[  152.841566] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[  152.867164] usb 2-1: New USB device found, idVendor=0781,
idProduct=558c, bcdDevice=10.12
[  152.867173] usb 2-1: New USB device strings: Mfr=2, Product=3,
SerialNumber=1
[  152.867177] usb 2-1: Product: Extreme SSD
[  152.867179] usb 2-1: Manufacturer: SanDisk
[  152.867182] usb 2-1: SerialNumber: 31393430475A343030363932
[  152.899103] *usb 2-1: USB controller 0000:00:04.0 does not support
streams, which are required by the UAS driver.*
[  152.899110] usb 2-1: Please try an other USB controller if you wish to
use UAS.
[  152.899113] usb-storage 2-1:1.0: USB Mass Storage device detected
[  152.902033] scsi host2: usb-storage 2-1:1.0
[  152.902174] usbcore: registered new interface driver usb-storage
[  152.908928] usbcore: registered new interface driver uas
[  174.933399] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd

Thanks
Sudheer

[-- Attachment #2: Type: text/html, Size: 2730 bytes --]

             reply	other threads:[~2022-08-30  5:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30  5:42 A Sudheer [this message]
2022-08-30  8:04 ` USB-C 250GB SSD Passthrough fails to DomU Ubuntu A Sudheer
2022-09-07 11:01   ` A Sudheer
2022-09-21  7:12     ` A Sudheer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABg_PyLqrajOuKidSfuzXk8=pAraLfwEQX_mO2-Ofv5kNiWa8w@mail.gmail.com' \
    --to=asr7247@gmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).