View Single Post
Old 09-07-02, 02:35 PM   #1
Posts: n/a
Default NVIDIA kernel not loading on boot-up, but insmod loads it

After installing MSI GF4 TI4400 and needed rpm's on Mandrake 8.2 2.4.18-6mdk:

1. The NVIDIA kernel does not load on boot-up. Reason it looks that way:
a) there is no message in /var/log/messages that NVIDIA kernel attempts to load, no mention of AGP either.
If I run startx from command line after such a boot I get the following in /var/log/XFree86.0.log:

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-1mdksmp i686 [ELF]
Module Loader present
(--) NVIDIA(0): Linear framebuffer at 0xD0000000
(--) NVIDIA(0): MMIO registers at 0xE0000000
(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Notes: why the "Build Operating System" reports 2.4.18-1mdksmp ?? suggests installing
NVIDIA_kernel-1.0-2960.mdk82up.i586.rpm (NOT mdk82smp) and
So installed these. BTW, would the wrong NVIDIA kernel load from insmod, but not from boot-up ? Would the wrong NVIDIA kernel
work after insmod install assuming the difference between mdk82smp and mdk82up is not that great ??

b) if I run "insmod NVdriver" as superuser then NVIDIA kernel loads OK, giving a warning that it'll taint the kernel - Non-GPL license.
Then I run "startx" as a user and the X-server loads OK, though with some quirks, e.g. running HardDrake ends in a black screen with a cursor
in the upper left corner - only reboot gets out of that state. After running insmod /var/log/messages appropriately shows messages about starting NVIDIA kernel load and about successful completion of load. After running "insmod NVdriver" /var/log/XFree86.0.log says that "usable configurations" were found:

(**) NVIDIA(0): Validated modes for Display Device 0:
(**) NVIDIA(0): Default mode "1600x1200": 202.5 MHz, 93.8 kHz, 75.0 Hz
(**) NVIDIA(0): Default mode "1280x1024": 157.5 MHz, 91.1 kHz, 85.0 Hz
(**) NVIDIA(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(**) NVIDIA(0): Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(**) NVIDIA(0): Default mode "640x480": 74.2 MHz, 85.9 kHz, 85.1 Hz (D)
(II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200

So, why doesn't the NVIDIA kernel load properly on boot-up if insmod loads it fine ?

2. Running HardDrake ends in a black screen with a cursor in the upper left corner after loading X-server by "insmod NVdriver" and "startx".

Any help/pointers are appreciated,
Thank you
  Reply With Quote