From owner-freebsd-current@FreeBSD.ORG Wed Mar 17 02:14:12 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4F1F1065675 for ; Wed, 17 Mar 2010 02:14:12 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id 9B98C8FC15 for ; Wed, 17 Mar 2010 02:14:12 +0000 (UTC) Received: from [202.179.0.80] (helo=localhost) by publicd.ub.mng.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Nrilt-0002GQ-K9; Wed, 17 Mar 2010 10:14:09 +0800 From: (Ganbold.TS) ganbold@micom.mng.net To: PseudoCylon X-Mailer: ZBTA tsanba p1.1 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit Message-Id: <20100317021412.E4F1F1065675@hub.freebsd.org> Date: Wed, 17 Mar 2010 02:14:12 +0000 (UTC) Cc: freebsd-current@freebsd.org Subject: RE: Re X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 02:14:13 -0000 Hi, > 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? I will try your patch when I get home after work. Yes, it uses MIPS 32-bit big-endian. thanks, Ganbold > > 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 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 > > 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" > > > > > > > > > > > > > > -- > 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/ > _______________________________________________ > 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" > >