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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-12-05, 08:47 AM   #1
guyr
Registered User
 
Join Date: Sep 2005
Posts: 4
Default How to found and remove an old NVIDIA kernel module ?

Hi,

With Debian testing :

I upgrade my nvidia driver from 1.0.7667 to 1.0.7676 :
# sh NVIDIA-Linux-x86-1.0-7676-pkg1.run

Now, thereis a new nvidia.ko in /lib/modules/2.6.11-1-686-smp/kernel/drivers/video/
All is fine (Xorg is ok)

Now, when i reboot this host, Xorg don't run anymore !
and i get this message :
"Error: API mismatch: the NVIDIA kernel module is version 1.0.7667 but this
X module is version 1.0.7676. Please be sure that your kernel module and all NVIDIA ..."

And this is what i found with dmesg

# dmesg
...
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 201
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-7667 Fri Jun 17 07:01:04 PDT 2005
...

if i :
# rmmod nvidia
# modprobe nvidia
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 201
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-7676 Fri Jul 29 12:58:54 PDT 2005

And all is fine again.

I think there is somewhere an old nvidia kernel module.
I search and search again all the morning and don't found it !

Perhaps somebody knows a fix ?

Thanks.

--
guyr
guyr is offline   Reply With Quote
Old 09-12-05, 09:55 AM   #2
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: How to found and remove an old NVIDIA kernel module ?

Whenever you chose not to use the debian packaged nvidia drivers you have to uninstall ALL the nvidia related packages.
Lithorus is offline   Reply With Quote
Old 09-12-05, 10:38 AM   #3
guyr
Registered User
 
Join Date: Sep 2005
Posts: 4
Default Re: How to found and remove an old NVIDIA kernel module ?

Thanks Lithorus, but i think they are all removed, i don't use anymore
packaged debian :

# aptitude -F"%c %V %p" search nvidia
p 1.3.0501.0 nvidia-cg-toolkit
p 1.0.7174-4 nvidia-glx
p 1.0.7174-4 nvidia-glx-dev
v <aucun> nvidia-glx-src
v <aucun> nvidia-kernel
v <aucun> nvidia-kernel-1.0.7174
p 1.0.7174+1 nvidia-kernel-2.4.27-2-386
p 1.0.7174+1 nvidia-kernel-2.4.27-2-586tsc
p 1.0.7174+1 nvidia-kernel-2.4.27-2-686
p 1.0.7174+1 nvidia-kernel-2.4.27-2-686-smp
p 1.0.7174+1 nvidia-kernel-2.4.27-2-k6
p 1.0.7174+1 nvidia-kernel-2.4.27-2-k7
p 1.0.7174+1 nvidia-kernel-2.4.27-2-k7-smp
p 1.0.7174-1 nvidia-kernel-common
p 1.0.7174-4 nvidia-kernel-source
v <aucun> nvidia-kernel-src
p 1.0+200505 nvidia-settings

guyr
guyr is offline   Reply With Quote
Old 09-12-05, 12:00 PM   #4
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: How to found and remove an old NVIDIA kernel module ?

Something might have gone wrong when purging them. Either way the one you need to remove is the /etc/init.d/nvidia-glx which rearrange things on startup.
Lithorus is offline   Reply With Quote
Old 09-13-05, 02:18 AM   #5
guyr
Registered User
 
Join Date: Sep 2005
Posts: 4
Default Re: How to found and remove an old NVIDIA kernel module ?

Hi Lithorus,

Thanks for your help. But there is no /etc/init.d/nvidia*
on my host.

I think the old nvidia kernel module is loaded before
the init process.
Perhaps i need to purge kernel-image package, reinstall
it and reinstall the driver. But i found this is a lot of works
only for upgrade a driver !

Guyr
guyr is offline   Reply With Quote
Old 09-13-05, 03:16 AM   #6
guyr
Registered User
 
Join Date: Sep 2005
Posts: 4
Default Re: How to found and remove an old NVIDIA kernel module ?

Hi,

I suppose this old nvidia kernel module was in initrd.
I made :
# mkinitrd -o /boot/initrd.img-2.6.11-1-686-smp
and now all is fine !

Thanks.

Guyr
guyr is offline   Reply With Quote
Old 12-28-05, 07:49 AM   #7
metroappelsap
Registered User
 
Join Date: Dec 2005
Posts: 1
Default Re: How to found and remove an old NVIDIA kernel module ?

Quote:
Originally Posted by guyr
Hi,

I suppose this old nvidia kernel module was in initrd.
I made :
# mkinitrd -o /boot/initrd.img-2.6.11-1-686-smp
and now all is fine !

Thanks.

Guyr
Thanks a lot! This solved my problem too!
metroappelsap 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
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM

All times are GMT -5. The time now is 04:00 PM.


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