Date: Sat, 19 Dec 2015 09:44:22 -0800 From: Adrian Chadd <adrian.chadd@gmail.com> To: Steve Wills <swills@freebsd.org> Cc: Andriy Voskoboinyk <avos@freebsd.org>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: urtwn broken at r291262 Message-ID: <CAJ-Vmo=_NqDv3ET7sEYc4mLyibMehGdfQGTduv%2Bb-0TAqMEFdg@mail.gmail.com> In-Reply-To: <56759737.6050108@FreeBSD.org> References: <5659ED1D.70003@FreeBSD.org> <op.x8tqbkpw4dikkl@localhost> <565A271C.6070107@FreeBSD.org> <565A5BB2.3020908@FreeBSD.org> <565A8883.7040100@FreeBSD.org> <op.x8u5q8yo4dikkl@localhost> <565B2E60.8010302@FreeBSD.org> <op.x8vu57oe4dikkl@localhost> <56759737.6050108@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Looks like use-after-free. Any idea what line of code it wa at? -a On 19 December 2015 at 09:43, Steve Wills <swills@freebsd.org> wrote: > On 11/29/2015 17:23, Andriy Voskoboinyk wrote: >> Sun, 29 Nov 2015 18:57:04 +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 Steve Wills >> <swills@freebsd.org>: >> >> 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/s= rc >> 2) svn patch --reverse-diff <old-diff> >> 3) svn patch <new-diff> >> 4) make buildkernel KERNFAST=3Dyes >> 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) <check if everything works. if no, goto 2)> >> 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 unloadi= ng: > > http://pastebin.com/KGN66u9t > > Not sure if this matters or not, but thought I'd pass it along. > > Thanks, > Steve > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=_NqDv3ET7sEYc4mLyibMehGdfQGTduv%2Bb-0TAqMEFdg>