From owner-freebsd-current@freebsd.org Tue Dec 29 14:20:25 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E29FAA55FFF; Tue, 29 Dec 2015 14:20:25 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 85E34115B; Tue, 29 Dec 2015 14:20:25 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.9/8.14.9) with ESMTP id tBTEJgDx016182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 29 Dec 2015 22:19:42 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.9/8.14.9/Submit) id tBTEJfh4016181; Tue, 29 Dec 2015 22:19:41 +0800 (CST) (envelope-from kevlo) Date: Tue, 29 Dec 2015 22:19:40 +0800 From: Kevin Lo To: Hans Petter Selasky Cc: Daniel Braniss , freebsd-wireless@FreeBSD.org, freebsd-arm@freebsd.org, freebsd-current@FreeBSD.org Subject: Re: D-link wireless not detected Message-ID: <20151229141940.GA16117@ns.kevlo.org> References: <382E50DE-7B65-4469-9851-8F28A335096C@cs.huji.ac.il> <5682580B.30107@selasky.org> <346C6669-E51E-498F-8AD0-C294F70B441D@cs.huji.ac.il> <56825E74.3050609@selasky.org> <1EC3E6CB-5031-46F3-A3AD-329DB1FDC882@cs.huji.ac.il> <56827D08.2070602@selasky.org> <5682801B.6020404@selasky.org> <5682927B.6020704@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5682927B.6020704@selasky.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 29 Dec 2015 14:20:26 -0000 On Tue, Dec 29, 2015 at 03:02:35PM +0100, Hans Petter Selasky wrote: > On 12/29/15 14:00, Daniel Braniss wrote: > > > >> On 29 Dec 2015, at 14:44, Hans Petter Selasky wrote: > >> > >> On 12/29/15 13:36, Daniel Braniss wrote: > >>> > >> > >> Until /etc/devd/usb.conf is regenerated, you'll need to manually load the kernel module for urtwn. Did you do that? > >> > >> --HPS > >> > > ok, set if_urtwn_load=yes > > and now I get: > > > > ugen0.4: at usbus0 > > urtwn0: on usbus0 > > urtwn0: could not allocate USB transfers, err=USB_ERR_NO_PIPE > > Fatal kernel mode data abort: 'Translation Fault (L1)' on write > > trapframe: 0xda29fb88 > > FSR=00000805, FAR=00000000, spsr=60000013 > > r0 =00000000, r1 =00000000, r2 =c0a72cb0, r3 =00000165 > > r4 =c2cd0000, r5 =c0a86650, r6 =c2cd1a80, r7 =00000000 > > r8 =c2cd1dd8, r9 =c2cd1a20, r10=c2a85dd0, r11=da29fc20 > > r12=00000000, ssp=da29fc18, slr=00000004, pc =c0a3f7cc > > > > [ thread pid 13 tid 100045 ] > > Stopped at ieee80211_ifdetach+0x4c: str r0, [r1] > > db> > > > > btw, as long as you are willing to help, I will keep testing, > > in other words, i’m ok. > > Hi Andriy, > > Can you fix the crash above and verify this error patch? > > Andriy: > > After: > usbd_transfer_unsetup(sc->sc_xfer, URTWN_N_TRANSFER); > There is no need for: > usbd_transfer_drain(sc->sc_xfer[x]); As I mentioned previously we don't support rtl8192eu. One difference between those is the the number of endpoints and its addresses. > --HPS