Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2007 00:44:12 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: nvidia-driver rebooting machine on X startup
Message-ID:  <200709070044.12229.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <839aec700709061516x52866bd0u903adbbd16a3f1ff@mail.gmail.com>
References:  <839aec700709061310m44a1f0f8p55fd7706ed3c02af@mail.gmail.com> <200709062306.42825.fbsd.questions@rachie.is-a-geek.net> <839aec700709061516x52866bd0u903adbbd16a3f1ff@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 07 September 2007 00:16:44 Darren Spruell wrote:
> On 9/6/07, Mel <fbsd.questions@rachie.is-a-geek.net> 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: <Intel 82845 host to AGP bridge> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709070044.12229.fbsd.questions>