From owner-freebsd-wireless@freebsd.org Wed Dec 30 06:55:16 2015 Return-Path: Delivered-To: freebsd-wireless@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 E715EA53745; Wed, 30 Dec 2015 06:55:15 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DA721C80; Wed, 30 Dec 2015 06:55:15 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1aEAf5-000I9b-0i; Wed, 30 Dec 2015 08:55:07 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: D-link wireless not detected From: Daniel Braniss In-Reply-To: Date: Wed, 30 Dec 2015 08:55:06 +0200 Cc: Kevin Lo , "freebsd-arm@freebsd.org" , "freebsd-wireless@freebsd.org" , Hans Petter Selasky , freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: 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> <20151229141940.GA16117@ns.kevlo.org> To: Adrian Chadd X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2015 06:55:16 -0000 > On 29 Dec 2015, at 19:42, Adrian Chadd wrote: >=20 > I'll go order one and take a crack at it soon. >=20 > (I saw this when looking at the r92su and realtek linux drivers - they > do a whole bunch of extra endpoint gymnastics that we don't..) great, let me know, and I can help out debugging. danny >=20 >=20 > -a >=20 >=20 > On 29 December 2015 at 06:19, Kevin Lo wrote: >> On Tue, Dec 29, 2015 at 03:02:35PM +0100, Hans Petter Selasky wrote: >>> On 12/29/15 14:00, Daniel Braniss wrote: >>>>=20 >>>>> On 29 Dec 2015, at 14:44, Hans Petter Selasky = wrote: >>>>>=20 >>>>> On 12/29/15 13:36, Daniel Braniss wrote: >>>>>>=20 >>>>>=20 >>>>> Until /etc/devd/usb.conf is regenerated, you'll need to manually = load the kernel module for urtwn. Did you do that? >>>>>=20 >>>>> --HPS >>>>>=20 >>>> ok, set if_urtwn_load=3Dyes >>>> and now I get: >>>>=20 >>>> ugen0.4: at usbus0 >>>> urtwn0: on usbus0 >>>> urtwn0: could not allocate USB transfers, err=3DUSB_ERR_NO_PIPE >>>> Fatal kernel mode data abort: 'Translation Fault (L1)' on write >>>> trapframe: 0xda29fb88 >>>> FSR=3D00000805, FAR=3D00000000, spsr=3D60000013 >>>> r0 =3D00000000, r1 =3D00000000, r2 =3Dc0a72cb0, r3 =3D00000165 >>>> r4 =3Dc2cd0000, r5 =3Dc0a86650, r6 =3Dc2cd1a80, r7 =3D00000000 >>>> r8 =3Dc2cd1dd8, r9 =3Dc2cd1a20, r10=3Dc2a85dd0, r11=3Dda29fc20 >>>> r12=3D00000000, ssp=3Dda29fc18, slr=3D00000004, pc =3Dc0a3f7cc >>>>=20 >>>> [ thread pid 13 tid 100045 ] >>>> Stopped at ieee80211_ifdetach+0x4c: str r0, [r1] >>>> db> >>>>=20 >>>> btw, as long as you are willing to help, I will keep testing, >>>> in other words, i=E2=80=99m ok. >>>=20 >>> Hi Andriy, >>>=20 >>> Can you fix the crash above and verify this error patch? >>>=20 >>> Andriy: >>>=20 >>> After: >>> usbd_transfer_unsetup(sc->sc_xfer, URTWN_N_TRANSFER); >>> There is no need for: >>> usbd_transfer_drain(sc->sc_xfer[x]); >>=20 >> As I mentioned previously we don't support rtl8192eu. One difference >> between those is the the number of endpoints and its addresses. >>=20 >>> --HPS >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"