nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   How to found and remove an old NVIDIA kernel module ? (http://www.nvnews.net/vbulletin/showthread.php?t=56414)

guyr 09-12-05 08:47 AM

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

Lithorus 09-12-05 09:55 AM

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.

guyr 09-12-05 10:38 AM

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

Lithorus 09-12-05 12:00 PM

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.

guyr 09-13-05 02:18 AM

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 09-13-05 03:16 AM

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

metroappelsap 12-28-05 07:49 AM

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!


All times are GMT -5. The time now is 10:59 AM.

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