From owner-freebsd-wireless@freebsd.org Sat Dec 19 17:43:28 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 C4377A4CAE8 for ; Sat, 19 Dec 2015 17:43:28 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A088C145D; Sat, 19 Dec 2015 17:43:28 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from [0.0.0.0] (cpe-071-065-239-148.nc.res.rr.com [71.65.239.148] (may be forged)) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id tBJHhJlG007717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 19 Dec 2015 17:43:24 GMT (envelope-from swills@FreeBSD.org) Subject: Re: urtwn broken at r291262 To: Andriy Voskoboinyk References: <5659ED1D.70003@FreeBSD.org> <565A271C.6070107@FreeBSD.org> <565A5BB2.3020908@FreeBSD.org> <565A8883.7040100@FreeBSD.org> <565B2E60.8010302@FreeBSD.org> Cc: "freebsd-wireless@freebsd.org" From: Steve Wills X-Enigmail-Draft-Status: N1110 Message-ID: <56759737.6050108@FreeBSD.org> Date: Sat, 19 Dec 2015 12:43:19 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Sat, 19 Dec 2015 17:43:24 +0000 (UTC) X-Spam-Status: No, score=2.6 required=4.5 tests=RCVD_ILLEGAL_IP,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.98.7 at mouf.net X-Virus-Status: Clean 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: Sat, 19 Dec 2015 17:43:28 -0000 On 11/29/2015 17:23, Andriy Voskoboinyk wrote: > Sun, 29 Nov 2015 18:57:04 +0200 було написано Steve Wills > : > > Hi, > > I split previous patch into smaller pieces. If you wish, you can test > them and say, which helps (if any). > > To speed up the process, you can use the following procedure > (will work only if urtwn(4) is not compiled into the kernel): > 1) before patching: > mv /boot/kernel/if_urtwn.ko /boot/kernel/if_urtwn.ko.bak && cd /usr/src > 2) svn patch --reverse-diff > 3) svn patch > 4) make buildkernel KERNFAST=yes > 5) ifconfig wlan0 down > 6) ifconfig wlan0 destroy > 7) kldunload if_urtwn > 8) kldload `find /usr/obj/usr/src/sys -name if_urtwn.ko` > 9) > 10) at the end: > mv /boot/kernel/if_urtwn.ko.bak /boot/kernel/if_urtwn.ko Sorry, it took me a while, but I finally got these patches tested. I tested against r290630. I had to apply both patch-urtwn-ridx.diff and patch-urtwn-hwseq.diff before it started working. I see other changes have been made in the mean time, but thought I'd report anyway. I'll test the latest version too, but wanted to go ahead and send this info. Also, with patch-urtwn-eapol.diff applied, I got this panic while unloading: http://pastebin.com/KGN66u9t Not sure if this matters or not, but thought I'd pass it along. Thanks, Steve