Slows to a halt right after connecting

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

bobismighty

15-03-2008 06:47:00

Alright, let me start off by saying that I DID search for this and didn't find anything that matched my problem exactly. And all the ones that we close to it were never solved(or I should say, followed up on).

I'm positive that it's the right driver for the card, since I can boot up backtrack and it runs fine.

So here's the problem. I have everything compiled, loaded, ready to go. I connect to my wireless, fire up a web page, and it immediately slows down to nothing.
I had a window open pinging www.google.com for a few minutes and it was consistently getting 20-25ms. As soon as I opened up a browser, it jumped up to over 5000ms, making it impossible to do anything.


I have made sure that smp and preempt are off, and I also disabled ehci and used just uhci, but it made no difference.

Earlier, after compiling with no problems, I was unable to bring up the interface. I searched through here and found a post that had a patch called preup1.patch. I patched and recompiled and then got to where I am now. I'm making progress, but it's slow!




I'll post all the technical info below. One thing though I read the TESTING file and, even though I followed the directions, I could not get it to work. I'd get all the way up to insmod'ing the module, but when I tried to "ifconfig rausb0 up", it couldn't find the device. I'll post what's in my debug log anyway, maybe it will be helpful.


System info
Kernel 2.6.24.3 (SMP and PREEMPT are OFF)
Driver rt2570-cvs-2008030312
Distro Slackware 12
Card Netopia TER/GUSB-N

Wireless info
Buffalo router w/ dd-wrt
WPA/TKIP



lsmod


[code23gu1yb5]root@shamrock:/var/log# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 014: ID 148f:2570 Ralink Technology, Corp. 802.11g WiFi
Bus 001 Device 001: ID 0000:0000
[/code23gu1yb5]


modinfo

[code23gu1yb5]

root@shamrock:~/rt2570-cvs-daily/rt2570-cvs-2008030312# modinfo rt2570
filename: /lib/modules/2.6.24.3/extra/rt2570.ko
license: GPL
author: http://rt2x00.serialmonkey.com
description: Ralink RT2570 usb 802.11g WLAN driver 1.0.0 - CVS 2008030312
srcversion: 4EB11BFD869CD43126AF27A
alias: usb:v5A57p0260d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0EB0p9020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v114Bp0110d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0707pEE13d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0681p3C06d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp9020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp2573d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp2570d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp1706d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0p6869d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0p6865d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0p6861d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p0097d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p008Bd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p0067d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p0066d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p005Ed*dc*dsc*dp*ic*isc*ip*
alias: usb:v06F8pE000d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1044p8007d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1044p8001d*dc*dsc*dp*ic*isc*ip*
alias: usb:v2001p3C00d*dc*dsc*dp*ic*isc*ip*
alias: usb:v14B2p3C02d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13B1p001Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v13B1p0011d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13B1p000Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp705Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp7051d*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp7050d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0B05p1707d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0B05p1706d*dc*dsc*dp*ic*isc*ip*
depends: usbcore
vermagic: 2.6.24.3 mod_unload PENTIUM4
parm: debug:Debug mask: n selects filter, 0 for none (int)
parm: ifname:Network device name (default rausb%d) (charp)
root@shamrock:~/rt2570-cvs-daily/rt2570-cvs-2008030312# [/code23gu1yb5]






Can someone please help me?
I may be missing something that I'm not realizing.

bobismighty

19-03-2008 07:46:01

No one has any ideas?

purre

23-03-2008 18:49:28

Same problem here. The funny thing is that snapshot from around christmas worked just fine. I had to reinstall this particular computer and now the current snapshot has this slowdown problem. Everything seems ok at first and the pings are a-ok but after a burst of heavier traffic (load a webpage for example) the connection slows to halt.

I'd gladly have some old snapshot as a quick fix but is there any place to get it?

purre

24-03-2008 00:11:12

Ok. With a little google-fu I managed to find old enough (and not too old) snapshot here [url3jb17md5]http://kaizo.org/misc/gp2x/rt2570-cvs-daily.tar.gz[/url3jb17md5]

It had the Invalid argument problem for me but was fixed by adding

pre-up ifconfig xxxxx hw ether xxxxxxxxxxxx (<- use your interface name and mac-address)

to your /etc/network/interfaces configuration.


And everything works again.

Hope this helps. And now I'm going to make some incremental backups of this snapshot.

Vern

25-03-2008 03:36:34

bobismighty, purre,

I can now induce symptoms very similar to what you're reporting. It's really pretty bad.

No fix to report; but this item is now my top priority. Sorry.

Will post here again when I can report progress.

Vern

30-03-2008 23:22:35

Hi all,

I have made changes to the driver that eliminate the slowdown symptoms that I was able to get to show up in my environment. The basic problem was that I was losing synchronization on the transmit stream between handling completed and pending frames.

I've just finished putting the changes into CVS, and you should see them show up soon in the hourly CVS tarballs.

So, if there are some brave souls out there willing to try it (bobismighty, purre?), please do so and post your results here.

Thanks and - once again - sorry for the inconvenience,

purre

13-04-2008 12:14:07

Hi all,

I have made changes to the driver that eliminate the slowdown symptoms that I was able to get to show up in my environment. The basic problem was that I was losing synchronization on the transmit stream between handling completed and pending frames.

I've just finished putting the changes into CVS, and you should see them show up soon in the hourly CVS tarballs.

So, if there are some brave souls out there willing to try it (bobismighty, purre?), please do so and post your results here.

Thanks and - once again - sorry for the inconvenience,[/quote2k0b6c44]

I will definitely try it out the next time I get my hands on that particular computer (it belongs to my father-in-law actually).

And thanks for the driver!

cheers,
purre

purre

09-05-2008 11:34:02

Hello! I'm now posting from the old t30 workhorse using latest cvs release and I'm glad to report that the slowdown problem is gone.

cheers,
purre

edit small update it seems now that connecting to access point at boot is more or less random so I rolled back to the snapshot from last december...