From owner-freebsd-wireless@freebsd.org Tue Dec 29 14:14:19 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 69803A55D7A; Tue, 29 Dec 2015 14:14:19 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF06C1D8C; Tue, 29 Dec 2015 14:14:18 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f44.google.com with SMTP id y184so212604687lfc.1; Tue, 29 Dec 2015 06:14:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=content-type:to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=sS0Us8C/fcishtPT0it8WGOESQsqutlk6Q3xQCCF6Ko=; b=hKOx9s16P0BxzafdzBnBj70v5WfN9XFutjpHKRyQ24b6nOXus9uf3kUkDV7HakFXAY ovskyAuJdNZLbJUuOLoaiftsJRRAZCBZWzO5d6r+A+4lTgxAoONV7YstddNe/8O6muOz chMk/FYGF3WwBGiMhtXouDjA/B3LjLVJfkNjmElEfMTs5ICtX0pCoSpgXK/zOSM0Mag5 qEQ1JAwpOk9hggHq7TJOOEmwHmr1MaIOT3kiV/uAEB48BK1BZcfI0QaFeazHiKZH229c 9h1jyvrlPnTdHfK+D/hCoAnmCEru9CF2X1I3BWV/8YnZL9b32MHVd/gXa9gjWsvkVQhx a+HQ== X-Received: by 10.25.91.139 with SMTP id p133mr610236lfb.108.1451398450602; Tue, 29 Dec 2015 06:14:10 -0800 (PST) Received: from localhost ([77.91.171.160]) by smtp.gmail.com with ESMTPSA id h8sm11047917lbd.5.2015.12.29.06.14.09 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 29 Dec 2015 06:14:10 -0800 (PST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Kubilay Kocak" Subject: Re: D-link wireless not detected 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> <5682927B.6020704@selasky.org> <56829387.7080508@selasky.org> <568293F8.3040905@FreeBSD.org> Date: Tue, 29 Dec 2015 16:14:08 +0200 Cc: "Hans Petter Selasky" , "Daniel Braniss" , "freebsd-wireless@freebsd.org" , freebsd-arm@freebsd.org, freebsd-current@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <568293F8.3040905@FreeBSD.org> User-Agent: Opera Mail/12.16 (FreeBSD) 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: Tue, 29 Dec 2015 14:14:19 -0000 Tue, 29 Dec 2015 16:08:56 +0200 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Kubilay Kocak = : > On 30/12/2015 1:07 AM, Hans Petter Selasky wrote: >> On 12/29/15 15:02, 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 l= oad >>>>> the kernel module for urtwn. Did you do that? >>>>> >>>>> --HPS >>>>> >>>> ok, set if_urtwn_load=3Dyes >>>> and now I get: >>>> >>>> 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 >>>> >>>> [ 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=E2=80=99m ok. >>> >>> Hi Andriy, >>> >>> Can you fix the crash above and verify this error patch? >>> >> >> Hi, >> >> I see 11-current has a fix. Maybe MFC that to 10-stable? > > Is there a Bugzilla issue ID for it? No, it was fixed in r292174 (as a part of = https://reviews.freebsd.org/D4447) > >>> Andriy: >>> >>> After: >>> usbd_transfer_unsetup(sc->sc_xfer, URTWN_N_TRANSFER); >>> There is no need for: >>> usbd_transfer_drain(sc->sc_xfer[x]); >> >> --HPS >> > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to = > "freebsd-wireless-unsubscribe@freebsd.org"