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

Newegg Daily Deals

Thread Tools
Old 04-25-07, 02:49 AM   #1
Registered User
Join Date: Apr 2007
Posts: 4
Thumbs down Have to rebuild 9631 after every boot

I previously had 7184 installed. I ran the 9631 installer, started X, got beryl and all the associated eye-candy working. After reboot, however, the X server fails to load. When I try to load it manually, I get this error:

API Mismatch: The Nvidia kernel module has the version 1.0-7184, but this X module has the version 1.0-9631.

If I rebuild the 9631 modules, I can then start X. However, when I reboot I'm back to square one. Apparently there's a 7184 kernel module hiding somewhere on my system, and I've been unable to root it out.

Some details:
GPU: Nvidia Geforce 2 MX/MX400 (64 MB RAM)
CPU: Athlon XP 1700+
RAM: 768MB PC2100
OS: Ubuntu 7.04 i386 (Feisty Fawn)
uname -a:
Linux dragon 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

I've also attached the Nvidia installer log.
Attached Files
File Type: log nvidia-installer.log (22.6 KB, 107 views)
imrazor is offline   Reply With Quote
Old 04-25-07, 03:27 AM   #2
NVIDIA Corporation
AaronP's Avatar
Join Date: Mar 2005
Posts: 2,487
Default Re: Have to rebuild 9631 after every boot

See http://nvnews.net/vbulletin/showthread.php?t=72490
AaronP is offline   Reply With Quote
Old 04-25-07, 09:43 PM   #3
Registered User
Join Date: Apr 2007
Posts: 4
Question Re: Have to rebuild 9631 after every boot

Tried all that. When I ran "apt-get remove --purge nvidia-glx-legacy" and "apt-get remove --purge nvidia-glx" I got a message to the effect that no packages were installed. Just to be thorough, I then ran "apt-get install nvidia-glx-legacy" then immediately ran "apt-get install remove --purge nvidia-glx-legacy" to make absolutely sure every last trace of it was removed. I got the same API mismatch. I then manually tracked down /lib/modules/2.6.20-15-generic/kernel/drivers/nvidia.ko, deleted it and watched the installer rebuild it. Same problem. Then I noticed that nvidia kernel modules were being rebuilt spontaneously every reboot in /lib/modules/2.6.20-15-generic/volatile. I deleted those, rebooted, same problem. Those modules had magically reappeared in the same place.

That gave me a brilliant (or lame, depending on how you look at it) idea and I added these lines to /etc/rc.local:

/sbin/rmmod nvidia
/sbin/insmod /lib/modules/2.6.20-15-generic/kernel/drivers/video/nvidia.ko.

This removed the bogus 7184 module that seems to magically regenerate at every boot and loaded the good 9631 module from the correct place. Now I get an X login at every boot.

This is a rather lame kludge, and I'd like to do this properly. Does anyone know why the modules in /volatile/ are reappearing at every boot?
imrazor is offline   Reply With Quote
Old 04-25-07, 11:10 PM   #4
Registered User
Join Date: Apr 2007
Posts: 4
Talking Re: Have to rebuild 9631 after every boot

There's a slight mistake in the above instructions that threw me off

If you use Ubuntu, please also ensure that the linux-restricted-modules packages have been uninstalled.

It's not linux-restricted-modules that needs to be uninstalled, it's linux-restricted-modules-common. Instead of taking that route, I just disabled the Ubuntu nvidia kernel module in /etc/default. Now everything is working just peachy!
imrazor is offline   Reply With Quote

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
Fedora could seek Microsoft code signing to contend with secure boot News Archived News Items 0 06-03-12 04:10 PM
Nvidia driver stopped working after X restart and Kernel taint msgs during boot mikejuni NVIDIA Linux 10 05-21-12 08:30 PM
unable to boot machine with tesla card wcochran NVIDIA Linux 3 05-03-12 07:26 PM
Install MDK9.0 on Asus a7n266-vm succeds but won't boot fierywizard NVIDIA Linux 2 10-06-02 05:53 PM
NTFS DOS boot disk Kruno Microsoft Windows XP And Vista 5 09-22-02 04:24 AM

All times are GMT -5. The time now is 08:33 PM.

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