Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2010 21:01:32 +0800
From:      Ganbold <ganbold@gmail.com>
To:        PseudoCylon <moonlightakkiy@yahoo.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless
Message-ID:  <4BAE01AC.7000509@gmail.com>
In-Reply-To: <989377.89740.qm@web51802.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>

next in thread | previous in thread | raw e-mail | index | archive | help
PseudoCylon wrote:
>>> Same.
>>>       
>
>   

JFYI, I have just tested if_run and works fine on HEAD (i386).
But on RouterStation Pro it still has problem with your patch.

Ganbold

>>>    
>>> rspro# ifconfig wlan0 up    
>>>
>>> rspro# Trap cause = 5 (address error (store) - kernel 
>>>       
>> mode)
>>     
>>> [ thread pid 0 tid 100047 ]
>>> Stopped at  
>>>       
>>     ieee80211_radiotap_vdetach+0x70:        
>> sh      v1,0(a0)
>>     
>>> db> bt
>>> Tracing pid 0 
>>>       
>> tid 100047 td 0xc0f1f260
>>     
>>> db_trace_thread+30 (?,?,?,?) ra 80071160 sp 
>>>       
>> c7ec9948 sz 24
>>     
>>> 80071044+11c (0,?,ffffffff,?) ra 80070b54 sp c7ec9960 
>>>       
>> sz 32
>>     
>>> 800707c0+394 (?,?,?,?) ra 80070ce4 sp c7ec9980 sz 
>>>       
>> 168
>>     
>>> db_command_loop+78 (?,?,?,?) ra 800733b8 sp c7ec9a28 sz 
>>>       
>> 24
>>     
>>> 800732b0+108 (?,?,?,?) ra 801d8b1c sp c7ec9a40 sz 424
>>>
>>>       
>> kdb_trap+10c (?,?,?,?) ra 803c2690 sp c7ec9be8 sz 32
>>     
>>> trap+134c 
>>>       
>> (?,?,?,?) ra 803b97c8 sp c7ec9c08 sz 176
>>     
>>> MipsKernGenException+10c 
>>>       
>> (c0f6a637,c0f721c8,c7ea7c04,e51) ra 802c95b8 sp
>>     
>>> c7ec9cb8 sz 
>>>       
>> 200
>>     
>>> 802c95a8+10 (?,?,?,?) ra 0 sp c7ec9d80 sz 0
>>> pid 
>>>       
>> 0
>>     
>>> db>
>>>    
>>> Ganbold
>>>
>>>       
>
> Hi,
>
> Can you try this patch? (Patch is for if_run.c)
>
> Before "ifconfig wlan0 up", please run
> sysctl hw.usb.run.debug=1
> This will give me more clues.
>
> Does it panic right after wlan up, or are there some seconds before panic?
>
> Regards,
> AK
>
> -- begin patch --
>
> *** old_if_run.c    2010-03-27 02:44:20.000000000 -0600
> --- new_if_run.c    2010-03-27 02:47:28.000000000 -0600
> ***************
> *** 414,416 ****
>   static const struct {
> !     uint32_t    reg;
>       uint32_t    val;
> --- 414,416 ----
>   static const struct {
> !     uint16_t    reg;
>       uint32_t    val;
> ***************
> *** 1225,1227 ****
>   
> !     *val = tmp & 0xff;
>       return 0;
> --- 1225,1227 ----
>   
> !     *val = (uint8_t)(tmp & 0xff);
>       return 0;
>
>
>       __________________________________________________________________
> The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>
>   


-- 
The Bible is not my Book and Christianity is not my religion. I could
never give assent to the long complicated statements of Christian dogma.
-- Abraham Lincoln



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