Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 22:51:08 +0400
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        Matt <matt@xtaz.co.uk>
Cc:        danfe@nsu.ru
Subject:   Re: x11/nvidia-driver
Message-ID:  <20030704185108.GF11162@freebsd.org.ru>
In-Reply-To: <49176.192.168.1.10.1057338624.squirrel@webmail.xtaz.co.uk>
References:  <49176.192.168.1.10.1057338624.squirrel@webmail.xtaz.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 04, 2003 at 06:10:24PM +0100, Matt wrote:
> 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.

So, please tell us more about version of your OS.
 
-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \



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