From owner-freebsd-ports@FreeBSD.ORG Fri Jul 4 10:10:27 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA83A37B401; Fri, 4 Jul 2003 10:10:27 -0700 (PDT) Received: from tao.xtaz.co.uk (pc-62-30-69-139-az.blueyonder.co.uk [62.30.69.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 458CD43FA3; Fri, 4 Jul 2003 10:10:26 -0700 (PDT) (envelope-from matt@xtaz.co.uk) Received: from webmail.xtaz.co.uk (localhost [127.0.0.1]) by tao.xtaz.co.uk (Postfix) with SMTP id B48478FC8C; Fri, 4 Jul 2003 18:10:24 +0100 (BST) Received: from 192.168.1.10 (SquirrelMail authenticated user matt) by webmail.xtaz.co.uk with HTTP; Fri, 4 Jul 2003 18:10:24 +0100 (BST) Message-ID: <49176.192.168.1.10.1057338624.squirrel@webmail.xtaz.co.uk> Date: Fri, 4 Jul 2003 18:10:24 +0100 (BST) From: "Matt" To: danfe@nsu.ru, osa@FreeBSD.org, ports@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: x11/nvidia-driver X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 17:10:28 -0000 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: at pcibus 0 on motherboard Jul 4 17:07:05 shakira kernel: pci0: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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.