Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 15:46:47 -0500
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        freebsd-stable@freebsd.org
Subject:   Problem with NVIDIA kernel driver with recent kernel
Message-ID:  <20030127204647.GA373@gromit.dlib.vt.edu>

next in thread | raw e-mail | index | archive | help
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: <GeForce2 MX/MX 400> mem 0xd0000000-0xd7ffffff,0xde000000-0xdeffffff irq 11 at device 0.0 on pci1
---
> pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
70a69,91
> isa0: <ISA bus> on motherboard
> orm0: <Option ROM> at iomem 0xc0000-0xcc7ff on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model IntelliMouse, device ID 3
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
===== cut here =====

Looking at the output, it seems that the preloaded nvidia.ko is
preventing the isa0 device from being successfully attached, and
so everything on that is getting lost... :-(

Cheers,

Paul.

e-mail: paul@gromit.dlib.vt.edu

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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