Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2010 21:33:01 +0800
From:      Ganbold <ganbold@micom.mng.net>
To:        PseudoCylon <moonlightakkiy@yahoo.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless
Message-ID:  <4BA22B8D.9030700@micom.mng.net>
In-Reply-To: <633929.41041.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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

PseudoCylon wrote:
> Hello, again.
>
> Can you try this patch? Patch is for if_runvar.h
>
> --begin patch--
>
> *** old_if_runvar.h    2010-03-16 19:14:25.000000000 -0600
> --- new_if_runvar.h    2010-03-16 19:15:51.000000000 -0600
> ***************
> *** 184,186 ****
>           uint8_t    val;
> !     }                bbp[8], rf[10];
>       uint8_t                leds;
> --- 184,186 ----
>           uint8_t    val;
> !     }                bbp[10], rf[10];
>       uint8_t                leds;
>
> --end patch--
>   

Same.

wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:22:cf:03:e0:30
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid bsd channel 1 (2412 MHz 11b)
        country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
        wme bintval 0
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

> Does your mips use big endian?
>
> AK
>
>
>
> Tried this version on routerstation pro (mips) board. Root fs is in 
>   
>> NFS.
>>     
> (FreeBSD 9.0-CURRENT #13 r205084M: Tue Mar 16 22:35:25 ULAT 
>   
>> 2010).
>>     
>
> ..
> run0: <1.0> on usbus0
> run0: MAC/BBP RT3070 (rev 
>   
>> 0x0200), RF RT3020 (MIMO 1T1R), address
>>     
> 00:22:cf:03:e0:30
> Updating 
>   
>> motd:run0: firmware RT2870 loaded
>>     
> _
> ..
>
> run0: 
>   
>> flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
>>     
>     
>   
>>     ether 00:22:cf:03:e0:30
>>     
>         media: IEEE 
>   
>> 802.11 Wireless Ethernet autoselect (autoselect)
>>     
>         
>   
>> status: no carrier
>>     
> wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> 
>   
>> metric 0 mtu 1500
>>     
>         ether 
>   
>> 00:22:cf:03:e0:30
>>     
>         media: IEEE 802.11 Wireless 
>   
>> Ethernet autoselect mode 11g
>>     
>         status: no 
>   
>> carrier
>>     
>         ssid bsd channel 6 (2437 MHz 
>   
>> 11g)
>>     
>         country US authmode OPEN privacy OFF txpower 
>   
>> 0 bmiss 7 scanvalid 60
>>     
>         protmode CTS wme bintval 
>   
>> 0
>>     
> 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> c
> panic: trap
> KDB: enter: 
>   
>> panic
>>     
> [ thread pid 0 tid 100047 ]
> Stopped at      
>   
>> kdb_enter+0x50: lui     at,0x804c
>>     
> db> bt
> Tracing pid 0 tid 
>   
>> 100047 td 0xc0f1f260
>>     
> db_trace_thread+30 (?,?,?,?) ra 80071160 sp c7ec9790 sz 
>   
>> 24
>>     
> 80071044+11c (0,?,ffffffff,?) ra 80070b54 sp c7ec97a8 sz 
>   
>> 32
>>     
> 800707c0+394 (?,?,?,?) ra 80070ce4 sp c7ec97c8 sz 
>   
>> 168
>>     
> db_command_loop+78 (?,?,?,?) ra 800733b8 sp c7ec9870 sz 
>   
>> 24
>>     
> 800732b0+108 (?,?,?,?) ra 801d8b1c sp c7ec9888 sz 424
> kdb_trap+10c 
>   
>> (?,?,?,?) ra 803c2440 sp c7ec9a30 sz 32
>>     
> trap+10fc (?,?,?,?) ra 803b97c8 sp 
>   
>> c7ec9a50 sz 176
>>     
> MipsKernGenException+10c (0,a,804e0fe4,2) ra 801d8d74 sp 
>   
>> c7ec9b00 sz 200
>>     
> kdb_enter+50 (?,?,?,?) ra 8019ccc0 sp c7ec9bc8 sz 
>   
>> 24
>>     
> panic+f8 (?,802c95b8,ffffffff,c7ec9990) ra 803c26a0 sp c7ec9be0 sz 
>   
>> 40
>>     
> trap+135c (?,?,?,?) ra 803b97c8 sp c7ec9c08 sz 
>   
>> 176
>>     
> MipsKernGenException+10c (c0f6a62f,c0f72268,c7ea7c14,e51) ra 802c95b8 
>   
>> sp
>>     
> c7ec9cb8 sz 200
> 802c95a8+10 (?,?,?,?) ra 0 sp c7ec9d80 sz 0
> pid 
>   
>> 0
>>     
> db>
>
>
> Btw, ifconfig wlan0 up works on with stock run(4) which 
>   
>> was committed to
>>     
> HEAD end of Jan.
> Please let me know if you need any more 
>   
>> information.
>>     
>
> Ganbold
>
>   
>> Best,
>> AK
>>
>>  
>> ----
>> "FreeBSD and all other open source projects are the Tower of Babel 
>> in computer era." --me
>> So, join me @ 
>> git://dev.nasreddine.com/run.git
>> (or 
>> href="http://dev.nasreddine.com/gitweb/?p=run.git;a=summary" target=_blank 
>>     
>>> http://dev.nasreddine.com/gitweb/?p=run.git;a=summary )
>>>       
>> Just work 
>> on any of *_dev branches.
>>
>>
>>
>>      
>> __________________________________________________________________
>>
>> Looking for the perfect gift? Give the gift of Flickr! 
>>
>>
>> href="http://www.flickr.com/gift/" target=_blank 
>>     
>>> http://www.flickr.com/gift/
>>>       
>> _______________________________________________
>>
>> ymailto="mailto:freebsd-current@freebsd.org" 
>> href="mailto:freebsd-current@freebsd.org">freebsd-current@freebsd.org 
>> mailing list
>>
>> href="http://lists.freebsd.org/mailman/listinfo/freebsd-current" target=_blank 
>>     
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>>       
>> To 
>> unsubscribe, send any mail to "
>> ymailto="mailto:freebsd-current-unsubscribe@freebsd.org" 
>> href="mailto:freebsd-current-unsubscribe@freebsd.org">freebsd-current-unsubscribe@freebsd.org"
>>
>>
>>
>>  
>>
>>     
>
>
>   


-- 
UNIX is many things to many people, but it's never been everything to
anybody.



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