rt2x00 After a random time the wifi connction breaks

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6118

maubat63

23-01-2011 21:05:14

PROBLEM (BUG) in rt73usb (rt2x00) Driver (or in the new mac80211)

SYMPTOM After a random time the wifi connection breaks with strange behavior; the wireless connection still remains active,
the association with the access point remains but tcp/ip packets get lost (even with the AP).

ADDITIONAL INFORMATION The "strange behavior" means that while you can't surf the net with Firefox the VLC
still goes on playing music in connection with Amsterdam trance radio and if you try
to ping your AP ip-address you get an almost 90% ip packet loss.
If you try to refresh your browser sometimes you can surf again for a while.
If you disconnect and reconnect your wireless connection you can surf normally...
for 5-10 min (random) and then you get the same problem.
Initially it seems a DNS problem because established connection was still working
while it was not possible to establish new connection but further investigations
changing dns server and directly pingin the router demonstrate that it is not a dns problem.

DISTRIBUTION It is NOT an UBUNTU 9.10 problem as i get the same with Mandriva 2010.0

NETWORK MANAGER It is NOT a network manager problem as i get the same problem using gnome-network-manager or WICD

HARDWARE It is NOT an hardware problem as the adapter works well on Window$ XP

PARTIAL SOLUTION You can get a working well connection using rt73-k2wrlz-source_3.0.3-2~ppa0~karmic_all.deb (300.7 KiB) driver
so it MUST be a driver problem in rt73usb - rt2x00 - mac80211

PLEASE FIX IT !!!

----------------------------------------------------

(Hardware used for this report)

Wireless adapter AirLive WT-2000USB
Chipset Ralink rt73
rt73 idVendor = 0x148f, idProduct = 0x2573

working well with legacy driver from Ralink and with last legacy driver from serialmonkey rt73-cvs-daily.tar.gz
until you can't compile with new kernel.

working perfect with Window$ XP - never loss connection.

(System in use)

Ubuntu 9.10 - Karmic Koala

root@ubuntu~# uname -r
2.6.31-22-generic

--------------------------------------------------------

BEHAVIOR -- After some time (random)

pinging the AP... (VLC still playing music connected streaming with Amsterdam trance radio, Firefox stop surfing)

root@ubuntu~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1 icmp_seq=13 ttl=64 time=2261 ms
64 bytes from 192.168.1.1 icmp_seq=14 ttl=64 time=1262 ms
64 bytes from 192.168.1.1 icmp_seq=15 ttl=64 time=263 ms
64 bytes from 192.168.1.1 icmp_seq=16 ttl=64 time=1.60 ms
64 bytes from 192.168.1.1 icmp_seq=17 ttl=64 time=2.48 ms
64 bytes from 192.168.1.1 icmp_seq=49 ttl=64 time=234 ms
64 bytes from 192.168.1.1 icmp_seq=50 ttl=64 time=2.43 ms
64 bytes from 192.168.1.1 icmp_seq=80 ttl=64 time=2288 ms
64 bytes from 192.168.1.1 icmp_seq=81 ttl=64 time=1288 ms
64 bytes from 192.168.1.1 icmp_seq=82 ttl=64 time=278 ms
64 bytes from 192.168.1.1 icmp_seq=83 ttl=64 time=1.63 ms
^C
--- 192.168.1.1 ping statistics ---
114 packets transmitted, 11 received, 90% packet loss, time 113688ms
rtt min/avg/max/mdev = 1.604/716.858/2288.018/860.963 ms, pipe 3

DMESG ->

[ 33.390636] ADDRCONF(NETDEV_UP) eth0 link is not ready
[ 92.819760] cfg80211 Calling CRDA to update world regulatory domain
[ 92.914237] cfg80211 World regulatory domain updated
[ 92.914244] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 92.914249] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 92.914254] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 92.914258] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 92.914262] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 92.914266] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 93.391697] phy0 Selected rate control algorithm 'minstrel'
[ 93.392707] Registered led device rt73usb-phy0radio
[ 93.392741] Registered led device rt73usb-phy0assoc
[ 93.392770] Registered led device rt73usb-phy0quality
[ 93.424115] usbcore registered new interface driver rt73usb
[ 121.011724] rt73usb 1-31.0 firmware requesting rt73.bin
[ 121.135262] ADDRCONF(NETDEV_UP) wlan0 link is not ready
[ 150.508338] skge eth0 disabling interface
[ 150.515753] skge eth0 enabling interface
[ 150.534720] ADDRCONF(NETDEV_UP) eth0 link is not ready
[ 150.834618] ADDRCONF(NETDEV_UP) wlan0 link is not ready
[ 152.518924] wlan0 authenticate with AP xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 152.523445] wlan0 authenticated
[ 152.523451] wlan0 associate with AP xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 152.529929] wlan0 RX AssocResp from xxxxxxxxxxxx (capab=0x431 status=0 aid=1)
[ 152.529937] wlan0 associated
[ 152.544835] ADDRCONF(NETDEV_CHANGE) wlan0 link becomes ready
[ 163.216012] wlan0 no IPv6 routers present
[ 490.735604] wlan0 disassociated (Reason 8)
[ 500.803069] wlan0 authenticate with AP xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 500.806220] wlan0 authenticated
[ 500.806226] wlan0 associate with AP xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 500.809577] wlan0 RX ReassocResp from xxxxxxxxxxxx (capab=0x431 status=0 aid=1)
[ 500.809583] wlan0 associated

root@ubuntu~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID"XXXXXXXXXX" ( note I have offuscated this information for privacy )
ModeManaged Frequency2.412 GHz Access Point xxxxxxxxxxxx ( note I have offuscated this information for privacy )
Bit Rate=54 Mb/s Tx-Power=14 dBm
Retry limit14 RTS throff Fragment throff ( retry limit=14 was a try to make the connection more stable but is the same with limit=7)
Encryption keyxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx [2] ( note I have offuscated this information for privacy )
Power Managementon
Link Quality=44/70 Signal level=-66 dBm
Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0
Tx excessive retries0 Invalid misc0 Missed beacon0


root@ubuntu~# ifconfig
eth0 Link encapEthernet HWaddr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
UP BROADCAST RUNNING MULTICAST MTU1500 Metric1
RX packets0 errors0 dropped0 overruns0 frame0
TX packets0 errors0 dropped0 overruns0 carrier0
collisioni0 txqueuelen1000
Byte RX0 (0.0 B) Byte TX0 (0.0 B)
Interrupt18

lo Link encapLoopback locale
indirizzo inet127.0.0.1 Maschera255.0.0.0
indirizzo inet6 1/128 ScopeHost
UP LOOPBACK RUNNING MTU16436 Metric1
RX packets4 errors0 dropped0 overruns0 frame0
TX packets4 errors0 dropped0 overruns0 carrier0
collisioni0 txqueuelen0
Byte RX232 (232.0 B) Byte TX232 (232.0 B)

wlan0 Link encapEthernet HWaddr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
indirizzo inet192.168.1.5 Bcast192.168.1.255 Maschera255.255.255.0
indirizzo inet6 xxxxxxxxxxxxxxxxxxx/64 ScopeLink
UP BROADCAST RUNNING MULTICAST MTU1500 Metric1
RX packets39748 errors0 dropped0 overruns0 frame0
TX packets27585 errors0 dropped0 overruns0 carrier0
collisioni0 txqueuelen1000
Byte RX42242987 (42.2 MB) Byte TX3184469 (3.1 MB)

wmaster0 Link encapUNSPEC HWaddr xx-xx-xx-xx-xx-xx-xx-xx-00-00-00-00-00-00-00-00 ( note I have offuscated this information for privacy )
UP RUNNING MTU0 Metric1
RX packets0 errors0 dropped0 overruns0 frame0
TX packets0 errors0 dropped0 overruns0 carrier0
collisioni0 txqueuelen1000
Byte RX0 (0.0 B) Byte TX0 (0.0 B)

pinging again the AP

root@ubuntu~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1 icmp_seq=23 ttl=64 time=1571 ms
64 bytes from 192.168.1.1 icmp_seq=24 ttl=64 time=564 ms
64 bytes from 192.168.1.1 icmp_seq=25 ttl=64 time=2.97 ms
64 bytes from 192.168.1.1 icmp_seq=26 ttl=64 time=1.55 ms
64 bytes from 192.168.1.1 icmp_seq=27 ttl=64 time=1.80 ms
64 bytes from 192.168.1.1 icmp_seq=64 ttl=64 time=1071 ms
64 bytes from 192.168.1.1 icmp_seq=65 ttl=64 time=63.8 ms
64 bytes from 192.168.1.1 icmp_seq=66 ttl=64 time=1.58 ms
64 bytes from 192.168.1.1 icmp_seq=67 ttl=64 time=1.57 ms
64 bytes from 192.168.1.1 icmp_seq=68 ttl=64 time=1.70 ms
64 bytes from 192.168.1.1 icmp_seq=69 ttl=64 time=1.55 ms
64 bytes from 192.168.1.1 icmp_seq=70 ttl=64 time=1.56 ms
64 bytes from 192.168.1.1 icmp_seq=71 ttl=64 time=1.61 ms
64 bytes from 192.168.1.1 icmp_seq=108 ttl=64 time=471 ms
64 bytes from 192.168.1.1 icmp_seq=109 ttl=64 time=1.64 ms
64 bytes from 192.168.1.1 icmp_seq=110 ttl=64 time=1.66 ms
64 bytes from 192.168.1.1 icmp_seq=111 ttl=64 time=1.68 ms
64 bytes from 192.168.1.1 icmp_seq=112 ttl=64 time=1.82 ms
64 bytes from 192.168.1.1 icmp_seq=113 ttl=64 time=1.56 ms
64 bytes from 192.168.1.1 icmp_seq=114 ttl=64 time=1.67 ms
64 bytes from 192.168.1.1 icmp_seq=115 ttl=64 time=1.57 ms
^C
--- 192.168.1.1 ping statistics ---
118 packets transmitted, 21 received, 82% packet loss, time 117810ms
rtt min/avg/max/mdev = 1.551/179.527/1571.414/407.392 ms, pipe 2


The atr128k.asx used for listening
**** AMSTERDAM TRANCE RADIO ****

<ASX version = "3.0">

<TITLE>1.FM</TITLE>

<MoreInfo href = "http//www.1.fm" />

<Entry>

<Ref href = "http//atr.1.fm/1fmatr128k" />

<PARAM NAME="HTMLView" Value="http//www.1.fm/station/atr/Listen.aspx"/>

</Entry>

<Entry>

<Ref href = "http//atr.1.fm/1fmatr128k" />

<PARAM NAME="HTMLView" Value="http//www.1.fm/station/atr/Listen.aspx"/>

</Entry>

<Entry>

<Ref href = "http//atr.1.fm/1fmatr128k" />

<PARAM NAME="HTMLView" Value="http//www.1.fm/station/atr/Listen.aspx"/>

</Entry>

</ASX>

------------------------------
after some time all connection breaks including the one with VLC so I had to restart connection using WICD or Network Manager
so it return to work normally for some time until.... i get broken connection again!
follows the ping with Google DNS
------------------------------


Pinging the GOOGLE DNS

64 bytes from 8.8.8.8 icmp_seq=561 ttl=52 time=50.7 ms
64 bytes from 8.8.8.8 icmp_seq=562 ttl=52 time=50.4 ms
64 bytes from 8.8.8.8 icmp_seq=563 ttl=52 time=49.8 ms
64 bytes from 8.8.8.8 icmp_seq=564 ttl=52 time=49.9 ms
64 bytes from 8.8.8.8 icmp_seq=565 ttl=52 time=50.9 ms
64 bytes from 8.8.8.8 icmp_seq=566 ttl=52 time=49.3 ms
64 bytes from 8.8.8.8 icmp_seq=567 ttl=52 time=50.7 ms
64 bytes from 8.8.8.8 icmp_seq=568 ttl=52 time=50.3 ms
64 bytes from 8.8.8.8 icmp_seq=569 ttl=52 time=49.9 ms
64 bytes from 8.8.8.8 icmp_seq=570 ttl=52 time=49.7 ms
64 bytes from 8.8.8.8 icmp_seq=607 ttl=52 time=1403 ms
64 bytes from 8.8.8.8 icmp_seq=608 ttl=52 time=395 ms
64 bytes from 8.8.8.8 icmp_seq=609 ttl=52 time=49.5 ms
64 bytes from 8.8.8.8 icmp_seq=610 ttl=52 time=51.2 ms
64 bytes from 8.8.8.8 icmp_seq=611 ttl=52 time=50.7 ms
64 bytes from 8.8.8.8 icmp_seq=612 ttl=52 time=50.9 ms
64 bytes from 8.8.8.8 icmp_seq=613 ttl=52 time=50.2 ms
64 bytes from 8.8.8.8 icmp_seq=614 ttl=52 time=50.1 ms
64 bytes from 8.8.8.8 icmp_seq=651 ttl=52 time=1363 ms
64 bytes from 8.8.8.8 icmp_seq=652 ttl=52 time=355 ms
64 bytes from 8.8.8.8 icmp_seq=653 ttl=52 time=50.2 ms
64 bytes from 8.8.8.8 icmp_seq=654 ttl=52 time=50.2 ms
64 bytes from 8.8.8.8 icmp_seq=655 ttl=52 time=53.2 ms
64 bytes from 8.8.8.8 icmp_seq=656 ttl=52 time=49.7 ms
64 bytes from 8.8.8.8 icmp_seq=657 ttl=52 time=50.1 ms
64 bytes from 8.8.8.8 icmp_seq=658 ttl=52 time=49.8 ms
64 bytes from 8.8.8.8 icmp_seq=695 ttl=52 time=1383 ms
64 bytes from 8.8.8.8 icmp_seq=696 ttl=52 time=373 ms
64 bytes from 8.8.8.8 icmp_seq=697 ttl=52 time=49.8 ms
64 bytes from 8.8.8.8 icmp_seq=698 ttl=52 time=50.0 ms
64 bytes from 8.8.8.8 icmp_seq=699 ttl=52 time=51.9 ms
64 bytes from 8.8.8.8 icmp_seq=700 ttl=52 time=49.7 ms
^C
--- 8.8.8.8 ping statistics ---
700 packets transmitted, 592 received, 15% packet loss, time 701494ms
rtt min/avg/max/mdev = 48.936/61.194/1403.560/97.581 ms, pipe 2

--------------------------------------------------------------------------------

At the end I get broken connection AGAIN and AGAIN !!!!!!!!!!!

SO I tried to use another rt73 driver!

--------------------------------------------------------------------------------

(WORKING DRIVER FOR RT73)

https//launchpad.net/~marco/+archive/p ... hive-extra

rt73-k2wrlz-source_3.0.3-2~ppa0~karmic_all.deb (300.7 KiB)

RutilT 0.18-0ubuntu1 (included in UBUNTU 9.10)


root@ubuntu~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

ralan0 RT73 WLAN ESSID"XXXXXXXXXX" ( note I have offuscated this information for privacy )
ModeManaged Frequency=2.412 GHz Access Point xxxxxxxxxxxx ( note I have offuscated this information for privacy )
Bit Rate=36 Mb/s
RTS throff Fragment throff
Encryption keyxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx ( note I have offuscated this information for privacy )
Link Quality=46/100 Signal level-62 dBm Noise level-143 dBm
Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0
Tx excessive retries0 Invalid misc0 Missed beacon0


root@ubuntu~# ifconfig
eth0 Link encapEthernet HWaddr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
UP BROADCAST RUNNING MULTICAST MTU1500 Metric1
RX packets0 errors0 dropped0 overruns0 frame0
TX packets0 errors0 dropped0 overruns0 carrier0
collisioni0 txqueuelen1000
Byte RX0 (0.0 B) Byte TX0 (0.0 B)
Interrupt18

lo Link encapLoopback locale
indirizzo inet127.0.0.1 Maschera255.0.0.0
indirizzo inet6 1/128 ScopeHost
UP LOOPBACK RUNNING MTU16436 Metric1
RX packets4 errors0 dropped0 overruns0 frame0
TX packets4 errors0 dropped0 overruns0 carrier0
collisioni0 txqueuelen0
Byte RX232 (232.0 B) Byte TX232 (232.0 B)

ralan0 Link encapEthernet HWaddr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
indirizzo inet192.168.1.5 Bcast192.168.1.255 Maschera255.255.255.0
indirizzo inet6 xxxxxxxxxxxxxxxxxxx/64 ScopeLink ( note I have offuscated this information for privacy )
UP BROADCAST RUNNING MULTICAST MTU1500 Metric1
RX packets318340 errors0 dropped2568 overruns2568 frame2568
TX packets256700 errors0 dropped22 overruns0 carrier0
collisioni0 txqueuelen1000
Byte RX222669201 (222.6 MB) Byte TX130141250 (130.1 MB)


DMESG ->

[ 25.044573] rt73 init
[ 25.044580] rt73 k2wrlz modification 3.0.3
[ 25.044616] rt73 idVendor = 0x148f, idProduct = 0x2573
[ 25.045752] usb 1-3 firmware requesting rt73.bin
[ 25.049742] ppdev user-space parallel port driver
[ 25.336432] alloc irq_desc for 22 on node -1
[ 25.336438] alloc kstat_irqs on node -1
[ 25.336450] VIA 82xx Audio 00000011.5 PCI INT C -> GSI 22 (level, low) -> IRQ 22
[ 25.343751] VIA 82xx Audio 00000011.5 setting latency timer to 64
[ 25.375072] ip_tables (C) 2000-2006 Netfilter Core Team
[ 25.460120] __ratelimit 3 callbacks suppressed
[ 25.460126] type=1505 audit(1295782401.11213) operation="profile_replace" pid=898 name=/usr/share/gdm/guest-session/Xsession
[ 25.496747] type=1505 audit(1295782401.14814) operation="profile_replace" pid=903 name=/sbin/dhclient3
[ 25.497196] type=1505 audit(1295782401.14815) operation="profile_replace" pid=903 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[ 25.497427] type=1505 audit(1295782401.14816) operation="profile_replace" pid=903 name=/usr/lib/connman/scripts/dhclient-script
[ 25.546851] type=1505 audit(1295782401.19617) operation="profile_replace" pid=904 name=/usr/bin/evince
[ 25.552477] rt73 using permanent MAC addr
[ 25.552484] rt73 Active MAC addr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 25.552488] rt73 Local MAC = xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 25.554509] usbcore registered new interface driver rt73
[ 25.570344] type=1505 audit(1295782401.22018) operation="profile_replace" pid=904 name=/usr/bin/evince-previewer
[ 25.596494] type=1505 audit(1295782401.24819) operation="profile_replace" pid=904 name=/usr/bin/evince-thumbnailer
[ 25.620768] type=1505 audit(1295782401.27220) operation="profile_replace" pid=931 name=/usr/lib/cups/backend/cups-pdf
[ 25.621279] type=1505 audit(1295782401.27221) operation="profile_replace" pid=931 name=/usr/sbin/cupsd
[ 25.651684] type=1505 audit(1295782401.30022) operation="profile_replace" pid=932 name=/usr/sbin/mysqld-akonadi
[ 25.776676] alloc irq_desc for 16 on node -1
[ 25.776682] alloc kstat_irqs on node -1
[ 25.776693] nvidia 00000100.0 PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 25.777211] NVRM loading NVIDIA UNIX x86 Kernel Module 173.14.20 Thu Jun 25 192324 PDT 2009
[ 25.856561] codec_read codec 0 is not valid [0x107e5368]
[ 25.939032] codec_read codec 0 is not valid [0x107e5368]
[ 25.945730] codec_read codec 0 is not valid [0x107e5368]
[ 25.974078] codec_read codec 0 is not valid [0x107e5368]
[ 26.038191] VIA 82xx Modem 00000011.6 enabling device (0000 -> 0001)
[ 26.038206] VIA 82xx Modem 00000011.6 PCI INT C -> GSI 22 (level, low) -> IRQ 22
[ 26.854120] VIA 82xx Modem 00000011.6 setting latency timer to 64
[ 27.048669] agpgart-via 00000000.0 AGP 3.5 bridge
[ 27.048691] agpgart-via 00000000.0 putting AGP V3 device into 8x mode
[ 27.048763] nvidia 00000100.0 putting AGP V3 device into 8x mode
[ 27.358361] VIA 82xx Modem 00000011.6 PCI INT C disabled
[ 27.358399] VIA 82xx Modem probe of 00000011.6 failed with error -13
[ 36.392625] skge eth0 enabling interface
[ 36.397027] ADDRCONF(NETDEV_UP) eth0 link is not ready
[ 273.583239] rt73 driver version - 1.0.3.6 CVS
[ 273.583247] rt73 using net dev supplied MAC addr
[ 273.583251] rt73 Active MAC addr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 273.583255] rt73 Local MAC = xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 273.634248] rt73 using net dev supplied MAC addr
[ 273.634258] rt73 Active MAC addr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 273.634262] rt73 Local MAC = xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 284.612032] ralan0 no IPv6 routers present
[ 460.754348] skge eth0 disabling interface
[ 460.762301] skge eth0 enabling interface
[ 460.767185] ADDRCONF(NETDEV_UP) eth0 link is not ready
[ 461.353824] rt73 closed
[ 461.395252] rt73 driver version - 1.0.3.6 CVS
[ 461.395260] rt73 using net dev supplied MAC addr
[ 461.395265] rt73 Active MAC addr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 461.395268] rt73 Local MAC = xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 461.433861] rt73 using net dev supplied MAC addr
[ 461.433871] rt73 Active MAC addr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 461.433875] rt73 Local MAC = xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 472.000014] ralan0 no IPv6 routers present
[ 486.353760] rt73 closed
[ 590.895021] rt73 driver version - 1.0.3.6 CVS
[ 590.895029] rt73 using net dev supplied MAC addr
[ 590.895033] rt73 Active MAC addr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 590.895037] rt73 Local MAC = xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 590.970848] rt73 using net dev supplied MAC addr
[ 590.970858] rt73 Active MAC addr xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 590.970862] rt73 Local MAC = xxxxxxxxxxxx ( note I have offuscated this information for privacy )
[ 596.826349] NOHZ local_softirq_pending 08
[ 597.836654] NOHZ local_softirq_pending 08
[ 598.826585] NOHZ local_softirq_pending 08
[ 598.833192] NOHZ local_softirq_pending 08
[ 600.996042] ralan0 no IPv6 routers present
[ 603.835083] NOHZ local_softirq_pending 08
[ 604.550521] NOHZ local_softirq_pending 08
[ 605.580583] NOHZ local_softirq_pending 08
[ 606.611597] NOHZ local_softirq_pending 08
[ 616.642205] NOHZ local_softirq_pending 08
[ 617.672136] NOHZ local_softirq_pending 08


NOW IS ALL WORKING !!! but PLEASE fix the rt2x00 driver as it is default in Linux Kernel and in UBUNTU and MANDRIVA.

Thankyou.

maubat63

24-01-2011 18:39:35

PROBLEM (BUG) in rt73usb (rt2x00) Driver (or in the new mac80211)

SYMPTOM After a random time the wifi connection breaks with strange behavior; the wireless connection still remains active,
the association with the access point remains but tcp/ip packets get lost (even with the AP).

----------------------------------
second part using Mandriva
----------------------------------

USING OS Mandriva 2010.0

[mauro@localhost ~]$ uname -r
2.6.31.14-desktop-1mnb

-------------------------------------------------------------------------------------------------------------
Here is the problem i can found in Mandriva it looks the same of Ubuntu 9.10 Karmic Koala
-------------------------------------------------------------------------------------------------------------

Firefox stop surfing, message is Connecting to http//rt2x00.serialmonkey.com
and after some time displays the error page can't connect to

meanwhile radio streaming connection still goes on

if I ping the access point i get

[mauro@localhost ~]$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1 icmp_seq=138 ttl=64 time=1074 ms
64 bytes from 192.168.1.1 icmp_seq=139 ttl=64 time=74.5 ms
64 bytes from 192.168.1.1 icmp_seq=165 ttl=64 time=4018 ms
64 bytes from 192.168.1.1 icmp_seq=166 ttl=64 time=3020 ms
64 bytes from 192.168.1.1 icmp_seq=167 ttl=64 time=2021 ms
64 bytes from 192.168.1.1 icmp_seq=168 ttl=64 time=1021 ms
64 bytes from 192.168.1.1 icmp_seq=169 ttl=64 time=22.4 ms
64 bytes from 192.168.1.1 icmp_seq=170 ttl=64 time=1.77 ms
64 bytes from 192.168.1.1 icmp_seq=171 ttl=64 time=1.59 ms
64 bytes from 192.168.1.1 icmp_seq=172 ttl=64 time=1.77 ms
64 bytes from 192.168.1.1 icmp_seq=173 ttl=64 time=1.58 ms
64 bytes from 192.168.1.1 icmp_seq=174 ttl=64 time=1.64 ms
64 bytes from 192.168.1.1 icmp_seq=175 ttl=64 time=1.58 ms
64 bytes from 192.168.1.1 icmp_seq=176 ttl=64 time=1.63 ms
64 bytes from 192.168.1.1 icmp_seq=177 ttl=64 time=1.58 ms
64 bytes from 192.168.1.1 icmp_seq=178 ttl=64 time=1.56 ms
64 bytes from 192.168.1.1 icmp_seq=179 ttl=64 time=1.70 ms
64 bytes from 192.168.1.1 icmp_seq=201 ttl=64 time=625 ms
64 bytes from 192.168.1.1 icmp_seq=202 ttl=64 time=1.62 ms
64 bytes from 192.168.1.1 icmp_seq=203 ttl=64 time=1.67 ms
64 bytes from 192.168.1.1 icmp_seq=204 ttl=64 time=2.35 ms
64 bytes from 192.168.1.1 icmp_seq=205 ttl=64 time=1.58 ms
64 bytes from 192.168.1.1 icmp_seq=227 ttl=64 time=2001 ms
64 bytes from 192.168.1.1 icmp_seq=228 ttl=64 time=1002 ms
64 bytes from 192.168.1.1 icmp_seq=229 ttl=64 time=3.58 ms
64 bytes from 192.168.1.1 icmp_seq=230 ttl=64 time=1.66 ms
64 bytes from 192.168.1.1 icmp_seq=231 ttl=64 time=1.59 ms
64 bytes from 192.168.1.1 icmp_seq=232 ttl=64 time=1.94 ms
64 bytes from 192.168.1.1 icmp_seq=257 ttl=64 time=2001 ms
64 bytes from 192.168.1.1 icmp_seq=258 ttl=64 time=1002 ms
64 bytes from 192.168.1.1 icmp_seq=259 ttl=64 time=3.42 ms
64 bytes from 192.168.1.1 icmp_seq=260 ttl=64 time=1.65 ms
64 bytes from 192.168.1.1 icmp_seq=261 ttl=64 time=3.99 ms
64 bytes from 192.168.1.1 icmp_seq=262 ttl=64 time=1.98 ms
64 bytes from 192.168.1.1 icmp_seq=263 ttl=64 time=1.98 ms

< OMISSIS >

<NOTE>
<The connection begin to work normally, even Firefox can surf again...>
<I do nothing, the connection start again alone, wicd says nothing >


64 bytes from 192.168.1.1 icmp_seq=572 ttl=64 time=4.15 ms
64 bytes from 192.168.1.1 icmp_seq=573 ttl=64 time=1.47 ms
64 bytes from 192.168.1.1 icmp_seq=574 ttl=64 time=1.73 ms
64 bytes from 192.168.1.1 icmp_seq=575 ttl=64 time=2.23 ms
^C
--- 192.168.1.1 ping statistics ---
575 packets transmitted, 335 received, 41% packet loss, time 575383ms
rtt min/avg/max/mdev = 1.476/55.158/4018.918/349.675 ms, pipe 5
[mauro@localhost ~]$


--------------------------------------------------------------------------------------------------------------------------------
With Wireshark you can see the behavior connection with radio still active but ping to AP get no response...
--------------------------------------------------------------------------------------------------------------------------------


No. Time Source Destination Protocol Info
586 22.832028 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
587 22.832365 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
588 22.834276 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
589 22.853209 192.168.1.5 192.168.1.1 ICMP Echo (ping) request[/color25c2mvxh]

No. Time Source Destination Protocol Info
590 22.902997 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
591 22.936186 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=366801 Win=424 Len=0 TSV=2750046 TSER=652692464

No. Time Source Destination Protocol Info
592 22.971040 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
593 23.070917 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
594 23.157178 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=369601 Win=415 Len=0 TSV=2750267 TSER=652692598

No. Time Source Destination Protocol Info
595 23.166542 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
596 23.267434 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
597 23.267534 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
598 23.267883 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
599 23.337439 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
600 23.337542 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=373801 Win=350 Len=0 TSV=2750447 TSER=652692796

No. Time Source Destination Protocol Info
601 23.433565 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
602 23.538702 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
603 23.538794 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=376601 Win=383 Len=0 TSV=2750648 TSER=652693063

No. Time Source Destination Protocol Info
604 23.599950 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
605 23.670831 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
606 23.750178 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=379401 Win=340 Len=0 TSV=2750860 TSER=652693229

No. Time Source Destination Protocol Info
607 23.772586 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
608 23.772588 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
609 23.773042 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
610 23.853216 192.168.1.5 192.168.1.1 ICMP Echo (ping) request[/color25c2mvxh]

No. Time Source Destination Protocol Info
611 23.864178 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=380802 Win=319 Len=0 TSV=2750974 TSER=652693402

No. Time Source Destination Protocol Info
612 23.872586 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
613 23.938223 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
614 24.000746 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=383601 Win=276 Len=0 TSV=2751110 TSER=652693501

No. Time Source Destination Protocol Info
615 24.039605 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
616 24.110485 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
617 24.212364 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
618 24.212464 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=387801 Win=224 Len=0 TSV=2751322 TSER=652693668

No. Time Source Destination Protocol Info
619 24.312244 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
620 24.312447 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
621 24.312824 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
622 24.378750 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
623 24.378853 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=390601 Win=181 Len=0 TSV=2751488 TSER=652693942

No. Time Source Destination Protocol Info
624 24.445234 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
625 24.470955 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=392001 Win=319 Len=0 TSV=2751580 TSER=652694075

No. Time Source Destination Protocol Info
626 24.580387 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
627 24.644854 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
628 24.699183 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=394801 Win=276 Len=0 TSV=2751809 TSER=652694207

No. Time Source Destination Protocol Info
629 24.746485 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
630 24.811776 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
631 24.811980 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
632 24.813026 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
633 24.853206 192.168.1.5 192.168.1.1 ICMP Echo (ping) request

No. Time Source Destination Protocol Info
634 24.886181 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=397602 Win=233 Len=0 TSV=2751996 TSER=652694375

No. Time Source Destination Protocol Info
635 24.886295 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
636 25.016668 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
637 25.016763 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=400401 Win=287 Len=0 TSV=2752126 TSER=652694512

No. Time Source Destination Protocol Info
638 25.084550 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
639 25.182056 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic

No. Time Source Destination Protocol Info
640 25.254181 192.168.1.5 72.13.91.71 TCP 38047 > http [ACK] Seq=1 Ack=403201 Win=244 Len=0 TSV=2752364 TSER=652694712

No. Time Source Destination Protocol Info
641 25.446320 72.13.91.71 192.168.1.5 HTTP Continuation or non-HTTP traffic


-------------------------------------
Hope this can help to fix the driver.
Thank you.
------------------------------------

maubat63

31-01-2011 21:53:10

[b1hxn4d3k]For people using Ubuntu 9.10 and Ralink rt73 usb wireless adapter![/b1hxn4d3k]

rt73usb wireless connection randomly disconnects
- partially SOLVED - using driver from Ralink corporation

I tried the original driver from Ralink corporation at http//www.ralinktech.com/support.php?s=2
For the chipset rt73 usb the driver is the RT2501USB(RT73RT2571W/RT2573/RT2671).

It compiles on kernel 2.6.31 found on Ubuntu 9.10 without problem! (just read the instruction).

Read also the comment in the Makefile and comment out the flag for debug this way

## Comment/uncomment the following line to enable/disable debugging
# EXTRA_CFLAGS += -DDBG

so it will not fill your log with debug information. wink

[b1hxn4d3k]MANUAL CONNECTION[/color1hxn4d3k][/b1hxn4d3k]

For Autentication WPAPSK with TKIP you can the use the following command as root in terminal

ifconfig rausb0 down
dhclient -r rausb0
ifconfig rausb0 up
iwconfig rausb0 essid "your_AP_name"
iwpriv rausb0 set AuthMode=WPAPSK
iwpriv rausb0 set EncrypType=TKIP
iwpriv rausb0 set WPAPSK=your_wpa_key_in_ascii
dhclient rausb0

and you are connected with maximum speed connection and without any loss of connection.

[b1hxn4d3k]AUTOMATIC CONNECTION[/color1hxn4d3k][/b1hxn4d3k]

You can configure your Ubuntu 9.10 to set up the connection automatically using the driver
config file rt73sta.dat
Just create /etc/Wireless/RT73STA/ and copy there the rt73sta.dat you can find in the driver directory.

mkdir /etc/Wireless
mkdir /etc/Wireless/RT73STA
cp rt73sta.dat /etc/Wireless/RT73STA

then edit the rt73sta.dat changing

SSID=your_AP_name
AuthMode=WPAPSK
EncrypType=TKIP
WPAPSK=your_wpa_key_ascii

and leaving the rest untouched.

For automatic connection then edit /etc/network/interfaces adding

iface ralan0 inet dhcp
pre-up iwconfig

Ok now when you boot your Ubuntu you are automatically connected.

Ok, this is just a workaround and I would prefer to use rt73usb from rt2x00 project!

[b1hxn4d3k]SO PLEASE FIX RT73USB DRIVER[/color1hxn4d3k][/b1hxn4d3k] ( or the mac80211 ) cry