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


Groups > linux.debian.user > #224356 > unrolled thread

usb device constantly resets

Started bydaggs <daggs@gmx.com>
First post2020-07-04 18:20 +0200
Last post2020-07-17 16:20 +0200
Articles 6 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  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

#224356 — usb device constantly resets

Fromdaggs <daggs@gmx.com>
Date2020-07-04 18:20 +0200
Subjectusb device constantly resets
Message-ID<AoT3r-3OM-9@gated-at.bofh.it>
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?

Thanks,

Dagg.

[toc] | [next] | [standalone]


#224358

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-07-04 19:20 +0200
Message-ID<AoTZv-4pP-1@gated-at.bofh.it>
In reply to#224356

[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

[toc] | [prev] | [next] | [standalone]


#224361

Fromdaggs <daggs@gmx.com>
Date2020-07-04 20:00 +0200
Message-ID<AoUCd-4CY-5@gated-at.bofh.it>
In reply to#224358
Greetings Andrei,

> Sent: Saturday, July 04, 2020 at 8:10 PM
> From: "Andrei POPESCU" <andreimpopescu@gmail.com>
> To: debian-user@lists.debian.org
> Subject: Re: usb device constantly resets
>
> 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?
>

the device serves as AP so it is a bit hard to test the same functionality, I'll try to see if it connects to another wireless network and report back.

Thanks,

Dagg.
> Does the device work if you don't pass it on to the VM?
>
> Kind regards,
> Andrei
> --
> http://wiki.debian.org/FAQsFromDebianUser
>

[toc] | [prev] | [next] | [standalone]


#224900

Fromdaggs <daggs@gmx.com>
Date2020-07-17 15:10 +0200
Message-ID<AtyhI-4VL-3@gated-at.bofh.it>
In reply to#224361
Greetings,

> Sent: Saturday, July 04, 2020 at 8:54 PM
> From: "daggs" <daggs@gmx.com>
> To: "Andrei POPESCU" <andreimpopescu@gmail.com>
> Cc: debian-user@lists.debian.org
> Subject: Re: usb device constantly resets
>
> Greetings Andrei,
>
> > Sent: Saturday, July 04, 2020 at 8:10 PM
> > From: "Andrei POPESCU" <andreimpopescu@gmail.com>
> > To: debian-user@lists.debian.org
> > Subject: Re: usb device constantly resets
> >
> > 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?
> >
>
> the device serves as AP so it is a bit hard to test the same functionality, I'll try to see if it connects to another wireless network and report back.
>
> Thanks,
>
> Dagg.
> > Does the device work if you don't pass it on to the VM?
> >
> > Kind regards,
> > Andrei
> > --
> > http://wiki.debian.org/FAQsFromDebianUser
> >
>
>

I got a router, configured it and tried to connect the setup as client rather than ap from debian host, after 39 mintues I have ping, ip and no errors in dmesg.

so I assume this is a libvirt issue correct? should I try to upgrade the vm env to testing? show stable is it? if it fails, I'm left out with network at all...

Thanks,

Dagg.

[toc] | [prev] | [next] | [standalone]


#224901

FromDan Ritter <dsr@randomstring.org>
Date2020-07-17 15:30 +0200
Message-ID<AtyB4-52M-5@gated-at.bofh.it>
In reply to#224900
daggs wrote: 
> Greetings,
> 
> > Sent: Saturday, July 04, 2020 at 8:54 PM
> > From: "daggs" <daggs@gmx.com>
> > To: "Andrei POPESCU" <andreimpopescu@gmail.com>
> > Cc: debian-user@lists.debian.org
> > Subject: Re: usb device constantly resets
> >
> > Greetings Andrei,
> >
> > > Sent: Saturday, July 04, 2020 at 8:10 PM
> > > From: "Andrei POPESCU" <andreimpopescu@gmail.com>
> > > To: debian-user@lists.debian.org
> > > Subject: Re: usb device constantly resets
> > >
> > > 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?
> > >
> >
> > the device serves as AP so it is a bit hard to test the same functionality, I'll try to see if it connects to another wireless network and report back.
> >
> > Thanks,
> >
> > Dagg.
> > > Does the device work if you don't pass it on to the VM?
> > >
> 
> I got a router, configured it and tried to connect the setup as client rather than ap from debian host, after 39 mintues I have ping, ip and no errors in dmesg.
> 
> so I assume this is a libvirt issue correct? should I try to upgrade the vm env to testing? show stable is it? if it fails, I'm left out with network at all...
> 

iw list | grep "Supported interface modes" -A 8

Does it show an AP mode?

There are quite a few wifi devices which don't support AP mode
at all.

-dsr-

[toc] | [prev] | [next] | [standalone]


#224902

Fromdaggs <daggs@gmx.com>
Date2020-07-17 16:20 +0200
Message-ID<Atznr-5yl-3@gated-at.bofh.it>
In reply to#224901
Greetings Dan,

> Sent: Friday, July 17, 2020 at 4:28 PM
> From: "Dan Ritter" <dsr@randomstring.org>
> To: "daggs" <daggs@gmx.com>
> Cc: debian-user@lists.debian.org, "Andrei POPESCU" <andreimpopescu@gmail.com>
> Subject: Re: usb device constantly resets
>
> daggs wrote:
> > Greetings,
> >
> > > Sent: Saturday, July 04, 2020 at 8:54 PM
> > > From: "daggs" <daggs@gmx.com>
> > > To: "Andrei POPESCU" <andreimpopescu@gmail.com>
> > > Cc: debian-user@lists.debian.org
> > > Subject: Re: usb device constantly resets
> > >
> > > Greetings Andrei,
> > >
> > > > Sent: Saturday, July 04, 2020 at 8:10 PM
> > > > From: "Andrei POPESCU" <andreimpopescu@gmail.com>
> > > > To: debian-user@lists.debian.org
> > > > Subject: Re: usb device constantly resets
> > > >
> > > > 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?
> > > >
> > >
> > > the device serves as AP so it is a bit hard to test the same functionality, I'll try to see if it connects to another wireless network and report back.
> > >
> > > Thanks,
> > >
> > > Dagg.
> > > > Does the device work if you don't pass it on to the VM?
> > > >
> >
> > I got a router, configured it and tried to connect the setup as client rather than ap from debian host, after 39 mintues I have ping, ip and no errors in dmesg.
> >
> > so I assume this is a libvirt issue correct? should I try to upgrade the vm env to testing? show stable is it? if it fails, I'm left out with network at all...
> >
>
> iw list | grep "Supported interface modes" -A 8
>
> Does it show an AP mode?
>
> There are quite a few wifi devices which don't support AP mode
> at all.
>
> -dsr-
>
>

# iw list | grep "Supported interface modes" -A 8
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
        Band 1:
                Capabilities: 0x2fe

from debian.
this setup worked before but host and guest upgrades seems to broke it

Dagg

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web