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

Ganbold ganbold at gmail.com
Sat Mar 27 10:58:41 UTC 2010


PseudoCylon wrote:
>>> Same.
>>>       
> 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?
>   

Same, it panics right after issuing wlan up. I used this patch and also
if_runvar.h patch also.
...
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 (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     
run_stop: All Tx cleared
run_newstate: INIT -> SCAN
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>

Ganbold

> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
>   


-- 
The worst cliques are those which consist of one man. -- George Bernard
Shaw


More information about the freebsd-current mailing list