Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-03-03, 12:56 AM   #13
Hero_Shema
Registered User
 
Join Date: Jan 2003
Posts: 7
Default

To bwkaz:
ok, this is a little weired! I could swear that I did do the configuration for the config file for the kernel and tried to install the nvidia driver afterwords. Any way, so i did install the kernel source again. Then, I did a make clean nvidia.o, which worked fine. However, When i ran the 'make install' command, I got this:

lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o: kernel-module version mismatch
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o was compiled for kernel version 2.4.18-19.8.0custom
while this kernel is version 2.4.18-19.8.0.
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o: insmod /lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o failed
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o: insmod nvidia failed
make: *** [package-install] Error 255

How come!!! The nvidia kernel module came from the source package NVIDIA_kernel-1.0-4191.src.rpm.

What's the deal?
__________________
It is an old observation that the best writers sometimes discard the rules of rhetoric. When they do so, however, the reader will usually find in the sentence a compensating merit, attained at the cost of violation. Unless he is certain of doing as well, he will probably do best to follow the rules.

William Strunk and E. B. White, The Elements of Style
Hero_Shema is offline   Reply With Quote
Old 02-03-03, 02:24 AM   #14
Chalnoth
Registered User
 
Join Date: Jul 2002
Posts: 1,293
Default

--
__________________
"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman

Last edited by Chalnoth; 02-03-03 at 10:11 PM.
Chalnoth is offline   Reply With Quote
Old 02-03-03, 07:41 AM   #15
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Quote:
Originally posted by Hero_Shema
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o was compiled for kernel version 2.4.18-19.8.0custom
while this kernel is version 2.4.18-19.8.0.
Arrrgh... I don't like RedHat...

They changed the version info in their kernel-source package. Edit the /usr/src/linux-2.4.18-19.8.0/Makefile, change EXTRAVERSION=-19.8.0custom to EXTRAVERSION=-19.8.0, do a make mrproper oldconfig dep again, change to the NVIDIA_kernel directory, and do a make clean nvidia.o again. That one should work.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 02-03-03, 09:51 PM   #16
Hero_Shema
Registered User
 
Join Date: Jan 2003
Posts: 7
Default

To bwkaz:

rpm -ivh NVIDIA_kernel-1.0-4191.i386.rpm
Preparing... ########################################### [100%]
package NVIDIA_kernel-1.0-4191 is already installed
file /lib/modules/2.4.18-19.8.0/kernel/drivers/video
/nvidia.o from install of NVIDIA_kernel-1.0-4191 conflicts with file from package NVIDIA_kernel-1.0-4191

So I deleted nvidia.o from the lib/modules drivers/video directory. I'm still getting the same message. I couldn't cd into the old nVidia kernel directory to do a make clean nvidia.o as I deleted it accidently :-( SO All I did was deleting the nvidia.o file from the drivers/video directory. What should I do?
__________________
It is an old observation that the best writers sometimes discard the rules of rhetoric. When they do so, however, the reader will usually find in the sentence a compensating merit, attained at the cost of violation. Unless he is certain of doing as well, he will probably do best to follow the rules.

William Strunk and E. B. White, The Elements of Style
Hero_Shema is offline   Reply With Quote
Old 02-04-03, 06:52 AM   #17
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

rpm -e $(rpm -qa | grep NVIDIA_kernel) will probably remove the package that's installed (but you'll want to do an rpm -qa | grep NVIDIA_kernel first, to make sure it isn't deleting anything else by accident -- everything the -qa prints will get removed). Then you can rpm -ivh the .src.rpm and cd back into the right directory.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03: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
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 06:28 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.