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

From: Ganbold <ganbold_at_gmail.com>
Date: Sat, 27 Mar 2010 18:32:47 +0800
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
Received on Sat Mar 27 2010 - 09:58:41 UTC

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