From owner-freebsd-current@FreeBSD.ORG Wed Jul 11 21:35:58 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F269516A400 for ; Wed, 11 Jul 2007 21:35:58 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 54A9013C468 for ; Wed, 11 Jul 2007 21:35:57 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l6BLVJkW096780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Jul 2007 23:31:24 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l6BLZpXw032339; Wed, 11 Jul 2007 23:35:51 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: by titan.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id l6BLVJ2E001280; Wed, 11 Jul 2007 23:31:19 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) From: Harald Schmalzbauer Organization: OmniSEC To: Rainer Hurling Date: Wed, 11 Jul 2007 23:31:18 +0200 User-Agent: KMail/1.9.6 References: <468345F2.1060209@freebsd.org> <200707111903.53790.h.schmalzbauer@omnisec.de> <469536BA.5090306@gwdg.de> In-Reply-To: <469536BA.5090306@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707112331.19068.h.schmalzbauer@omnisec.de> Cc: freebsd-current@freebsd.org Subject: Re: Nvidia-driver and current lead system reboot with no error message X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 21:35:59 -0000 Am Mittwoch, 11. Juli 2007 schrieb Rainer Hurling: > Hallo Harry, > > for version 100.14.11 (after unpacking the tarball) I had to make four > changes before I had been able to install: > > 1. set environment variable 'X11BASE' to '/usr/local' > > 2. Delete lines 24-26 in 'src/nv-freebsd.h' (test for FreeBSD version > > >=70000) > > 3. Change '${X11BASE}/lib/modules[...]' to > '${X11BASE}/lib/xorg/modules[...]' in Makefiles under > x11/[driver,extension,lib] > > 4. Change '/usr/X11R6/lib/modules[...]' to > '/usr/local/lib/xorg/modules[...]' in 'doc/html/appendix-b.html' > > > Don't forget to delete any installed x11/nvidia-driver* port before > installing this new driver version. > > Hope this helps, > Rainer Hello Rainer, thanks for your hints. Unfortunately it's not just a matter of paths. Here's the compiler showstopper: cc -O1 -pipe -march=prescott -march=prescott -DNV_VERSION_STRING=\"100.14.11\" - D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -fno-common -msoft-float -fno-unit-at-a-time -minline-all-stringops -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/contrib/altq -finline-limit=8000 --paraminline-unit-growth=100 --paramlarge-function-growth=1000 -fno-common -mno-align-long-strings -mpre ferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffree standing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing -prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -ffo rmat-extensions -c nvidia_pci.c nvidia_pci.c: In function 'nvidia_pci_setup_intr': nvidia_pci.c:56: warning: passing argument 7 of 'bus_setup_intr' from incompatible pointer type nvidia_pci.c:56: error: too many arguments to function 'bus_setup_intr' *** Error code 1 Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-100.14.11/src. *** Error code 1 Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-100.14.11. *** Error code 1 Thansk in advance for any hint. -Harry