1814:3290 Slow connection on RT3290: ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush

Bug #1360410 reported by Serhiy
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Previously I thought it was due to low WiFi signal, but I've just compared speeds with my phone in my room and directly below the router. The notebook doesn't get more then half Mbps while phone gets 6 to 8 and wired desktop - above 50. I've also tried changing channels.
Kernel log is filled with
ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-34-generic 3.13.0-34.60
ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
Uname: Linux 3.13.0-34-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: int 2111 F.... pulseaudio
 /dev/snd/pcmC0D3p: int 2111 F...m pulseaudio
CurrentDesktop: KDE
Date: Fri Aug 22 21:49:00 2014
HibernationDevice: RESUME=UUID=52f0a457-e6ab-4711-a129-83170285523b
MachineType: ASUSTeK COMPUTER INC. X502CA
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-34-generic root=/dev/mapper/kubuntu--vg-root ro quiet
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-34-generic N/A
 linux-backports-modules-3.13.0-34-generic N/A
 linux-firmware 1.127.5
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/21/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X502CA.207
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X502CA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX502CA.207:bd02/21/2013:svnASUSTeKCOMPUTERINC.:pnX502CA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX502CA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: X502CA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Serhiy (xintx-ua) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
tags: added: bios-outdated-209
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Serhiy (xintx-ua) wrote :

Updated to
X502CA.209
06/09/2013
and nothing changed. I also getting a disconnect about once per two days on average.

P.S. You have "As well, you don't have to create a new bug report." in the comment. Since it's a standard comment, I guess there is a template that needs an edit.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Serhiy (xintx-ua) wrote :

I forgot the word "_twice_" in the previous comment.

Revision history for this message
Serhiy (xintx-ua) wrote :

uname -a
Linux int-X502 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Serhiy (xintx-ua) wrote :

Download: 0.09 Mbits/s
Upload: 0.15 Mbits/s

Revision history for this message
penalvch (penalvch) wrote :

Serhiy Zahoriya, the request statement was already fixed (it's actually due to how some developer(s) didn't disable paste on touching the top right of my touchpad by default, so when I scroll things get pasted and I don't know about until after something stupid happens like it's pasted twice, yay!).

Despite this, could you please test the latest upstream kernel available from the very top line at the top of the page (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.17-rc3

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: latest-bios-209
removed: bios-outdated-209
Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Incomplete
Revision history for this message
Serhiy (xintx-ua) wrote :

3.17.0-031700rc4-generic
Download: 0.58 Mbits/s
Upload: 0.10 Mbits/s

tags: added: kernel-bug-exists-upstream-3.17-rc4
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Serhiy Zahoriya, did this problem not occur in a release prior to 14.04?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Serhiy (xintx-ua) wrote :

Just bought the notebook, can't say.

Revision history for this message
penalvch (penalvch) wrote :

Serhiy Zahoriya, could you please provide the missing information following https://wiki.ubuntu.com/Kernel/LinuxWireless ?

Revision history for this message
Serhiy (xintx-ua) wrote :

3. DIR-300, latest firmware.
4.
$ iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"lin"
          Mode:Managed Frequency:2.452 GHz Access Point: 00:24:01:BA:A0:31
          Bit Rate=36 Mb/s Tx-Power=20 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Power Management:off
          Link Quality=42/70 Signal level=-68 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:2 Invalid misc:173 Missed beacon:0
4b. WPA2-PSK
4c. MAC filtering disabled.
4d. QoS/WMM disabled.
4e. Beacon Interval 100.
4f. Router Internal Firewall: tried disabling.
4g. Tried changing channels.
5. No, both phone and another notebook show much higher connection speeds.
6. Tried measuring speed directly below the router.
7. 1m of air.
8. Tried creating AP on the notebook itself and transferring files through nc - speed never reached 1Mbps.
9. Haven't used notebook before. Searches showed lot of reports about problems on 13.10 including complete dysfunctionality.
10. Do I really need it if I'm already on 3.17-rc4?
11. See pt. 10.
Gone searching for the drivers on realtek.com

Revision history for this message
Serhiy (xintx-ua) wrote :

This: http://ubuntuforums.org/showthread.php?t=2104690&page=4&p=12906524#post12906524
doesn't work. And I've compared the code with official (?) drivers from mediatek.com, it's the same.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Serhiy (xintx-ua) wrote :

The errors:

/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:1136:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
   pOSFSInfo->fsuid = current_fsuid();
                    ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:1137:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
   pOSFSInfo->fsgid = current_fsgid();
                    ^

Revision history for this message
Serhiy (xintx-ua) wrote :

Code from
http://askubuntu.com/questions/455030/ralink-rt3290-wifi-driver-is-not-working-in-ubuntu-14-04/455512#455512
compiled fine and visually increased the speed.
I've also discovered that speedtest-cli is unreliable for measuring the speed on the notebook. Although it's looks like working fine in Arch chroot on the phone.

Getting at least 2MB/s download speeds now as opposed to <1MB before installing the driver.

But now I have tons of
 ===>rt_ioctl_giwscan. 12(12) BSS returned, data->length = 2779
 ===>rt_ioctl_giwscan. 11(11) BSS returned, data->length = 2501
 RT3290_AsicTxAlcGetAutoAgcOffset: Incorrect desired TSSI or current TSSI
in the kernel log.

Revision history for this message
Serhiy (xintx-ua) wrote :

And with that driver it stops receiving any data about twice per day. Reconnection helps.

Revision history for this message
penalvch (penalvch) wrote :

Serhiy Zahoriya, circling back on https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1360410/comments/13 a lot of requested information is missing:
3b. What wireless connection type are you using (e.g. 802.11n, 802.11g, etc.)?
If you (actually) adjust any the following does it change anything:
    4a. WiFi type (ex. 802.11n to 802.11g only)
    4b. Encryption Type (ex. WEP, WPA2-PSK TKIP+AES)
10. Could you please test upstream's compat-wireless backports via https://wiki.ubuntu.com/Kernel/LinuxWireless#Compat-wireless_from_upstream? Please mention in your report the specific version you tested.
13. Does ndiswrapper work following https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper? Please mention what specific version of ndiswrapper you tested with, and a link to the Windows driver you used in your report. Info <!> If ndiswrapper does not work, you are welcome to file a new bug report by executing at a terminal:

ubuntu-bug ndiswrapper-utils-1.9

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Serhiy (xintx-ua) wrote :

3b. 802.11g
4a. I don't have other 802.11n devices and changing to 802.11b is not exactly solving this problem, quite the opposite.
4b. Tried all of them.
10. There is question about that, please answer it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Serhiy (xintx-ua) wrote :

And now I can barely watch 720p60 on youtube if I close every other network connection.

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Serhiy Zahoriya, could you please test the latest mainline kernel 3.18-rc5 and advise to the results?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
penalvch (penalvch)
summary: - Slow connection on RT3290: ieee80211 phy0: rt2x00queue_flush_queue:
- Warning - Queue 2 failed to flush
+ 1814:3290 Slow connection on RT3290: ieee80211 phy0:
+ rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.