Linux wireless drivers development
 help / color / mirror / Atom feed
* rt73usb (rt2x00) crash bug on (big-endian) ARM
@ 2009-06-25 12:18 Gert Boddaert
  2009-06-29 13:20 ` Gert Boddaert
  0 siblings, 1 reply; 2+ messages in thread
From: Gert Boddaert @ 2009-06-25 12:18 UTC (permalink / raw)
  To: linux-wireless

Hi,

I tested 3 compat-wireless versions:-

we intend to use compat-wireless-2008-04-08. 
For our embedded puposes this is relatively stable (although it contains the
mentioned bug).
Also the stable version compat-wireless-2.6.30 kernel was tested, and the latest
"bleeding edge" compat-wireless-2009-06-25.

The drivers were cross-compiled (after some integration work) with the windriver
toolchain for the big-endian IXP420 (x-scale). 
We are using the 2.6.27.18 kernel.

the rt73usb is used in AP mode through hostapd, after some patching in hostapd
(the TX not acked thing). 
This works remarkably well, accept for the TX rate bug (low throughput ~800Kb/s
from AP to client),
which can be solved in 2008-04-08 by fixing the rate manually (e.g. iwconfig
wlan0 rate 24M). 
I am happy to inform, that in the 2009-06-25 version this particular automatic
rate problem seems solved.

Anyway, the bug I want to post about is presumably somewhere in the RX path of
the rt73usb driver (or related stacked drivers).

When running iperf (iperf -c 192.168.x.y -u -t 10 -i 1 -b 20M -r ) and
increasing the load on the AP-RX-side IXP420 to >12 Mb/s, the system crashes.

We are investigating how to get a decent crash dump from the embedded device,
but that will take some work.
 
I also tested the same setup on a big-endian powerpc-mac G4 (same 2.6.27.18
kernel), but it doesn't crash there probably because the rt73usb is connected to
a USB 1.0/1.1 port and the througput does not rise above 8-9Mb/s.

To summarize...

Problem 1
The device crashes when the load on its RX side goes higher than ~12Mb/s on all
tested driver versions. 
Is this a known big-endian issue or does this also
happen on low-spec'ed i386 processors?

Problem 2, 
related to compat-wireless-2009-06-25: I can no longer connect from Windows XP
to our embedded AP when using this driver (alignment or endianess issue),
although this does work perfectly with the other driver versions.
Strange thing is, that when booting my test laptop into (ubuntu) linux, 
I CAN connect to the embedded AP with the compat-wireless-2009-06-25 driver.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-29 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 12:18 rt73usb (rt2x00) crash bug on (big-endian) ARM Gert Boddaert
2009-06-29 13:20 ` Gert Boddaert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox