Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 18:10:24 +0100 (BST)
From:      "Matt" <matt@xtaz.co.uk>
To:        danfe@nsu.ru, osa@FreeBSD.org, ports@freebsd.org
Subject:   x11/nvidia-driver
Message-ID:  <49176.192.168.1.10.1057338624.squirrel@webmail.xtaz.co.uk>

next in thread | raw e-mail | index | archive | help
Hi,

I just upgraded my nvidia driver port which on the older version used to
work flawlessly. The new version does still work but now needs a few
tweaks.

I used to have enable_nvidia="YES" in my /boot/loader.conf. This used to
load the module fine with no issues during boot. However with the new
version I get this:

Jul  4 17:07:05 shakira kernel: pcib0: <Host to PCI bridge> at pcibus 0 on
motherboard
Jul  4 17:07:05 shakira kernel: pci0: <PCI bus> on pcib0
Jul  4 17:07:05 shakira kernel: pci_cfgintr: 0:1 INTA BIOS irq 11
Jul  4 17:07:05 shakira kernel: pci_cfgintr: 0:2 INTA BIOS irq 5
Jul  4 17:07:06 shakira kernel: pci_cfgintr: 0:3 INTA BIOS irq 5
Jul  4 17:07:06 shakira kernel: nvidia0: Unable to allocate NVIDIA memory
resource.
Jul  4 17:07:06 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
Jul  4 17:07:06 shakira kernel: nvidia0: <Unknown> at device 0.1 on pci0
Jul  4 17:07:06 shakira kernel: nvidia0: Unable to enable PCI busmastering.
Jul  4 17:07:06 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
Jul  4 17:07:06 shakira kernel: nvidia0: <Unknown> at device 0.2 on pci0
Jul  4 17:07:06 shakira kernel: nvidia0: Unable to enable PCI busmastering.
Jul  4 17:07:06 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
Jul  4 17:07:06 shakira kernel: nvidia0: <Unknown> at device 0.3 on pci0
Jul  4 17:07:06 shakira kernel: nvidia0: Unable to enable PCI busmastering.
Jul  4 17:07:06 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
Jul  4 17:07:06 shakira kernel: nvidia0: <Unknown> at device 1.0 on pci0
Jul  4 17:07:06 shakira kernel: nvidia0: Unable to allocate NVIDIA
register resource.
Jul  4 17:07:06 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
Jul  4 17:07:06 shakira kernel: nvidia0: <Unknown> port
0x2480-0x249f,0x24b0-0x24bf,0x24a0-0x24af irq 11 at device 1.1 on pci0
Jul  4 17:07:06 shakira kernel: nvidia0: Unable to enable PCI busmastering.
Jul  4 17:07:06 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
....
Jul  4 17:07:06 shakira kernel: nvidia0: <Unknown> at device 8.0 on pci0
Jul  4 17:07:06 shakira kernel: nvidia0: Unable to allocate NVIDIA
register resource.
....
Jul  4 17:07:06 shakira kernel: nvidia0: <Unknown> at device 30.0 on pci0
Jul  4 17:07:06 shakira kernel: nvidia0: Unable to allocate NVIDIA
register resource.
Jul  4 17:07:06 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6

And then my xl0 ethernet card is no longer found in the system and can't
be initialised. If however I set nvidia_load="NO" in loader.conf, then my
xl0 card works succesfully. When I then kldload nvidia I get this:

Jul  4 17:58:20 shakira kernel: nvidia0: <Unknown> at device 0.1 on pci0
Jul  4 17:58:20 shakira kernel: nvidia0: Unable to enable PCI busmastering.
Jul  4 17:58:20 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
Jul  4 17:58:20 shakira kernel: nvidia0: <Unknown> at device 0.2 on pci0
Jul  4 17:58:20 shakira kernel: nvidia0: Unable to enable PCI busmastering.
Jul  4 17:58:20 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
Jul  4 17:58:20 shakira kernel: nvidia0: <Unknown> at device 0.3 on pci0
Jul  4 17:58:20 shakira kernel: nvidia0: Unable to enable PCI busmastering.
Jul  4 17:58:20 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
Jul  4 17:58:20 shakira kernel: nvidia0: <Unknown> port
0x2480-0x249f,0x24b0-0x24bf,0x24a0-0x24af irq 11 at device 1.1 on pci0
Jul  4 17:58:20 shakira kernel: nvidia0: Unable to enable PCI busmastering.
Jul  4 17:58:20 shakira kernel: device_probe_and_attach: nvidia0 attach
returned 6
Jul  4 17:58:20 shakira kernel: nvidia0: <GeForce4 MX 420> mem
0xfc200000-0xfc27ffff,0xf8000000-0xfbffffff,0xfd000000-0xfdffffff irq 3 at
device 0.0 on pci1

So lots of invalid stuff and then it finally detects and configures it and
xl0 is still working. So I can get it working, but it doesn't behave
itself like the older version before todays commit did.

Just thought I would let you know.

Regards, Matt.

-- 
email: matt@xtaz.co.uk - web: http://xtaz.co.uk/
Hardware, n.: The parts of a computer system that can be kicked.



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