View previous topic :: View next topic |
Author |
Message |
LarBor n00b


Joined: 20 Aug 2003 Posts: 12 Location: Netherlands
|
Posted: Sat Feb 07, 2004 1:53 pm Post subject: NVidia driver problem with kernel 2.6.2 (SOLVED) |
|
|
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 |
|
 |
Cossins Veteran


Joined: 21 Mar 2003 Posts: 1136 Location: Copenhagen, Denmark
|
Posted: Sat Feb 07, 2004 3:24 pm Post subject: |
|
|
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 |
|
 |
TommyB n00b

Joined: 07 Feb 2004 Posts: 30 Location: Nuremberg, Germany
|
Posted: Sat Feb 07, 2004 3:26 pm Post subject: Re: NVidia driver problem with kernel 2.6.2 |
|
|
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 |
|
 |
LarBor n00b


Joined: 20 Aug 2003 Posts: 12 Location: Netherlands
|
Posted: Sat Feb 07, 2004 4:26 pm Post subject: |
|
|
TommyB: thanks for the tip. removing nvidia.o solved my problem.
You are my god  |
|
Back to top |
|
 |
mcguire_mr2 Tux's lil' helper


Joined: 17 Nov 2003 Posts: 82
|
Posted: Mon Feb 09, 2004 3:37 am Post subject: |
|
|
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 |
|
 |
Phk Guru


Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Sat Mar 06, 2004 6:40 am Post subject: Very grateful! |
|
|
THANK YOU!
Had the same problem... u solved it! _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
 |
|