[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2020-03-31 Thread Christian Ehrhardt 
Thanks David, so it might be issues with special HW types. I'm glad you identified quirks to loas uas with to mitigate the issue - this might help others being affected. But until I have a local reproducer to debug in-depth I'm not sure I can do more on the libvirt side (and even then no promises

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2020-03-30 Thread Bryce Harrington
Thanks for reopening so it can be looked at again, I've subscribed canonical-server to do so. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1815588 Title: speed mismatch trying to attach usb device

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2020-03-27 Thread David Mortals
This issue still exist in Ubuntu 20.02 5.4.0-18-generic (28 Mar 2020). For the one who still struggling this is a workaround works for me. My UAS USB3 external storage: Bus 002 Device 003: ID 152d:0583 JMicron Technology Corp. / JMicron USA Technology Corp. JEYI External The warning message in d

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-11-01 Thread Andreas Hasenack
Just a reminder that this bug has expired. If anyone still thinks there is an issue, then please reopen it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1815588 Title: speed mismatch trying to atta

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-10-28 Thread Eero Aaltonen
I could swear I already tested this for 1. Redirecting USB while guest is running), but this time it worked. Thanks for the suggestion @paelzer I unmounted both partitions and then redirected. Here's the journalctl output: Oct 28 15:24:38 hostname udisksd[1229]: Cleaning up mount point /media/us

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-10-28 Thread Christian Ehrhardt 
Interesting ordering in #1. It seems the "Failed to sync" lets an I/O hang which is then later reported failed. But you could unmount & unbind the device cleanly on the host before you hot-add it to the guest. Then for case #1 none of the errors should appear I'd hope. Do you want to give that a

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-10-28 Thread Christian Ehrhardt 
Oh my bad, Erro should clearly have been Eero but failed to match the right character count. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1815588 Title: speed mismatch trying to attach usb device t

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-10-25 Thread Eero Aaltonen
I think I was wrong about the USB speed. I can't find a specific model number, but the Manufacturer seems to state USB 3.0 for all the drives I looked at. The host also identifies it as USB 3.0. 1. Redirecting USB while guest is running = I tested of redirec

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-04-16 Thread Launchpad Bug Tracker
[Expired for libvirt (Ubuntu) because there has been no activity for 60 days.] ** Changed in: libvirt (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/181558

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-02-15 Thread Christian Ehrhardt 
Thanks for your feedback Eero, I have tested USB 2/3 drives on USB 2/3 hubs now - it is not that in in general a combo of these would fail. Lets continue to brainstorm what could be the issue ... I hear from you that your Failing Device is the "Porsche Design Desktop Drive" and that you say is U

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-02-15 Thread Eero Aaltonen
I tested with a USB 3.0 thumb drive and adding that works to the guest works perfectly. Here's a shortened lsusb: Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler G4 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 007: ID 059f:106e LaCie, Ltd Porsche

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-02-12 Thread Christian Ehrhardt 
Hmm, I had one more idea. I used hot plug all the time (adding the device in virt-manager while the guest is up), I know that some security handling for apparmor and DAC are different between hotplug and starting with it. Let me try to start with the device attached (but using USB 3 controller)

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-02-12 Thread Christian Ehrhardt 
** Attachment added: "guest lsusb --tree after attach of USB 2 & 3 thumbdrives" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1815588/+attachment/5238016/+files/USB-3.0-passthrough-worked.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-02-12 Thread Christian Ehrhardt 
Thanks for upgrading to 18.04 now I can use my system as is for the same tests. At least the warning is about a USB 3 device being attached to a slower (virtual) USB hub. The default virt-manager/libvirt usb controller is piix3-uhci which is USB 2.0 The controller type can be changed thou, but on

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-02-12 Thread Christian Ehrhardt 
For your comparison here a screenshot with the devices passed through. I did -not- hit the issues you had which is good for me but bad for helping you. I'd think that you can avoid: Warning: speed mismatch trying to attach usb device "Porsche Desktop" (super speed) to bus "usb.0", port "1" (ful

[Bug 1815588] Re: speed mismatch trying to attach usb device to guest vm

2019-02-12 Thread Christian Ehrhardt 
Hi Eero sorry that you are still affected by issues on your usb passthrough. But I read that at least the upgrade got you further for bug 1814061. For the error I see here I at least have an idea what it could be. I need to grab some HW from my basement after lunch for a test - stay tuned ... :-)