|
|
#1 | |
|
Registered User
Join Date: Feb 2004
Posts: 5
|
I downloaded the newest nvidia drivers (1.0.5336) and went to install them,only to find that they couldn't install the kernel module (it goes through building the interface fine and then chokes).
if I run the NVIDIA installer with the --kernel-name= option, then the module is built and supposedly installed, but if you start X using the new nVidia driver then X crashes saying that it couldn't initilize the module I tried to do root@localhost:~# insmod /lib/modules/2.6.2/kernel/drivers/video/nvidia.ko and got insmod: error inserting '/lib/modules/2.6.2/kernel/drivers/video/nvidia.ko': -1 Invalid module format During the install procedure, I had to add the --kernel-name= commandline option in order to get it to build the kernel modules Help please! I'll post my xfree86 log in a sec, right now I'm using the default nv xfree86 driver
__________________
AMD AthlonXP 2400+ @ 2.0ghz | 512mb Kingston DDR RAM | Creative Labs Soundblaster Live 5.1 | GeForce 4 TI 4200 w/64mb OSes: Windows XP w/ SP1 Slackware 9.1 w/ 2.6.2 kernel |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Feb 2004
Posts: 5
|
Apparently you can't edit posts to attach files, here's the log:
__________________
AMD AthlonXP 2400+ @ 2.0ghz | 512mb Kingston DDR RAM | Creative Labs Soundblaster Live 5.1 | GeForce 4 TI 4200 w/64mb OSes: Windows XP w/ SP1 Slackware 9.1 w/ 2.6.2 kernel |
|
|
|
|
|
|
#3 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
Check the output of dmesg for additional error messages after the X startup failure - chances are the kernel detected a kernel version magic mismatch (e.g. a compiler mismatch).
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Feb 2004
Posts: 5
|
Your right, there were magic version mismatches:
Code:
nvidia: version magic '2.6.2 SMP preempt K7 gcc-3.2' should be '2.6.2 SMP preempt K7 gcc-3.3' nvidia: version magic '2.6.2 SMP preempt K7 gcc-3.2' should be '2.6.2 SMP preempt K7 gcc-3.3' Just in case, I'll attach a copy of my dmesg output
__________________
AMD AthlonXP 2400+ @ 2.0ghz | 512mb Kingston DDR RAM | Creative Labs Soundblaster Live 5.1 | GeForce 4 TI 4200 w/64mb OSes: Windows XP w/ SP1 Slackware 9.1 w/ 2.6.2 kernel |
|
|
|
|
|
|
#5 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
You didn't build nvidia.ko with the same compiler - if you had, the kernel would have loaded the module just fine. Make sure that gcc -v returns the desired versions or use CC to specify the correct compiler.
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Feb 2004
Posts: 5
|
How do I do that? (I assume CC is a command that must be run?) Can you (or someone else) post an example of this?
__________________
AMD AthlonXP 2400+ @ 2.0ghz | 512mb Kingston DDR RAM | Creative Labs Soundblaster Live 5.1 | GeForce 4 TI 4200 w/64mb OSes: Windows XP w/ SP1 Slackware 9.1 w/ 2.6.2 kernel |
|
|
|
|
|
|
#7 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
# cat /proc/version Linux version 2.6.2-bk1-ck1 (root@wolf) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Thu Feb 5 11:39:20 CET 2004 # gcc -v 2>&1 | tail -1 gcc version 3.3.3 20040125 (prerelease) (Debian) # gcc-2.95 -v 2>&1 | tail -1 gcc version 2.95.4 20011002 (Debian prerelease) # CC=gcc-2.95 sh NVI... |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 | kbulgrien | NVIDIA Linux | 3 | 06-29-12 08:27 AM |
| Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) | gbailey | NVIDIA Linux | 1 | 06-27-12 10:24 AM |
| UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... | interzoneuk | NVIDIA Linux | 0 | 06-26-12 04:51 AM |
| xorg locks-up with newest nvidia drivers w/ vdpau. | theroot | NVIDIA Linux | 1 | 06-24-12 11:04 AM |
| X Failed to load NVdriver | c00lr4c3r | NVIDIA Linux | 13 | 10-22-02 01:44 PM |