Have you tried making sure it is plugged into a USB 2.0 port or hub? I have had no luck passing through USB3.0 in the past.

 

Jacob Green

Container Platform Engineer

EMIT | APPS | Modern Apps & Platforms

ExxonMobil Information Technology

1735 Hughes Landing Blvd, The Woodlands, TX 77381 | TEL:+1-832-624-4348

 

From: Don Dupuis [mailto:dondster@gmail.com]
Sent: Friday, November 22, 2019 3:05 PM
To: Strahil Nikolov <hunter86_bg@yahoo.com>
Cc: users <users@ovirt.org>
Subject: [ovirt-users] Re: Ovirt 4.3.6 USB passthrough not working with iommu_intel=on iommu=pt

 

Actually this is broken on an earlier version of ovirt at another customer of mine. They are running ovirt 4.2.3. I tried to make sure I could get it working on the latest release in order to troubleshoot that issue. I have provided the latest information and created the bugzilla case.

 

Don

 

On Fri, Nov 22, 2019 at 2:51 PM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:

Have you checked if the issue is specific to this host ?

Also , check on another VM.

 

Best Regards,

Strahil Nikolov

 

В четвъртък, 21 ноември 2019 г., 17:31:33 ч. Гринуич+2, Don Dupuis <dondster@gmail.com> написа:

 

 

Anyone else have this problem? I haven't been able to find a solution.

 

Don

 

On Tue, Nov 19, 2019 at 10:03 AM Don Dupuis <dondster@gmail.com> wrote:

with that approach, still get same error.

 

Don

 

On Mon, Nov 18, 2019 at 10:49 PM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:

I would recommend you to "unpresent" that USB, then replug (if that's possible) the USB and then to refresh the hosts's Capabilities (management dropdown). Only then try to assign the USB.

 

Best Regards,

Strahil Nikolov

 

В вторник, 19 ноември 2019 г., 05:30:00 ч. Гринуич+2, Don Dupuis <dondster@gmail.com> написа:

 

 

I am trying to pass through a USB Dongle to a Windows virtual machine in ovirt 4.3.6. This will work if these options aren't used. Below is the output of lsusb with no iommu enable:

 

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 001 Device 005: ID 1604:10c0 Tascam

Bus 001 Device 004: ID 1604:10c0 Tascam

Bus 001 Device 003: ID 1604:10c0 Tascam

Bus 001 Device 002: ID 07f2:0001 Microcomputer Applications, Inc. KEYLOK II

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

The device I am passing through is Bus 001 Device 002.

 

This is the error I get in vdsmd.log:

 

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 867, in _startUnderlyingVm

    self._run()

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2890, in _run

    self._domDependentInit()

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2466, in _domDependentInit

    self._vmDependentInit()

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2480, in _vmDependentInit

    self._getUnderlyingVmDevicesInfo()

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2448, in _getUnderlyingVmDevicesInfo

    vmdevices.common.update_device_info(self, self._devices)

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vmdevices/common.py", line 94, in update_device_info

    hostdevice.HostDevice.update_device_info(vm, devices[hwclass.HOSTDEV])

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vmdevices/hostdevice.py", line 426, in update_device_info

    vm, device_conf, device_xml)

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vmdevices/hostdevice.py", line 223, in update_from_xml

    if host_address == dev.hostAddress:

AttributeError: 'MdevDevice' object has no attribute 'hostAddress'

2019-11-18 18:20:06,173-0600 INFO  (vm/9944089c) [virt.vm] (vmId='9944089c-2109-4352-a0c6-7d0d9e04bb3f') Changed state to Down: 'MdevDevice' object has no attribute 'hostAddress' (code=1) (vm:1690)

 

I am using kernel 3.10.0-957.12.1.el7.x86_64

 

vdsm is vdsm-4.30.33-1.el7.x86_64

libvirt is libvirt-5.0.0-1.el7.x86_64

qemu is qemu-img-ev-2.12.0-33.1.el7.x86_64

 

Any help with this issue would be appreciated.

 

Thanks

Don

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/3JWP5GNYJWH7HDLBDRU3UGGHUENINW4I/