From owner-freebsd-stable Mon Jan 27 12:46:51 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A21C37B401 for ; Mon, 27 Jan 2003 12:46:49 -0800 (PST) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69DF243E4A for ; Mon, 27 Jan 2003 12:46:48 -0800 (PST) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (localhost.dlib.vt.edu [127.0.0.1]) by gromit.dlib.vt.edu (8.12.6/8.12.6) with ESMTP id h0RKkl7t000499 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 27 Jan 2003 15:46:47 -0500 (EST) (envelope-from paul@gromit.dlib.vt.edu) Received: (from paul@localhost) by gromit.dlib.vt.edu (8.12.6/8.12.6/Submit) id h0RKkl9f000498 for freebsd-stable@freebsd.org; Mon, 27 Jan 2003 15:46:47 -0500 (EST) Date: Mon, 27 Jan 2003 15:46:47 -0500 From: Paul Mather To: freebsd-stable@freebsd.org Subject: Problem with NVIDIA kernel driver with recent kernel Message-ID: <20030127204647.GA373@gromit.dlib.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-No-Archive: yes X-Operating-System: FreeBSD/i386 4.7-STABLE User-Agent: Mutt/1.5.3i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I just did a full buildworld/buildkernel/installkernel/installworld/ mergemaster cycle based upon sources cvsupped earlier today. For some reason, the NVIDIA driver doesn't want to play nice anymore. Specifically, if I preload it (via /boot/loader.conf) it stops several devices from probing correctly upon boot. Some of these are useful devices, like the VGA and syscons console, so my system is left with no console access. :-( Oddly, if I don't preload nvidia.ko, the kernel will boot and probe all my devices properly---just like the previous kernel did. Furthermore, if I don't preload nvidia.ko and boot to single user, I can then kldload nvidia.ko and everything will work fine. (Going that route, I have a working console, with virtual consoles, and I can use X with the NVIDIA drivers, too---just like with my old kernel.) Has anyone else experienced this? My NVIDIA drivers are installed from /usr/ports/x11/nvidia-driver (nvidia-driver-1.0.3203), and I reinstalled the port after installing my new kernel (just to be on the safe side). Here is a diff of /var/run/dmesg.boot for the same new kernel booted with and without nvidia.ko preloaded: < = nvidia.ko preloaded > = nvidia.ko not preloaded ===== cut here ===== < avail memory = 517001216 (504884K bytes) < Preloaded elf kernel "kernel" at 0xc0519000. < Preloaded elf module "linux.ko" at 0xc051909c. < Preloaded elf module "nvidia.ko" at 0xc051913c. --- > avail memory = 518459392 (506308K bytes) > Preloaded elf kernel "kernel" at 0xc03b5000. 39c37 < nvidia0: mem 0xd0000000-0xd7ffffff,0xde000000-0xdeffffff irq 11 at device 0.0 on pci1 --- > pci1: at 0.0 irq 11 70a69,91 > isa0: on motherboard > orm0: