hi,sir!i use initramfs to test ,use iwlist ra0 scanning ,it is ok !
i login as root ,even if i chmod 777 * ,also fail!
from my opinion,i see it is failed by memory allocate,i guess
something protect memory allocate!
# free
total used free shared
buffers
Mem: 99200 93292 5908 0
2264
Swap: 0 0 0
Total: 99200 93292 5908
when i disable android support (mv /etc/rcS.d/S99android /etc/rcS.d/
K99android),
rootfs# ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ra0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
usb0 Link encap:Ethernet HWaddr D2:32:FF:B1:8D:12
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
rootfs#:
SiRFPrima# ifconfig ra0 up
[ 64.105056] <-- RTMPAllocTxRxRingMemory, Status=0
[ 64.109107] -->RTUSBVenderReset
[ 64.110241] <--RTUSBVenderReset
[ 64.395647] I/F(ra0) Key1Str is Invalid key length! KeyLen = 0!
[ 64.398823] I/F(ra0) Key2Str is Invalid key length! KeyLen = 0!
[ 64.404973] I/F(ra0) Key3Str is Invalid key length! KeyLen = 0!
[ 64.410630] I/F(ra0) Key4Str is Invalid key length! KeyLen = 0!
[ 64.418461] AntDiversity=0
[ 64.419142] 1. Phy Mode = 5
[ 64.421966] 2. Phy Mode = 5
[ 64.481615] 3. Phy Mode = 9
[ 64.486610] RTMPSetPhyMode: channel is out of range, use first
channel=1
[ 64.493738] MCS Set = ff 00 00 00 01
[ 64.560026] <==== RTMPInitialize, Status=0
[ 64.562350] 0x1300 = 00064300
rootfs# ./iwlist ra0 scanning
ra0 Scan completed :
Cell 01 - Address: 00:1C:B0:91:6E:8C
Protocol:802.11g
ESSID:"tommy"
Mode:Managed
Channel:6
Quality:37/100 Signal level:-75 dBm Noise
level:-97 dBm
Encryption key:on
Bit Rates:11 Mb/s
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
rootfs# free
total used free shared
buffers
Mem: 99200 25300 73900 0
11256
Swap: 0 0 0
Total: 99200 25300 73900
On 10月15日, 下午8時32分, Jim Huang <js...@0xlab.org> wrote:
> 2009/10/13 tommy.hong <hongjiuj
...@126.com>:
> > LInux:2.6.27
> > rootfs:android1.5
> > usb wifi:rt3070
> [...]
> > [ 728.939897] <-- ERROR in Alloc TX TxContext[2] HTTX_BUFFER !!
> > [ 728.945863] <-- RTMPAllocTxRxRingMemory, Status=3
> > [ 728.950392] ERROR!!! RTMPAllocDMAMemory failed, Status[=0x00000003]
> > [ 728.956567] !!! RT2870 Initialized fail !!!
> > ifconfig: SIOCSIFFLAGS: Operation not permitted
> hi Tommy.
> Could you confirm whether if Ralink rt3070 driver works on Linux? It
> does not seem to be related to Android.
> Sincerely,
> Jim Huang (jserv)http://0xlab.org/