From owner-freebsd-current@FreeBSD.ORG Fri Apr 23 10:36:27 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 A1DC4106564A for ; Fri, 23 Apr 2010 10:36:27 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from web51804.mail.re2.yahoo.com (web51804.mail.re2.yahoo.com [206.190.38.235]) by mx1.freebsd.org (Postfix) with SMTP id 39A038FC0C for ; Fri, 23 Apr 2010 10:36:26 +0000 (UTC) Received: (qmail 32760 invoked by uid 60001); 23 Apr 2010 10:36:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1272018986; bh=EATTFldXiwUeXc6bgMX2nxli4vSgTNZqzmFD1AeoXi4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=0O3jOeYzWbktBn88C4F0T5FKK/Np8E9WlbLr7TLRHY3jf8rcf8cLzCxpjKn02qOVjKajyWLwROAph3JRC8zomGJm+LAiGdjsmSBxZSTl+N3Ciy2nesbZ1jGuWm6cl3qd1XEFRnR5ZsBtFHYtPdWf2ZQXA8iEx2/L4ti1P4MiEN8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=44jFpXAAcS6DvtEuayIDhHwZntQICym/H/T11eHD7wxYJkRM3nFinS/ByhWS6vTdV6B553xAYiNsH7M/7zCcrqmdEDNJuozMEalkGkh2ZwOQWz1ubxvxwWh05mBsQJsP/UpLla6UV3UPjVWrISCSl1/ypc5hZjYoHnmvfLandww=; Message-ID: <490521.32714.qm@web51804.mail.re2.yahoo.com> X-YMail-OSG: .cmwRTAVM1lmllOr3xSIqeqfqASdN9sSzKteeLzDahCK5L7 b1yA1HsoP4Fij3eNo5EHY7oGouZvrHizs4aqar.WvZnD2RliW_5KveSkr7Gz nW6ESL.PWucN9Ishvdk4CSDIXsBZUqHQABkck_StFHav4CTSA3gJJ4VNVIMs Nlg1oYhUJKTPZjgCukAv8b7JZ7ln4_730jis2PqpC78JV.X6caFwypmuYQ4N 5nq919yxny5YCHbO30COfRwmlbJ_cpREa6u3CENXgYcO3HvzG0SRdQhI3dq_ n.6VqOTkHSrvldW2WtASP6qupgEBRBz5WHs_UEFPr73A_U3Kc2XXOInfmWkC acQGijIkICFBK.fFO5OMI2w-- Received: from [173.183.132.20] by web51804.mail.re2.yahoo.com via HTTP; Fri, 23 Apr 2010 03:36:26 PDT X-Mailer: YahooMailRC/348.5 YahooMailWebService/0.8.102.267879 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> Date: Fri, 23 Apr 2010 03:36:26 -0700 (PDT) From: PseudoCylon To: Ganbold In-Reply-To: <4BBDEC8F.9050803@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Fri, 23 Apr 2010 10:36:27 -0000 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. 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