Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2010 23:01:50 +0800
From:      Ganbold <ganbold@gmail.com>
To:        PseudoCylon <moonlightakkiy@yahoo.ca>
Cc:        Ganbold Tsagaankhuu <ganbold@mobicom.mn>, freebsd-current@freebsd.org
Subject:   Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless
Message-ID:  <4BD307DE.5080507@gmail.com>
In-Reply-To: <490521.32714.qm@web51804.mail.re2.yahoo.com>
References:  <16641.96608.qm@web51806.mail.re2.yahoo.com> <4B9FA3E0.4050702@micom.mng.net> <633929.41041.qm@web51802.mail.re2.yahoo.com> <4BA22B8D.9030700@micom.mng.net> <375331.74876.qm@web51804.mail.re2.yahoo.com> <4BA38B26.6050208@micom.mng.net> <989377.89740.qm@web51802.mail.re2.yahoo.com> <4BAE01AC.7000509@gmail.com> <623907.37074.qm@web51803.mail.re2.yahoo.com> <4BB3575D.4040506@gmail.com> <87836.79143.qm@web51804.mail.re2.yahoo.com> <4BBB372C.1060302@gmail.com> <665283.95271.qm@web51802.mail.re2.yahoo.com> <4BBDEC8F.9050803@gmail.com> <490521.32714.qm@web51804.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
>   

Got another panic. Maybe it is something else.

run_rx_frame: rx done
run_rx_frame: rx done
run_rx_frame: rx done
run_rx_frame: rx done
run_rx_frame: rx done
Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode)
[ thread pid 0 tid 100062 ]
Stopped at      run_drain_fifo+0xd8:    lw      v0,6444(a1)
db> bt
Tracing pid 0 tid 100062 td 0xc0f88be0
db_trace_thread+30 (?,?,?,?) ra 800ac688 sp c7e83970 sz 24
800ac56c+11c (0,?,ffffffff,?) ra 800abd30 sp c7e83988 sz 32
800ab99c+394 (?,?,?,?) ra 800abec0 sp c7e839a8 sz 168
db_command_loop+78 (?,?,?,?) ra 800ae4d8 sp c7e83a50 sz 24
800ae3d0+108 (?,?,?,?) ra 80208060 sp c7e83a68 sz 424
kdb_trap+108 (?,?,?,?) ra 80407624 sp c7e83c10 sz 32
trap+ff4 (?,?,?,?) ra 803ff090 sp c7e83c30 sz 168
MipsKernGenException+134 (1a3,0,0,21c) ra c7e5bd24 sp c7e83cd8 sz 200
PC 0xc7e5bd24: not in kernel
0+c7e5bd24 (?,?,?,?) ra 0 sp c7e83da0 sz 0
pid 0
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 
>> @ /usr/mysrc/sys/mips/atheros/if_arge.c:554
>>     
>
>
>   
>> thanks,
>>     
>
>   
>> Ganbold 
>>     
>
>
>
>   


-- 
A pipe gives a wise man time to think and a fool something to stick in
his mouth.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD307DE.5080507>