Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 00:23:57 +0200
From:      "Andriy Voskoboinyk" <avos@freebsd.org>
To:        "Steve Wills" <swills@freebsd.org>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: urtwn broken at r291262
Message-ID:  <op.x8vu57oe4dikkl@localhost>
In-Reply-To: <565B2E60.8010302@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>

next in thread | previous in thread | raw e-mail | index | archive | help
------------EsROVXvLNy9WI0o1b0ukza
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: Quoted-Printable

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/=
src
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
------------EsROVXvLNy9WI0o1b0ukza
Content-Disposition: attachment; filename=patch-urtwn-drvrate.diff
Content-Type: application/octet-stream; name="patch-urtwn-drvrate.diff"
Content-Transfer-Encoding: Base64

LS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apol.diff
Content-Type: application/octet-stream; name="patch-urtwn-eapol.diff"
Content-Transfer-Encoding: Base64

LS0tIHN5cy9kZXYvdXNiL3dsYW4vaWZfdXJ0d24uYwkyMDE1LTExLTI5IDEzOjQw
OjUzLjk0Nzc5MzAwMCArMDIwMAorKysgc3lzL2Rldi91c2Ivd2xhbi9pZl91cnR3
bi5jCTIwMTUtMTEtMjkgMjM6MTg6MjEuMzE4NDU1MDAwICswMjAwCkBAIC0xODI1
LDEzICsxODI1LDExIEBACiAJCWlmICh0eXBlID09IElFRUU4MDIxMV9GQzBfVFlQ
RV9EQVRBKSB7CiAJCQlxc2VsID0gUjkyQ19UWERXMV9RU0VMX0JFOwogCi0JCQlp
ZiAoIShtLT5tX2ZsYWdzICYgTV9FQVBPTCkpIHsKIAkJCQlpZiAoaWMtPmljX2N1
cm1vZGUgIT0gSUVFRTgwMjExX01PREVfMTFCKSB7CiAJCQkJCXJhaWQgPSBSOTJD
X1JBSURfMTFCRzsKIAkJCQkJcmlkeCA9IFVSVFdOX1JJRFhfT0ZETTU0OwogCQkJ
CX0gZWxzZQogCQkJCQlyaWR4ID0gVVJUV05fUklEWF9DQ0sxMTsKLQkJCX0KIAog
CQkJaWYgKHNjLT5jaGlwICYgVVJUV05fQ0hJUF84OEUpCiAJCQkJdHhkLT50eGR3
MiB8PSBodG9sZTMyKFI4OEVfVFhEVzJfQUdHQkspOwo=

------------EsROVXvLNy9WI0o1b0ukza
Content-Disposition: attachment; filename=patch-urtwn-hwseq.diff
Content-Type: application/octet-stream; name="patch-urtwn-hwseq.diff"
Content-Transfer-Encoding: Base64

LS0tIHN5cy9kZXYvdXNiL3dsYW4vaWZfdXJ0d24uYwkyMDE1LTExLTI5IDEzOjQw
OjUzLjk0Nzc5MzAwMCArMDIwMAorKysgc3lzL2Rldi91c2Ivd2xhbi9pZl91cnR3
bi5jCTIwMTUtMTEtMjkgMjM6MTY6NTAuMTcwNjg0MDAwICswMjAwCkBAIC0xODgx
LDYgKzE4ODEsNyBAQAogCWlmICghSUVFRTgwMjExX1FPU19IQVNfU0VRKHdoKSkg
ewogCQkvKiBVc2UgSFcgc2VxdWVuY2UgbnVtYmVyaW5nIGZvciBub24tUW9TIGZy
YW1lcy4gKi8KIAkJdHhkLT50eGRzZXEgPSBodG9sZTE2KFI5MkNfVFhEU0VRX0hX
U0VRX0VOKTsKKwkJdHhkLT50eGR3NCB8PSBodG9sZTMyKDB4ODApOwogCX0gZWxz
ZSB7CiAJCS8qIFNldCBzZXF1ZW5jZSBudW1iZXIuICovCiAJCXR4ZC0+dHhkc2Vx
ID0gaHRvbGUxNihNX1NFUU5PX0dFVChtKSAlIElFRUU4MDIxMV9TRVFfUkFOR0Up
Owo=

------------EsROVXvLNy9WI0o1b0ukza
Content-Disposition: attachment; filename=patch-urtwn-ridx.diff
Content-Type: application/octet-stream; name=patch-urtwn-ridx.diff
Content-Transfer-Encoding: Base64

LS0tIHN5cy9kZXYvdXNiL3dsYW4vaWZfdXJ0d24uYwkyMDE1LTExLTI5IDEzOjQw
OjUzLjk0Nzc5MzAwMCArMDIwMAorKysgc3lzL2Rldi91c2Ivd2xhbi9pZl91cnR3
bi5jCTIwMTUtMTEtMjkgMjM6MTY6MDcuMTgzMjEyMDAwICswMjAwCkBAIC0xODMx
LDYgKzE4MzEsNyBAQAogCQkJCQlyaWR4ID0gVVJUV05fUklEWF9PRkRNNTQ7CiAJ
CQkJfSBlbHNlCiAJCQkJCXJpZHggPSBVUlRXTl9SSURYX0NDSzExOworCQkJCXJp
ZHggPSBVUlRXTl9SSURYX09GRE01NDsKIAkJCX0KIAogCQkJaWYgKHNjLT5jaGlw
ICYgVVJUV05fQ0hJUF84OEUpCg==

------------EsROVXvLNy9WI0o1b0ukza--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.x8vu57oe4dikkl>