Hello all!

I'm using ndiswrapper on ubuntu "dapper" i386-machine.

I have a Belkin "Wireless G USB Network Adapter". I use the driver that came on a cd with the card. The driver files are:

rt73.cat (size: 8084 md5: fab66cbe703431951fddd1bc1c3cd06
1)
rt73.inf (size: 17743 md5: faaa04244db566d5000f551aa8d68bb3)
rt73.sys (size: 232192 md5: bf4709c002d632170dc15a282813d6b3)


The output from lsusb is:
Bus 001 Device 002: ID 050d:705a Belkin Components


The kernel version is: Linux version 2.6.15-27-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Sat Sep 16 01:51:59 UTC 2006

The output of ndiswrapper -v is:
utils version: 1.7
driver version:        1.8

I don't use WEP or WPA at the present.

The card works, but fails when put under high load. After transferring ca 100MB, the card stops working. It still shows up in ifconfig and all, but no data is received or transmitted.

There are some entries in /var/log/messages that seem to be relevant:

Oct  7 13:38:04 localhost kernel: [17191709.820000] swapper: page allocation failure. order:0, mode:0x0
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [__alloc_pages+494/736] __alloc_pages+0x1ee/0x2e0
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [__get_free_pages+30/64] __get_free_pages+0x1e/0x40
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [dma_alloc_coherent+189/304] dma_alloc_coherent+0xbd/0x130
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [pg0+342674536/1069368320] wrap_alloc_urb+0x108/0x260 [ndiswrapper]
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [pg0+342676095/1069368320] wrap_bulk_or_intr_trans+0xcf/0x1f0 [ndiswrapper]
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [pg0+342679174/1069368320] wrap_submit_irp+0xc6/0xf0 [ndiswrapper]
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [pg0+342680818/1069368320] pdoDispatchDeviceControl+0x62/0x90 [ndiswrapper]
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [pg0+342661652/1069368320] IofCallDriver+0x54/0x70 [ndiswrapper]
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [free_pages_bulk+508/688] free_pages_bulk+0x1fc/0x2b0
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [pg0+342661893/1069368320] IofCompleteRequest+0xd5/0x1c0 [ndiswrapper]
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [pg0+342675409/1069368320] irp_complete_worker+0x51/0x170 [ndiswrapper]
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [tasklet_action+58/112] tasklet_action+0x3a/0x70
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [__do_softirq+79/176] __do_softirq+0x4f/0xb0
Oct  7 13:38:04 localhost kernel: [ 17191709.820000]  [do_softirq+53/64] do_softirq+0x35/0x40
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [irq_exit+53/64] irq_exit+0x35/0x40
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [do_IRQ+31/48] do_IRQ+0x1f/0x30
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [common_interrupt+26/32] common_interrupt+0x1a/0x20
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [pg0+340011890/1069368320] acpi_processor_idle+0x155/0x2bc [processor]
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [cpu_idle+28/96] cpu_idle+0x1c/0x60
Oct  7 13:38:04 localhost kernel: [17191709.820000]  [start_kernel+374/464] start_kernel+0x176/0x1d0
Oct  7 13:38:04 localhost kernel: [ 17191709.820000] Mem-info:
Oct  7 13:38:04 localhost kernel: [17191709.820000] DMA per-cpu:
Oct  7 13:38:04 localhost kernel: [17191709.820000] cpu 0 hot: low 0, high 0, batch 1 used:0
Oct  7 13:38:04 localhost kernel: [ 17191709.820000] cpu 0 cold: low 0, high 0, batch 1 used:0
Oct  7 13:38:04 localhost kernel: [17191709.820000] DMA32 per-cpu: empty
Oct  7 13:38:04 localhost kernel: [17191709.820000] Normal per-cpu:
Oct  7 13:38:04 localhost kernel: [ 17191709.820000] cpu 0 hot: low 0, high 90, batch 15 used:10
Oct  7 13:38:04 localhost kernel: [17191709.820000] cpu 0 cold: low 0, high 30, batch 7 used:6
Oct  7 13:38:04 localhost kernel: [17191709.820000] HighMem per-cpu: empty
Oct  7 13:38:04 localhost kernel: [17191709.820000] Free pages:        2328kB (0kB HighMem)
Oct  7 13:38:04 localhost kernel: [17191709.820000] Active:22081 inactive:47655 dirty:4191 writeback:0 unstable:0 free:582 slab:7080 mapped:16410 pagetables:204
Oct  7 13:38:04 localhost kernel: [17191709.820000] DMA free:1268kB min:112kB low:56kB high:112kB active:0kB inactive:11436kB present:16384kB pages_scanned:0 all_unreclaimable? no
Oct  7 13:38:04 localhost kernel: [ 17191709.820000] lowmem_reserve[]: 0 0 303 303
Oct  7 13:38:04 localhost kernel: [17191709.820000] DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Oct  7 13:38:04 localhost kernel: [ 17191709.820000] lowmem_reserve[]: 0 0 303 303
Oct  7 13:38:04 localhost kernel: [17191709.820000] Normal free:1060kB min:2172kB low:1084kB high:2172kB active:88324kB inactive:179184kB present:311232kB pages_scanned:0 all_unreclaimable? no
Oct  7 13:38:04 localhost kernel: [17191709.820000] lowmem_reserve[]: 0 0 0 0
Oct  7 13:38:04 localhost kernel: [17191709.820000] HighMem free:0kB min:128kB low:32kB high:64kB active:0kB inactive:0kB present:0kB pages_scanned:0
all_unreclaimable? no
Oct  7 13:38:04 localhost kernel: [17191709.820000] lowmem_reserve[]: 0 0 0 0
Oct  7 13:38:04 localhost kernel: [17191709.820000] DMA: 1*4kB 0*8kB 1*16kB 1*32kB 1*64kB 1*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1268kB
Oct  7 13:38:04 localhost kernel: [17191709.820000] DMA32: empty
Oct  7 13:38:04 localhost kernel: [17191709.820000] Normal: 1*4kB 0*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1060kB
Oct  7 13:38:04 localhost kernel: [17191709.820000] HighMem: empty
Oct  7 13:38:04 localhost kernel: [17191709.820000] Swap cache: add 0, delete 0, find 0/0, race 0+0
Oct  7 13:38:04 localhost kernel: [17191709.820000 ] Free swap  = 184708kB
Oct  7 13:38:04 localhost kernel: [17191709.820000] Total swap = 184708kB
Oct  7 13:38:04 localhost kernel: [17191709.820000] Free swap:       184708kB
Oct  7 13:38:04 localhost kernel: [ 17191709.836000 ] 81904 pages of RAM
Oct  7 13:38:04 localhost kernel: [17191709.836000] 0 pages of HIGHMEM
Oct  7 13:38:04 localhost kernel: [17191709.836000] 1667 reserved pages
Oct  7 13:38:04 localhost kernel: [17191709.836000 ] 40396 pages shared
Oct  7 13:38:04 localhost kernel: [17191709.836000] 0 pages swap cached
Oct  7 13:38:04 localhost kernel: [17191709.836000] 4191 pages dirty
Oct  7 13:38:04 localhost kernel: [17191709.836000 ] 0 pages writeback
Oct  7 13:38:04 localhost kernel: [17191709.836000] 16410 pages mapped
Oct  7 13:38:04 localhost kernel: [17191709.836000] 7080 pages slab
Oct  7 13:38:04 localhost kernel: [17191709.836000] 204 pages pagetables
Oct  7 13:38:04 localhost kernel: [17191709.836000] ndiswrapper (wrap_alloc_urb:351): couldn't allocate dma buf


Traces like this appear several (three or four) times, and afterwards the wlan doesn't work. The other traces don't have "swapper: page allocation failure" at the top, but "openvpn: page allocation failure" and "dd: page allocation failure".

I realize this could be a kernel bug, a rt73-driver bug, or something else, but I thought perhaps someone at this list could explain what's going wrong :-)

best regards,
Anders Musikka