Re: nvidia-driver rebooting machine on X startup



On Friday 07 September 2007 19:43:03 Darren Spruell wrote:
On 9/6/07, Derek Ragona <derek@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
At 03:10 PM 9/6/2007, 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

I've tried an alternate version of the binary driver
(nvidia-driver-96xx) to see if there was any change, and it also
reboots on X startup.


--
Check your AGP settings and consult the readme, chapter 9, for the
latest driver. You should be running the latest driver with your card.

Make sure you have the correct AGP settings, either letting FreeBSD do
it in the kernel or disable the kernel and let the Nvidia driver manage
it.

So, I'm not having terrific luck with any combination of settings I try.

The latest FreeBSD driver release from Nvidia is the same as the
version in the ports tree. This is what I've installed.

Attempting the AGPGART route (building the driver with
"WITH_FREEBSD_AGP=yes" and disabling NvAgp support in xorg.conf) still
results in a reboot.

Going the NvAGP route (Building without support for AGPGART, setting
NvAgp to 1 in the xorg.conf, and setting hint.agp.0.disabled=1 in
/boot/device.hints) also results in a reboot when X starts. One thing
I notice here; when I specify hint.agp.0.disabled=1, and check the
output of 'kldstat -v' after booting, I still see several agp drivers
loaded:

$ kldstat -v |grep -i agp
387 pci/agp_ali
388 pci/agp_amd
389 pci/agp_amd64
390 pci/agp_ati
391 pci/agp_i810
392 pci/agp_intel
393 pci/agp_nvidia
394 pci/agp_sis
395 pci/agp_via

Is this a problem?

I suspect a couple of problems with what I'm doing. Number one,
there's several knobs to turn (in the driver, in the OS, etc.) and
it's possible I'm not getting the correct combination. Other thing is,
I've been told by a technician that this is a PCI Express video card,
so would AGP even come into play?

Probably not. I'm seeing the same thing on one machine, no AGP on MB, and agp
kernel modules loaded, but nvidia-driver doesn't care about it.
Let's kill all red herrings:
- Is COMPAT5X in the kernel?
- Does running `nvidia-xconfig --query-gpu-info' reboot the system?
- If you do not load the nvidia kernel module, but use Xorg's "nv" driver does
this reboot the system?

Determine cause of reboot:
echo dumpdev="AUTO" >>/etc/rc.conf
/etc/rc.d/dumpon start

Now, if it reboots again and no core is found, the kernel didn't crash but an
error occured in the hardware layer at which point I'd hit nvidia forums.

If there's a coredump:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html

and file PR.

--
Mel
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [Fedora] Re: Nvidia sucks, sucks, sucks !
    ... The problem was that installing the new kernel killed nvidia from ... -> There appears to already be a driver installed on your system ...
    (Fedora)
  • Re: Warning: Latest Kernel Sources on Sid
    ... Kqemu and Nvidia's driver were hit by this. ... I am using nvidia module. ... booting in the new kernel version): ... Their installer is simple: ...
    (Debian-User)
  • Re: Fedora 7 - RPM Build Nvidia 9755 [revisited]
    ... Livna NVIDIA driver RPMs doesn't mean that the same problem exists ... to have to do it everytime I boot a different kernel, ... echo install of nvidia.ko driver failed ...
    (Fedora)
  • Re: Fedora Core 6 HUGE problem - Binary drivers.
    ... in installing the driver that Nvidia makes freely available. ... The party-line argument that third party drivers cause support problems kind of falls on its face when the included driver doesn't work at all... ... the inability or refusal of the kernel developers to define a driver interface. ... In fedora the users lose. ...
    (Fedora)
  • Re: F7 nvidia-96xx driver problem and [rant]
    ... I too use the NVIDIA driver. ... Now, if you can duplicate the problem using the nv driver, which we as a group, do have the src code for, then someone might be able to help you. ... So as long as you and I use that driver, there is absolutely zero chance that a kernel bug report filed by either of us will get more attention than cleared with a notabug, kernel is tainted note in bugzilla. ... You might also take your problem to nvidia, where legit bugs are usually fixed and new drivers issued in just a few days. ...
    (Fedora)