Re: CURRENT crashes with nvidia GPU BLOB : vm_radix_insert: key
--Sig_/VMFiOyelyg1yJjVAXCioeNb
Content-Type: multipart/mixed; boundary="MP_/p+JT9kiyBsVuns5obrQbw3L"
--MP_/p+JT9kiyBsVuns5obrQbw3L
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
On Sat, 10 Aug 2013 11:31:19 +0200
Gary Jennejohn <gljennjohn@googlemail.com> wrote:
> On Sat, 10 Aug 2013 11:10:40 +0200
> Rainer Hurling <rhurlin@gwdg.de> wrote:
>=20
> > Yes, I can confirm, that it builds, installs and runs fine for me.
> >=20
> > The patch should be placed as
> > x11/nvidia-driver/files/patch-src__nvidia_subr.c, shoudn't it?
> >=20
> > Many thanks for this work.
> >=20
>=20
> Thanks for testing.
>=20
> Yes, putting the patch into files/ with that name works also and
> is much simpler than the steps I outlined.
>=20
Placing the patch in files as recommended here doesn't play well with
the obvious intention of the REINPLACE command:
the patch only applies to 319.25.
I use the cutting edge 325.15. The patch doesn't apply since some lines
shifted - here comes the tricky REINPLACE part of the Makefile in place.
I simply adapted your patches discussed and introduced here and
"adapted" the REINPLACE statements/pattern around line 160 in the
toplevel Makefile of port x11/nvidia-driver.
Find the patch attached - I forgot to raise PORTREVISION=3D1.
I'm now sending this email from the prior crashing box with the patch
discussed applied via the Makefile to 325.15.
Thanks a lot for the fast help.
Regards,
Oliver=20
--MP_/p+JT9kiyBsVuns5obrQbw3L
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=nvidia-driver.patch.txt
diff -Nur nvidia-driver.orig/Makefile nvidia-driver/Makefile
--- nvidia-driver.orig/Makefile 2013-08-10 14:46:08.000000000 +0200
+++ nvidia-driver/Makefile 2013-08-10 14:41:52.000000000 +0200
@@ -158,8 +158,8 @@
.endif
# Catch up with KVA space allocation API changes in recent -CURRENT
.if ${OSVERSION} > 1000040
- ${REINPLACE_CMD} -e 's/kmem_free(kernel_map,/kva_free(/ ; \
- /kmem_alloc_contig/s/map/arena/' ${WRKSRC}/src/nvidia_subr.c
+ ${REINPLACE_CMD} -e 's/kmem_free(kernel_map,/kmem_free(kmem_arena,/ ; \
+ /kmem_alloc_contig/s/kernel_map/kmem_arena/' ${WRKSRC}/src/nvidia_subr.c
.endif
# Process OPTIONS
.if ${PORT_OPTIONS:MFREEBSD_AGP}
--MP_/p+JT9kiyBsVuns5obrQbw3L--
--Sig_/VMFiOyelyg1yJjVAXCioeNb
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)
iQEcBAEBAgAGBQJSBjkvAAoJEOgBcD7A/5N8HLYIALx4PtCwZ/VeVcSGFsNX7Iwj
orGyh0RNxUlsgmxUY4QdSQ9PXt5bpz6dpxAnhh3ILz/8mGriWyNABeGrURh8v6gG
HDBhcsRYQa54vvTHPmOXu6er33sBrz6rUv6I1RBk/4KJaYngax0AQxM0dcgKg6jD
JFhac5HsfWIOamEbyV4bu/UOCeuq9xI9F4LEwkNyj/5nc95UUO2CadBGa+cUUuYj
qkV17LRY7vsjDzgn4oCzdOQxYimDjsIhgiZtVr9LebHiXjViFQrTRpdswJ9pr2VJ
WUBB03ickD+FGkEv8JMr2zJdZnWPKA/ZZoNNORT9a9TegwT44SvF/MIgXhMHUzs=
=5Sek
-----END PGP SIGNATURE-----
--Sig_/VMFiOyelyg1yJjVAXCioeNb--
討論串 (同標題文章)
完整討論串 (本文為第 11 之 13 篇):