[removing xen-users to avoid crossposting] On 18.08.22 08:18, A Sudheer wrote:
Hi AllOn 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 <https://wiki.xenproject.org/wiki/Xen_USB_Passthrough>.With 8GB sandisk pen drive, i am able to do USB passthrough to DomU.But with 64GB sandisk pendrive, though able to mount/umount in Dom0, not able to do passthrough to DomU.I see IO errors in dmesg when tried to access the usb disk folder in DomU. Both 8GB and 64GB disks are 3.2Gen1. (Not tried with 16GB & 32GB drives). Does anyone know why 64GB usb disk passthrough fails with the below error ? Dmesg Error: ----------------- [ 128.333409] usb 2-1: reset high-speed USB device number 2 using ehci-pci[ 128.502872] sd 2:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s[ 128.502881] sd 2:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 7a b7 00 00 3f 00[ 128.502883] blk_update_request: I/O error, dev sda, sector 31415 op 0x0:(READ) flags 0x80700 phys_seg 63 prio class 0
Do you have the related qemu log from dom0? Should be something like /var/log/xen/qemu-dm-*.log Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature