Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #224358

Re: usb device constantly resets

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: usb device constantly resets
Date 2020-07-04 19:20 +0200
Message-ID <AoTZv-4pP-1@gated-at.bofh.it> (permalink)
References <AoT3r-3OM-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sb, 04 iul 20, 18:16:20, daggs wrote:
> Greetings,
> 
> I'm running server with Debian 10 installed on it.
> the os is installed on a usb. the board is an asus H110M-A/M.2.
> the server runs a vm 24/7 on kvm (qemu 1:3.1+dfsg-8+deb10u5, libvirt-daemon 5.0.0-4+deb10u1), the server has a pass-trough usb wifi device (Ralink RT5572 Wireless Adapter) which fails loading, there is the error from the vm:
> [77248.176468] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
> [77248.178889] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
> [77248.764079] ieee80211 phy1: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x18d8 with error -110
> [77248.840436] ieee80211 phy1: rt2800_wait_bbp_ready: Error - BBP register access failed, aborting
> [77248.850119] ieee80211 phy1: rt2800usb_set_device_state: Error - Device failed to enter state 4 (-5)
> 
> I assumed this is a vm issue but I saw dmesg is filled with these:
> usb 1-2: reset high-speed USB device number 3 using xhci_hcd
> 
> using sysfs and lsusb -D I found out it is the wireless device passed to the vm.
> the kernel I'm using is 4.19.67-2+deb10u2.
> 
> any ideas how to solve this issue as I cannot use the wifi usb in the vm guest?

Does the device work if you don't pass it on to the VM?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

usb device constantly resets daggs <daggs@gmx.com> - 2020-07-04 18:20 +0200
  Re: usb device constantly resets Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-04 19:20 +0200
    Re: usb device constantly resets daggs <daggs@gmx.com> - 2020-07-04 20:00 +0200
      Re: usb device constantly resets daggs <daggs@gmx.com> - 2020-07-17 15:10 +0200
        Re: usb device constantly resets Dan Ritter <dsr@randomstring.org> - 2020-07-17 15:30 +0200
          Re: usb device constantly resets daggs <daggs@gmx.com> - 2020-07-17 16:20 +0200

csiph-web