Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless

From: Ganbold <ganbold_at_gmail.com>
Date: Sat, 24 Apr 2010 18:56:12 +0800
PseudoCylon wrote:
> Hello,
>
> Can you try this? (all 3 files has been updated)
> http://projects.nasreddine.com/projects/run/repository/revisions/mips_fix/show/dev/usb/wlan
>
> This is for rev 207077 or newer.
> If you are using older rev, please let me know with rev #, I'll change the code accordingly.
>
> If it isn't too much trouble, can you run the driver with following debug option on?
> # wlandebug -i wlan0 0x69300000
> (after wlan create)
> To make this work, kernel need to be compiled with IEEE80211_DEBUG option which is enabled in generic AR71XX conf file by default.
>
> And, maybe with INVARIANTS option? the bug has been fixed in rev 206400
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/mips/atheros/if_arge.c
>
> Sorry for asking too much. The driver is causing the trouble, but something goes wrong outside the driver.
>   

AK-san,

Just got panic when destroying.
...
run_rx_frame: rx done
run_vap_delete: vap=0xc1002000 rvp_id=0 bmap=0 rvp_cnt=0
run_newstate: RUN -> INIT
run_raw_xmit: ic=0xc0fb2000 run_raw_xmit: ifp=0xc0caa000 run_raw_xmit:
sc=0xc0fa8000
Trap cause = 4 (address error (load or I-fetch) - kernel mode)
[ thread pid 14 tid 100028 ]
Stopped at      ieee80211_node_attach+0x400:    lw      v0,24(v0)
db>
...

Ganbold


> Thanks
> AK
>
>   
>>> Is your kernel compiled with INVARIANTS 
>>> option?
>>>  
>>>       
>
>   
>> Tried, but if_arge panics at boot with INVARIANTS 
>> option.
>>     
>
>   
>> arge0: <Atheros AR71xx built-in ethernet interface> at 
>> mem 0x19000000-0x19000fff irq 2 on nexus0 panic: mtx_lock() of spin mutex 
>> arge mii lock 
>> _at_ /usr/mysrc/sys/mips/atheros/if_arge.c:554
>>     
>
>
>   
>> thanks,
>>     
>
>   
>> Ganbold 
>>     
>
>
>
>   


-- 
Time is the most valuable thing a man can spend. -- Theophrastus
Received on Sat Apr 24 2010 - 08:57:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC