Originally Posted by
alchark
I personally use the in-kernel driver (rt2800usb). It behaves quite strangely, but still it is somewhat usable (at least it authenticates fine, and with some patience you can download stuff over the link).
rt3070 from Ralink site is in bad shape. Its equivalent in staging is at least cleaned up a bit by the community, but still it breaks every now and then with new changes to the rest of the kernel, so I gave up on that.
PS You may also wish to try out compat-wireless, as there are some massive improvements scheduled for 2.6.38, which are not part of the kernel sources at Gitorious.
I have tried all of your options. The in-kernel 3070sta driver doesn't support wpa_supplicant or iwpriv
the 2x00usb drivers don't work at all.
so I ended up again with the Ralink driver from the manufacturer.
It all seems to be memory related. I have cleaned up the system from unneeded services (like consolekit, networkmanager and policykit) and completely uninstalled networkmanager en wpa_supplicant. now it works quite reliable.
Before, when I did this:
ifconfig ra0 up
I got this in syslog:
Code:
Dec 27 22:42:10 easypc rc-scripts: net.ra0 is not allowed to be hotplugged
Dec 27 22:42:23 easypc klogd: Allocate 8192 memory for BA reordering
Dec 27 22:42:23 easypc klogd: MAC_CSR0 [ Ver:Rev=0x30700201]
Dec 27 22:42:24 easypc klogd: <=== RtmpAsicLoadFirmware (status=0)
Dec 27 22:42:24 easypc klogd: --> RTMPAllocTxRxRingMemory
Dec 27 22:42:24 easypc klogd: --> NICInitTransmit
Dec 27 22:42:24 easypc klogd: ifconfig: page allocation failure. order:6, mode:0x20
Dec 27 22:42:24 easypc klogd: [<c002f7f8>] (unwind_backtrace+0x0/0xf4) from [<c0086aec>] (__alloc_pages_nodemask+0x4dc/0x59c)
Dec 27 22:42:24 easypc klogd: [<c0086aec>] (__alloc_pages_nodemask+0x4dc/0x59c) from [<c0030250>] (__dma_alloc+0x88/0x27c)
Dec 27 22:42:24 easypc klogd: [<c0030250>] (__dma_alloc+0x88/0x27c) from [<c00304c0>] (dma_alloc_coherent+0x50/0x5c)
Dec 27 22:42:24 easypc klogd: [<c00304c0>] (dma_alloc_coherent+0x50/0x5c) from [<bf344e04>] (RTMPAllocUsbBulkBufStruct+0x44/0xb0 [rt3370sta])
Dec 27 22:42:24 easypc klogd: [<bf344e04>] (RTMPAllocUsbBulkBufStruct+0x44/0xb0 [rt3370sta]) from [<bf344f1c>] (NICInitTransmit+0xac/0x4f8 [rt3370sta])
Dec 27 22:42:24 easypc klogd: [<bf344f1c>] (NICInitTransmit+0xac/0x4f8 [rt3370sta]) from [<bf3454fc>] (RTMPAllocTxRxRingMemory+0x40/0xc8 [rt3370sta])
Dec 27 22:42:24 easypc klogd: [<bf3454fc>] (RTMPAllocTxRxRingMemory+0x40/0xc8 [rt3370sta]) from [<bf333964>] (rt28xx_init+0xe4/0x610 [rt3370sta])
Dec 27 22:42:24 easypc klogd: [<bf333964>] (rt28xx_init+0xe4/0x610 [rt3370sta]) from [<bf340e78>] (rt28xx_open+0x3c/0xe4 [rt3370sta])
Dec 27 22:42:24 easypc klogd: [<bf340e78>] (rt28xx_open+0x3c/0xe4 [rt3370sta]) from [<bf341250>] (MainVirtualIF_open+0xec/0x160 [rt3370sta])
Dec 27 22:42:24 easypc klogd: [<bf341250>] (MainVirtualIF_open+0xec/0x160 [rt3370sta]) from [<c0247098>] (__dev_open+0xb0/0x100)
Dec 27 22:42:24 easypc klogd: [<c0247098>] (__dev_open+0xb0/0x100) from [<c0243b5c>] (__dev_change_flags+0x78/0x13c)
Dec 27 22:42:24 easypc klogd: [<c0243b5c>] (__dev_change_flags+0x78/0x13c) from [<c0246fb0>] (dev_change_flags+0x10/0x48)
Dec 27 22:42:24 easypc klogd: [<c0246fb0>] (dev_change_flags+0x10/0x48) from [<c029895c>] (devinet_ioctl+0x6e0/0x7c0)
Dec 27 22:42:24 easypc klogd: [<c029895c>] (devinet_ioctl+0x6e0/0x7c0) from [<c02335fc>] (sock_ioctl+0x74/0x26c)
Dec 27 22:42:24 easypc klogd: [<c02335fc>] (sock_ioctl+0x74/0x26c) from [<c00bd178>] (do_vfs_ioctl+0x7c/0x62c)
Dec 27 22:42:24 easypc klogd: [<c00bd178>] (do_vfs_ioctl+0x7c/0x62c) from [<c00bd760>] (sys_ioctl+0x38/0x60)
Dec 27 22:42:24 easypc klogd: [<c00bd760>] (sys_ioctl+0x38/0x60) from [<c0029dc0>] (ret_fast_syscall+0x0/0x2c)
Dec 27 22:42:24 easypc klogd: Mem-info:
Dec 27 22:42:24 easypc klogd: Normal per-cpu:
Dec 27 22:42:24 easypc klogd: CPU 0: hi: 18, btch: 3 usd: 17
Dec 27 22:42:24 easypc klogd: active_anon:59 inactive_anon:687 isolated_anon:2
Dec 27 22:42:24 easypc klogd: active_file:1268 inactive_file:2775 isolated_file:24
Dec 27 22:42:24 easypc klogd: unevictable:0 dirty:13 writeback:20 unstable:0
Dec 27 22:42:24 easypc klogd: free:6745 slab_reclaimable:353 slab_unreclaimable:935
Dec 27 22:42:24 easypc klogd: mapped:644 shmem:1 pagetables:121 bounce:0
Dec 27 22:42:24 easypc klogd: Normal free:26980kB min:1016kB low:1268kB high:1524kB active_anon:236kB inactive_anon:2748kB active_file:5072kB inactive_file:11100kB unevictable:0kB isolated(anon):8kB isolated(file):96kB present:65024kB mlocked:0kB dirty:52kB writeback:80kB mapped:2576kB shmem:4kB slab_reclaimable:1412kB slab_unreclaimable:3740kB kernel_stack:928kB pagetables:484kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:26 all_unreclaimable? no
Dec 27 22:42:24 easypc klogd: lowmem_reserve[]: 0 0
Dec 27 22:42:24 easypc klogd: Normal: 1961*4kB 1112*8kB 322*16kB 57*32kB 15*64kB 16*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 26980kB
Dec 27 22:42:24 easypc klogd: 4518 total pagecache pages
Dec 27 22:42:24 easypc klogd: 463 pages in swap cache
Dec 27 22:42:24 easypc klogd: Swap cache stats: add 19659, delete 19196, find 5580/7864
Dec 27 22:42:24 easypc klogd: Free swap = 98516kB
Dec 27 22:42:24 easypc klogd: Total swap = 102396kB
Dec 27 22:42:24 easypc klogd: 16384 pages of RAM
Dec 27 22:42:24 easypc klogd: 7011 free pages
Dec 27 22:42:24 easypc klogd: 2147 reserved pages
Dec 27 22:42:24 easypc klogd: 1288 slab pages
Dec 27 22:42:24 easypc klogd: 1742 pages shared
Dec 27 22:42:24 easypc klogd: 460 pages swap cached
Dec 27 22:42:24 easypc klogd: <-- ERROR in Alloc Bulk buffer for HTTxContext!
Dec 27 22:42:24 easypc klogd: <-- RTMPAllocTxRxRingMemory, Status=3
Dec 27 22:42:24 easypc klogd: ERROR!!! RTMPAllocTxRxMemory failed, Status[=0x00000003]
Dec 27 22:42:24 easypc klogd: ---> RTMPFreeTxRxRingMemory
Dec 27 22:42:24 easypc klogd: <--- RTMPFreeTxRxRingMemory
Dec 27 22:42:24 easypc klogd: !!! rt28xx Initialized fail !!!
Dec 27 22:42:24 easypc klogd: rt28xx_open return fail!
Bookmarks