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

From: PseudoCylon <moonlightakkiy_at_yahoo.ca>
Date: Tue, 16 Mar 2010 18:23:06 -0700 (PDT)
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--

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 _at_ 
> 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_at_freebsd.org" 
> href="mailto:freebsd-current_at_freebsd.org">freebsd-current_at_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_at_freebsd.org" 
> href="mailto:freebsd-current-unsubscribe_at_freebsd.org">freebsd-current-unsubscribe_at_freebsd.org"
>
>
>
>  
> 


-- 
One thing about the past. It's likely to last. -- Ogden 
> Nash


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
Received on Wed Mar 17 2010 - 00:23:07 UTC

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