at76c503a network stalls after 30-60MB of traffic on MA101B usb wlan

BC Flyer <[email protected]> Sun, 7 Nov 2004 13:26:11 -0800
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
Hi,
      I have a Netgear MA101 Rev B wireless usb transceiver plugged into 
a Toshiba
laptop running Debian 3r2 (woody). The berlios at76c503 drivers 
installed without
a hitch and seemed to be working fine. However, i've noticed that after 
somewhere
between 30 and 60 MB of traffic has passed, the interface stops 
working. I can
consistently reproduce this by transferring a large file to or from the 
system, and
in every case, the file transfer stalls somewhere between 30 and 60 MB, 
and
no more network traffic can get through except for an occasional ping 
packet.

The network stalls regardless of wether or not WEP is enabled on the 
interface,
and the distance between the MA101B and the DLINK base station is
about 3 feet. I have another wireless laptop on the network (using a 
PCMCIA
transciever) that works fine throughout the tests on the Toshiba with 
the MA101,
so I know that its failing on the MA101 side.

I have tried both the current stable sources from berlios (at76c503a 
0.11)
and the latest cvs tarball downloaded on 5 Nov, but the network stalls
using the drivers from either source.

I am at a loss for how to troubleshoot/solve this problem. Any help is 
greatly
appreciated. I have attached the output of lsmod, lspci, lsusb, 
iwconfig, ifconfig,
  /proc/bus/usb/devices, and /proc/bus/usb/drivers to the end of this 
message.

Thanks in advance,
bcflyer_at_electricoceanDOTcom


========== System Configuration Info ==========
Device: USB NetGear MA101 RevB
Linux Distro: Debian 3r3 (woody)
Kernel Version: 2.4.27
========== output from lsmod ==========
Module                  Size  Used by    Not tainted
ds                      6976   2
i82365                 27504   2
pcmcia_core            46752   0  [ds i82365]
at76c503-rfmd          39940   0  (unused)
at76c503               69472   0  [at76c503-rfmd]
at76_usbdfu             3428   0  [at76c503]
usbdfu                  7608   0  (unused)
========== output from lspci ==========
00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (AGP 
disabled) (rev 03)
00:04.0 VGA compatible controller: Neomagic Corporation [MagicMedia 
256AV] (rev 12)
00:05.0 Bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
00:05.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01)
00:05.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
00:05.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 02)
00:06.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 
05)
00:07.0 Communication controller: Lucent Microelectronics 56k WinModem 
(rev 01)
00:09.0 Communication controller: Toshiba America Info Systems FIR Port 
(rev 23)
00:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
00:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E 
(rev 10)
00:0d.0 Multimedia controller: C-Cube Microsystems Cinemaster C 3.0 DVD 
Decoder (rev 02)
========== cat /proc/bus/usb/devices ==========
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=ffe0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=fe(app. ) Sub=01 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0864 ProdID=4102 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=ff 
Driver=at76c503-rfmd
E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
========== cat /proc/bus/usb/drivers ==========
          usbdevfs
          hub
          usbdfu
          at76c503-rfmd
========== lsusb ==========
Bus 001 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.00
   bDeviceClass            9 Hub
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0         8
   idVendor           0x0000 Virtual
   idProduct          0x0000 Hub
   bcdDevice            0.00
   iManufacturer           0
   iProduct                2 USB UHCI-alt Root Hub
   iSerial                 1 ffe0
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength           25
     bNumInterfaces          1
     bConfigurationValue     1
     iConfiguration          0
     bmAttributes         0x40
       Self Powered
     MaxPower                0mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           1
       bInterfaceClass         9 Hub
       bInterfaceSubClass      0
       bInterfaceProtocol      0
       iInterface              0
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x81  EP 1 IN
         bmAttributes            3
           Transfer Type            Interrupt
           Synch Type               none
         wMaxPacketSize          8
         bInterval             255
   Language IDs: (length=4)
      0000 (null)((null))

Bus 001 Device 002: ID 0864:4102
   Language IDs: none (cannot get min. string descriptor; got len=-1, 
error=32:Broken pipe)
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.10
   bDeviceClass          254
   bDeviceSubClass         1
   bDeviceProtocol         0
   bMaxPacketSize0         8
   idVendor           0x0864
   idProduct          0x4102
   bcdDevice            1.00
   iManufacturer           0
   iProduct                0
   iSerial                 0
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength           32
     bNumInterfaces          1
     bConfigurationValue     1
     iConfiguration          0
     bmAttributes         0x80
     MaxPower              500mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           2
       bInterfaceClass       255 Vendor Specific Class
       bInterfaceSubClass      0
       bInterfaceProtocol    255
       iInterface              0
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x85  EP 5 IN
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               none
         wMaxPacketSize         64
         bInterval               0
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x02  EP 2 OUT
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               none
         wMaxPacketSize         64
         bInterval               0
   Language IDs: none (cannot get min. string descriptor; got len=-1, 
error=32:Broken pipe)
========== output from iwconfig ==========
lo        no wireless extensions.

Warning : Device wlan0 has been compiled with version 16
of Wireless Extension, while we are using version 12.
Some things may be broken...

wlan0     IEEE 802.11-DS  ESSID:"myNet"  Nickname:"okuwlan"
           Mode:Managed  Channel:1  Access Point: 00:0D:88:62:15:C3
           Bit Rate:11Mb/s   Tx-Power=15 dBm
           Retry limit:8   RTS thr=1536 B   Fragment thr=1536 B
           Encryption key: off
           Power Management:off
           Link Quality:0/0  Signal level:-176 dBm  Noise level:-256 dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
========== output from ifconfig ==========
wlan0     Link encap:Ethernet  HWaddr 00:07:5B:21:A1:CE
           inet addr:192.168.0.100  Bcast:192.168.0.255  
Mask:255.255.255.0
           UP BROADCAST RUNNING  MTU:1500  Metric:1
           RX packets:3943 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1921 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:4125841 (3.9 MiB)  TX bytes:180929 (176.6 KiB)