From owner-freebsd-current@FreeBSD.ORG Sat Apr 24 13:58:45 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 8FC7E106566C for ; Sat, 24 Apr 2010 13:58:45 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 1F96B8FC26 for ; Sat, 24 Apr 2010 13:58:44 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=HEYnYNVUCg4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Gi-K3LvrAAAA:8 a=6I5d2MoRAAAA:8 a=z5WGAR818nKKeEgkIpYA:9 a=JenzZyzWYo3rRQt0jj4A:7 a=EbMomNFecVza5VUvgCwoWuG7HhMA:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 618302529; Sat, 24 Apr 2010 15:58:43 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sat, 24 Apr 2010 15:56:10 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <16641.96608.qm@web51806.mail.re2.yahoo.com> <490521.32714.qm@web51804.mail.re2.yahoo.com> <4BD2D0AB.2000706@gmail.com> In-Reply-To: <4BD2D0AB.2000706@gmail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004241556.10163.hselasky@c2i.net> Cc: Ganbold Tsagaankhuu , PseudoCylon , Ganbold 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 13:58:45 -0000 On Saturday 24 April 2010 13:06:19 Ganbold wrote: > 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. > > More crash, but I think it might be related to usb. > > panic: Trying sleep, but thread marked as sleeping prohibited > KDB: enter: panic > [ thread pid 11 tid 100031 ] > Stopped at kdb_enter+0x50: lui at,0x8054 Hi, This is not an USB issue. Please make sure usbd_do_request() is only called from thread context. --HPS