From owner-freebsd-current@freebsd.org Tue Dec 29 14:00:33 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 40A09A55737; Tue, 29 Dec 2015 14:00:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03B941FC4; Tue, 29 Dec 2015 14:00:32 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 93E7D1FE024; Tue, 29 Dec 2015 15:00:30 +0100 (CET) Subject: Re: D-link wireless not detected To: Daniel Braniss References: <1BA8A509-38E0-4975-BD66-95D934D9E055@cs.huji.ac.il> <20151229103348.29c9469c@planb.netng.org> <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> Cc: Vladimir Botka , freebsd-arm@freebsd.org, freebsd-wireless@FreeBSD.org, freebsd-current@FreeBSD.org, Andriy Voskoboinyk From: Hans Petter Selasky Message-ID: <5682927B.6020704@selasky.org> Date: Tue, 29 Dec 2015 15:02:35 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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:00:33 -0000 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]); --HPS