From owner-freebsd-questions@FreeBSD.ORG Thu Sep 6 22:44:19 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 DAA3216A417 for ; Thu, 6 Sep 2007 22:44:19 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (66-230-99-27-cdsl-rb1.nwc.acsalaska.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id A001C13C49D for ; Thu, 6 Sep 2007 22:44:19 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 792461CCA6 for ; Thu, 6 Sep 2007 14:44:13 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 7 Sep 2007 00:44:12 +0200 User-Agent: KMail/1.9.7 References: <839aec700709061310m44a1f0f8p55fd7706ed3c02af@mail.gmail.com> <200709062306.42825.fbsd.questions@rachie.is-a-geek.net> <839aec700709061516x52866bd0u903adbbd16a3f1ff@mail.gmail.com> In-Reply-To: <839aec700709061516x52866bd0u903adbbd16a3f1ff@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709070044.12229.fbsd.questions@rachie.is-a-geek.net> 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: Thu, 06 Sep 2007 22:44:19 -0000 On Friday 07 September 2007 00:16:44 Darren Spruell wrote: > On 9/6/07, Mel wrote: > > On Thursday 06 September 2007 22:10:42 Darren Spruell wrote: > > > Wondering if this is a known issue, or if anyone has suggestions to > > > get it working...? > > > > > > Running FreeBSD 6.2-RELEASE-p4 SMP i386. > > > > > > I installed nvidia-driver-100.14.11 from ports (Sep. 5 snapshot), > > > Linux compatibility enabled. After loading modules 'linux' and > > > 'nvidia', I do: > > > > > > # X -configure > > > # X -config /root/xorg.conf.new > > > > > > At this point the system spontaneously reboots. 'X -configure' runs > > > fine and produces a configuration without issue, but the reboot > > > occcurs when launching X. Nothing is output to screen (it flickers as > > > if starting X), and nothing is written to /var/log/Xorg.0.log. I do > > > get the same behavior if running 'xorgcfg'. > > > > > > Card info: > > > > > > "NV41 [Quadro FX 3450/4000 SDI] rev 162" > > > > > > nvidia0@pci7:0:0: class=0x030000 card=0x029b10de chip=0x00cd10de > > > rev=0xa2 hdr=0x00 > > > vendor = 'NVIDIA Corporation' > > > class = display > > > subclass = VGA > > > > > > Section "Device" > > > Identifier "Card0" > > > Driver "nvidia" > > > VendorName "nVidia Corporation" > > > BoardName "NV41 [Quadro FX 3450/4000 SDI]" > > > BusID "PCI:7:0:0" > > > EndSection > > > > Removing BusID do anything? All those Displays sounds a bit much too. I > > *strongly* recommend using nvidia-xconfig (x11/nvidia-config). > > Commenting BusID has the same effect - prompt reboot. > > The Display subsections are pretty standard for every X configuration > I've ever used; why would they cause a problem in this case? Cause I checked 3 working nvidia xorg configs for 3 different cards and none of them has Section Display in them, let alone 20 of them :p > > And anything /var/log/Xorg.0.log? Using nvAgp or FreeBSD Agp? > > No, nothing gets to the log before reboot occurs. > > Not using either of nvAgp or FreeBSD Agp, that I'm aware of. I did not > enable FREEBSD_AGP at build time. Run nvidia-xconfig, it'll generate a much cleaner xorg.conf file, enable nvAgp and load a few less extensions. If that one works, you can start diffing and adding things again to figure out the cause (if you're interested :p). Also check /boot/device.hints and disable Agp there. A GeForce 6200 for instance, insists on it, while other cards don't, but I never had one reboot the machine. I just get: agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 NVRM: detected agp.ko, aborting NVIDIA AGP setup! echo 'hint.agp.0.disabled="1"' >>/boot/device.hints should do it. -- Mel