From owner-freebsd-current@FreeBSD.ORG Sat Apr 24 10:57:48 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 DF7BE1065670 for ; Sat, 24 Apr 2010 10:57:47 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id A84738FC0A for ; Sat, 24 Apr 2010 10:57:45 +0000 (UTC) Received: by pva18 with SMTP id 18so1074738pva.13 for ; Sat, 24 Apr 2010 03:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=oBkDKaHqOwAwL61RCrD/whzbP1KJO7bcn1iaeosyfJ8=; b=A+FBgGbhuKJLJ8zKheE+zcuNzcYUWs/+BHKjdpI2m0biN6UImtIP0LnjL4KkSc9TzH pKgxfdo1H4KA0+HwQm1CeC5FSe132d5IAu9n/FTNLdow3Sv3xP2PexOiJDZLf0ge142L qEWM4nN9IEHZC0Jg5kPK9U/rc1fSe/ZpT2YkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=FhweZGAponWzVnxtPPGWSyN73Fyv5W1vtUMZHpSugWHJvplHWUiMVpqFpw6bDbiGiy nUm5tnrdIiri8GLOyMXig38jnJMI7m1QbZsVgFEeswoU10ctJqKjyOV0SnIm1Oi2am+M eV5zapYNsFZ0hV2GHzhor0hHpR+s2fF3vfC28= Received: by 10.114.54.1 with SMTP id c1mr848398waa.61.1272106579821; Sat, 24 Apr 2010 03:56:19 -0700 (PDT) Received: from beastie.micom.mng.net ([202.179.21.130]) by mx.google.com with ESMTPS id 29sm9559788waf.15.2010.04.24.03.56.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Apr 2010 03:56:19 -0700 (PDT) Message-ID: <4BD2CE4C.8080805@gmail.com> Date: Sat, 24 Apr 2010 18:56:12 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.23 (X11/20091011) MIME-Version: 1.0 To: PseudoCylon References: <16641.96608.qm@web51806.mail.re2.yahoo.com> <4B9FA3E0.4050702@micom.mng.net> <633929.41041.qm@web51802.mail.re2.yahoo.com> <4BA22B8D.9030700@micom.mng.net> <375331.74876.qm@web51804.mail.re2.yahoo.com> <4BA38B26.6050208@micom.mng.net> <989377.89740.qm@web51802.mail.re2.yahoo.com> <4BAE01AC.7000509@gmail.com> <623907.37074.qm@web51803.mail.re2.yahoo.com> <4BB3575D.4040506@gmail.com> <87836.79143.qm@web51804.mail.re2.yahoo.com> <4BBB372C.1060302@gmail.com> <665283.95271.qm@web51802.mail.re2.yahoo.com> <4BBDEC8F.9050803@gmail.com> <490521.32714.qm@web51804.mail.re2.yahoo.com> In-Reply-To: <490521.32714.qm@web51804.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Ganbold Tsagaankhuu , freebsd-current@freebsd.org Subject: Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless 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: Sat, 24 Apr 2010 10:57:48 -0000 PseudoCylon wrote: > Hello, > > Can you try this? (all 3 files has been updated) > http://projects.nasreddine.com/projects/run/repository/revisions/mips_fix/show/dev/usb/wlan > > This is for rev 207077 or newer. > If you are using older rev, please let me know with rev #, I'll change the code accordingly. > > If it isn't too much trouble, can you run the driver with following debug option on? > # wlandebug -i wlan0 0x69300000 > (after wlan create) > To make this work, kernel need to be compiled with IEEE80211_DEBUG option which is enabled in generic AR71XX conf file by default. > > And, maybe with INVARIANTS option? the bug has been fixed in rev 206400 > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/mips/atheros/if_arge.c > > Sorry for asking too much. The driver is causing the trouble, but something goes wrong outside the driver. > AK-san, Just got panic when destroying. ... run_rx_frame: rx done run_vap_delete: vap=0xc1002000 rvp_id=0 bmap=0 rvp_cnt=0 run_newstate: RUN -> INIT run_raw_xmit: ic=0xc0fb2000 run_raw_xmit: ifp=0xc0caa000 run_raw_xmit: sc=0xc0fa8000 Trap cause = 4 (address error (load or I-fetch) - kernel mode) [ thread pid 14 tid 100028 ] Stopped at ieee80211_node_attach+0x400: lw v0,24(v0) db> ... Ganbold > Thanks > AK > > >>> Is your kernel compiled with INVARIANTS >>> option? >>> >>> > > >> Tried, but if_arge panics at boot with INVARIANTS >> option. >> > > >> arge0: at >> mem 0x19000000-0x19000fff irq 2 on nexus0 panic: mtx_lock() of spin mutex >> arge mii lock >> @ /usr/mysrc/sys/mips/atheros/if_arge.c:554 >> > > > >> thanks, >> > > >> Ganbold >> > > > > -- Time is the most valuable thing a man can spend. -- Theophrastus