Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NVidia driver problem with kernel 2.6.2 (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
LarBor
n00b
n00b


Joined: 20 Aug 2003
Posts: 12
Location: Netherlands

PostPosted: Sat Feb 07, 2004 1:53 pm    Post subject: NVidia driver problem with kernel 2.6.2 (SOLVED) Reply with quote

First of all: I have searched the forum and tried everything that was mentioned.

I have kernel 2.6.2 with the latest nvidia drivers: 1.0.5336, but X won't start.
It gives me the following error:

Error: API mismatch: The nvidia kernel module is version 1.0.4480, but this X module is version 1.0.5336. Please be sure that your kernel module and all nvidia driver files have the same driver version.

As I said, I've tried everything. Recompiled my kernel with the correct settings, rebooted into new kernel. Re-emerged nvidia-kernel and glx. loaded the nvidia module. etc etc but no luck so far.

I use the gentoo-dev-sources 2.6.2 that should contain a patch for the problem.

Any solution would be welcome


Last edited by LarBor on Sat Feb 07, 2004 4:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cossins
Veteran
Veteran


Joined: 21 Mar 2003
Posts: 1136
Location: Copenhagen, Denmark

PostPosted: Sat Feb 07, 2004 3:24 pm    Post subject: Reply with quote

What version of module-init-tools do you use?

Also, please post the output of
Code:
# dmesg | grep nvidia


- Simon
_________________
who cares
Back to top
View user's profile Send private message
TommyB
n00b
n00b


Joined: 07 Feb 2004
Posts: 30
Location: Nuremberg, Germany

PostPosted: Sat Feb 07, 2004 3:26 pm    Post subject: Re: NVidia driver problem with kernel 2.6.2 Reply with quote

LarBor wrote:
Error: API mismatch: The nvidia kernel module is version 1.0.4480, but this X module is version 1.0.5336. Please be sure that your kernel module and all nvidia driver files have the same driver version.

Looks like you still have an old version of the nvidia kernel module installed (1.0.4480). I had a similar problem yesterday, until I noticed that the kernel module itself wasn't deleted from /lib/modules when installing a new version and unmerging the old one. The name of the kernel module changed from nvidia.o to nvidia.ko between the to versions. Therefore I had the module twice in /lib/modules, the new version as nvidia.ko and the old version as nvidia.o. After deleting nvidia.o (and rmmod nvidia and modprobe nvidia) I could start X again. So take a look in /lib/modules/<your-kernel>/video and look for the duplicate module. Also make sure that you're using the same version for nvidia-kernel and nvidia-glx (5336 in your case).
Back to top
View user's profile Send private message
LarBor
n00b
n00b


Joined: 20 Aug 2003
Posts: 12
Location: Netherlands

PostPosted: Sat Feb 07, 2004 4:26 pm    Post subject: Reply with quote

TommyB: thanks for the tip. removing nvidia.o solved my problem.

You are my god :)
Back to top
View user's profile Send private message
mcguire_mr2
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2003
Posts: 82

PostPosted: Mon Feb 09, 2004 3:37 am    Post subject: Reply with quote

had the same exact prob as LarBor, and got just as confused. Two solutions:
1. Try what TommyB suggested...it should work
2. Do "emerge -C nvidia-kernel", then "emege nvidia-kernel", then reboot, then everything should be okay. This worked for me.

About solution #2 -- If you've already emerged 5336, then TommyB's solution would accomplish the same thing as solution #2 but minus the reboot.
Back to top
View user's profile Send private message
Phk
Guru
Guru


Joined: 02 Feb 2004
Posts: 428
Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time

PostPosted: Sat Mar 06, 2004 6:40 am    Post subject: Very grateful! Reply with quote

THANK YOU!

Had the same problem... u solved it!
_________________
"# cat /dev/urandom >> /tmp/life"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum