[CentOS] dkms

Akemi Yagi amyagi at gmail.com
Thu Mar 18 20:15:56 UTC 2010


On Thu, Mar 18, 2010 at 12:56 PM,  <m.roth at 5-cent.us> wrote:

>> ls -l `find /lib/modules -name nvidia.ko`
>
> How 'bout find /lib/modules -name nvidia.ko -ls?
> 30965907    0 lrwxrwxrwx   1 root     root           48 Mar 18 09:48
> /lib/modules/2.6.18-164.2.1.el5/weak-updates/nvidia.ko ->
> /lib/modules/2.6.18-164.11.1.el5/extra/nvidia.ko
> 31031730    0 lrwxrwxrwx   1 root     root           48 Mar 18 09:48
> /lib/modules/2.6.18-164.6.1.el5/weak-updates/nvidia.ko ->
> /lib/modules/2.6.18-164.11.1.el5/extra/nvidia.ko
> 31064673    0 lrwxrwxrwx   1 root     root           48 Mar 18 09:48
> /lib/modules/2.6.18-164.9.1.el5/weak-updates/nvidia.ko ->
> /lib/modules/2.6.18-164.11.1.el5/extra/nvidia.ko
> 30704811 12004 -rw-r--r--   1 root     root     12270160 Jan 22 10:36
> /lib/modules/2.6.18-164.10.1.el5/extra/nvidia.ko
> 30736857 11192 -rw-rw-r--   1 root     root     11437204 Jan 15 09:50
> /lib/modules/2.6.18-164.10.1.el5/kernel/drivers/video/nvidia/nvidia.ko
> 31096947    0 lrwxrwxrwx   1 root     root           48 Mar 18 09:48
> /lib/modules/2.6.18-164.10.1.el5/weak-updates/nvidia.ko ->
> /lib/modules/2.6.18-164.11.1.el5/extra/nvidia.ko
> 30770916 11180 -rw-r--r--   1 root     root     11424810 Mar 18 10:09
> /lib/modules/2.6.18-164.11.1.el5/kernel/drivers/video/nvidia.ko

It's a mess. :-(

You have missing symlinks (If you run the original command, you'd see
red-blinking lines). nvidia.ko built by dkms is still there, etc.

If I were you, I would completely remove dkms and all nvidia.ko and
symlinks above. Then do a clean install of the kmod package (
http://elrepo.org/tiki/kmod-nvidia-173xx ).

Akemi



More information about the CentOS mailing list