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

From: Ganbold <ganbold_at_gmail.com>
Date: Sat, 24 Apr 2010 19:06:19 +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.
>
>   

More crash, but I think it might be related to usb.

panic: Trying sleep, but thread marked as sleeping prohibited
KDB: enter: panic
[ thread pid 11 tid 100031 ]
Stopped at      kdb_enter+0x50: lui     at,0x8054
db> bt
Tracing pid 11 tid 100031 td 0xc0c96720
db_trace_thread+30 (?,?,?,?) ra 800ac688 sp c7967558 sz 24
800ac56c+11c (0,?,ffffffff,?) ra 800abd30 sp c7967570 sz 32
800ab99c+394 (?,?,?,?) ra 800abec0 sp c7967590 sz 168
db_command_loop+78 (?,?,?,?) ra 800ae4d8 sp c7967638 sz 24
800ae3d0+108 (?,?,?,?) ra 80208060 sp c7967650 sz 424
kdb_trap+108 (?,?,?,?) ra 80407380 sp c79677f8 sz 32
trap+d50 (?,?,?,?) ra 803ff090 sp c7967818 sz 168
MipsKernGenException+134 (0,a,806c8fe4,109) ra 802082e8 sp c79678c0 sz 200
kdb_enter+50 (?,?,?,?) ra 801d1a04 sp c7967988 sz 24
panic+f8 (?,4,80480eb8,120) ra 80212f10 sp c79679a0 sz 40
sleepq_add+120 (?,?,?,?) ra 8018f174 sp c79679c8 sz 56
_cv_wait+1f0 (?,?,?,?) ra 80147ba8 sp c7967a00 sz 64
usbd_do_request_flags+540 (?,?,?,?) ra c7e5629c sp c7967a40 sz 104
PC 0xc7e5629c: not in kernel
0+c7e5629c (?,?,?,?) ra 0 sp c7967aa8 sz 0
pid 11
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 
>>     
>
>
>
>   


-- 
Everybody has something to conceal. -- Humphrey Bogart
Received on Sat Apr 24 2010 - 09:06:31 UTC

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