From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 23:42:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DB7316A477 for ; Tue, 11 Sep 2007 23:42:31 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id E9E1613C4A5 for ; Tue, 11 Sep 2007 23:42:30 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from philip.hq.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.0.730.1; Tue, 11 Sep 2007 16:42:30 -0700 Message-ID: <46E727E4.4030105@ridecharge.com> Date: Tue, 11 Sep 2007 19:42:28 -0400 From: "Philip M. Gollucci" Organization: Rideray Inc. User-Agent: Thunderbird 2.0.0.4 (X11/20070703) MIME-Version: 1.0 To: Darren Spruell References: <839aec700709061310m44a1f0f8p55fd7706ed3c02af@mail.gmail.com> <200709072045.58773.fbsd.questions@rachie.is-a-geek.net> <839aec700709071543l241ec6bck8f37712f4dbd4011@mail.gmail.com> <200709081659.32603.fbsd.questions@rachie.is-a-geek.net> <46E709CD.4070408@cran.org.uk> <839aec700709111620n247bae1ard35ffeeeba356ae4@mail.gmail.com> In-Reply-To: <839aec700709111620n247bae1ard35ffeeeba356ae4@mail.gmail.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Bruce Cran , Mel , "freebsd-questions@freebsd.org" Subject: Re: nvidia-driver rebooting machine on X startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 23:42:31 -0000 Darren Spruell wrote: > If this *is* an issue with the nvidia driver, is there a good way for > us to alert Nvidia? Customer support, I guess? I've had the same issue, but I think I solved it since its working for me. If I had to guess, this was Jul 27, 2007 that I went through this. I did something similar or harder in May 2007, but the driver versions were older then and so was the ports tree -- it was also on 6.2-release-p2. uname -a FreeBSD philip.hq.rws 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jul 26 16:44:37 EDT 2007 root@philip.office.rws:/usr/obj/usr/src/sys/GENERIC i386 nvidia0: port 0xdc80-0xdcff mem 0xde000000-0xdeffffff,0xc0000000-0xcfffffff,0xdc000000-0xddffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] ls -ld /var/db/pkg/nvidia* drwxr-xr-x 2 root wheel - 512B Sep 4 18:34:47 2007 /var/db/pkg/nvidia-driver-100.14.11/ ls -1d /var/db/pkg/xorg-* /var/db/pkg/xorg-7.2/ /var/db/pkg/xorg-apps-7.2/ /var/db/pkg/xorg-cf-files-1.0.2_2/ /var/db/pkg/xorg-docs-1.3,1/ /var/db/pkg/xorg-drivers-7.2/ /var/db/pkg/xorg-fonts-100dpi-7.2/ /var/db/pkg/xorg-fonts-7.2/ /var/db/pkg/xorg-fonts-75dpi-7.2/ /var/db/pkg/xorg-fonts-cyrillic-7.2/ /var/db/pkg/xorg-fonts-miscbitmaps-7.2/ /var/db/pkg/xorg-fonts-truetype-7.2/ /var/db/pkg/xorg-fonts-type1-7.2/ /var/db/pkg/xorg-libraries-7.2_1/ /var/db/pkg/xorg-protos-7.2/ /var/db/pkg/xorg-server-1.2.0_2,1/ /var/db/pkg/xorg-server-1.2.99.903_1,1/ cat /var/db/ports/nvidia-driver/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for nvidia-driver-1.0.9746_5 _OPTIONS_READ=nvidia-driver-1.0.9746_5 WITHOUT_FREEBSD_AGP=true WITHOUT_VM86_INT10CALL=true WITHOUT_ACPI=true WITH_LINUX=true grep LINUX /etc/make.conf OVERRIDE_LINUX_BASE_PORT=fc6 grep compat /etc/sysctl.conf compat.linux.osrelease=2.6.16 cd /usr/ports/x11/nvidia-driver-100> find . . ./files ./files/pkg-message.in ./Makefile ./distinfo ./pkg-descr ./pkg-plist I believe I deleted all the patch files here other then you see listed and tweaked the Makefile accordingly. I also edited the source code to remove a #ifdef around FreeBSD 7.x so that it used the 6.x version even though its on 7.x. (argument list to the function was wrong) This might be fixed by now. This was a hard compile error though, not the coredumps and reboots I do know this drove me f'ing bonkers when I tried to set this and was going to file a PR but $work never game me time. ------------------------------------------------------------------------ Philip M. Gollucci (philip@ridecharge.com) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.