From owner-freebsd-current@FreeBSD.ORG Sat Aug 10 13:39:55 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 96FC230A; Sat, 10 Aug 2013 13:39:55 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-bk0-x233.google.com (mail-bk0-x233.google.com [IPv6:2a00:1450:4008:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 007932C58; Sat, 10 Aug 2013 13:39:54 +0000 (UTC) Received: by mail-bk0-f51.google.com with SMTP id mx10so1384280bkb.10 for ; Sat, 10 Aug 2013 06:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=TN2ZKDDujANIpXljE/9/IxkkMcvyMHKi2gsQp4XaS90=; b=LjhvGdZK22a8t9HhJeDz6GWwrDxh5zDtD7lvVYwqUSLb74WimynLwWXqKDPvo+Kfiy 2cb+SgHCcvA9tA4X5hNTm0ykk3h9671V3No9rDRfxhiN5v4T3DP6V/g9P3CkzJ8GtmFh EjG3nUUi5jxOi3doxmsuWClArhnOYN4OGXe6kUwz5jgiVZBxLac3ZjsyfLDa7F/aFqoM VDidEQLhqf2910g7OfiPEmBq4RzX2/TtY2Wl62phPCd87sGh8x6DvX2rd28hCAtBRR4k odoFNaXKQpY0N9dUplRa53V3+hWBu4ENzlaRauDAgjH/JEn/Mm8PXKAGfHFZqfVCV8fs 1GFg== X-Received: by 10.204.229.208 with SMTP id jj16mr2630031bkb.65.1376141991914; Sat, 10 Aug 2013 06:39:51 -0700 (PDT) Received: from ernst.home (p4FCA6A8C.dip0.t-ipconnect.de. [79.202.106.140]) by mx.google.com with ESMTPSA id ct12sm4054488bkb.12.2013.08.10.06.39.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 10 Aug 2013 06:39:51 -0700 (PDT) Date: Sat, 10 Aug 2013 15:39:48 +0200 From: Gary Jennejohn To: "O. Hartmann" Subject: Re: CURRENT crashes with nvidia GPU BLOB : vm_radix_insert: key 23c078 is already present Message-ID: <20130810153948.1c853981@ernst.home> In-Reply-To: <20130810145922.1bc18c5a@thor.walstatt.dyndns.org> References: <20130808201018.1215f733@munin.geoinf.fu-berlin.de> <1375997961.1451.3.camel@localhost> <20130809073251.376c9206@munin.geoinf.fu-berlin.de> <20130809171237.GN1746@albert.catwhisker.org> <20130810103705.022ce7be@ernst.home> <52060390.1040505@gwdg.de> <20130810113119.3f44ae32@ernst.home> <20130810145922.1bc18c5a@thor.walstatt.dyndns.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports , FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Aug 2013 13:39:55 -0000 On Sat, 10 Aug 2013 14:59:22 +0200 "O. Hartmann" wrote: > On Sat, 10 Aug 2013 11:31:19 +0200 > Gary Jennejohn wrote: > > > On Sat, 10 Aug 2013 11:10:40 +0200 > > Rainer Hurling wrote: > > > > > Yes, I can confirm, that it builds, installs and runs fine for me. > > > > > > The patch should be placed as > > > x11/nvidia-driver/files/patch-src__nvidia_subr.c, shoudn't it? > > > > > > Many thanks for this work. > > > > > > > Thanks for testing. > > > > Yes, putting the patch into files/ with that name works also and > > is much simpler than the steps I outlined. > > > > > 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=1. > > 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. > Yes, this is a better approach. I made my patch before realizing that the REINPLACE_CMD was the source of the errors. Any real advantage to using 325.15? You should submit a PR with this patch. -- Gary Jennejohn