[elrepo] video4linux on CentOS 5 2.6.18-128.4.1.el5xen - module not found

Phil Perry phil at elrepo.org
Fri Aug 7 13:49:33 EDT 2009


Philippe wrote:
> Hi Phil,
> 
> thanks for the supersonic answer
> 
> before reboot (production server), I've found something strange
> 
> [root at aberlour weak-updates]# pwd
> /lib/modules/2.6.18-128.1.16.el5xen/weak-updates
> [root at aberlour weak-updates]# ll
> total 0
> lrwxrwxrwx 1 root root 49 Aug  4 00:11 gspca.ko -> 
> /lib/modules/2.6.18-128.2.1.el5xen/extra/gspca.ko
> [root at aberlour weak-updates]# locate gspca.ko
> /lib/modules/2.6.18-128.1.16.el5xen/weak-updates/gspca.ko
> /lib/modules/2.6.18-128.2.1.el5xen/weak-updates/gspca.ko
> 

Something is wrong there. The actual modules should always be installed 
in /lib/modules/2.6.18-128.el5xen/extra/video4linux/ and should be 
linked to /weak-updates/video4linux/ for other kernels.

For example, on a non-xen system I see:

$ find /lib/modules/ -name gspca_main.ko
/lib/modules/2.6.18-128.4.1.el5/weak-updates/video4linux/gspca_main.ko
/lib/modules/2.6.18-128.1.16.el5/weak-updates/video4linux/gspca_main.ko
/lib/modules/2.6.18-128.el5/extra/video4linux/gspca_main.ko
/lib/modules/2.6.18-92.el5/weak-updates/video4linux/gspca_main.ko
/lib/modules/2.6.18-128.2.1.el5/weak-updates/video4linux/gspca_main.ko
/lib/modules/2.6.18-53.el5/weak-updates/video4linux/gspca_main.ko
/lib/modules/2.6.18-8.el5/weak-updates/video4linux/gspca_main.ko

$ ll -R /lib/modules/ | grep gspca_main
lrwxrwxrwx 1 root root 59 Jul  4 12:34 gspca_main.ko -> 
/lib/modules/2.6.18-128.el5/extra/video4linux/gspca_main.ko
lrwxrwxrwx 1 root root 59 Jul 16 13:32 gspca_main.ko -> 
/lib/modules/2.6.18-128.el5/extra/video4linux/gspca_main.ko
lrwxrwxrwx 1 root root 59 Aug  6 13:33 gspca_main.ko -> 
/lib/modules/2.6.18-128.el5/extra/video4linux/gspca_main.ko
-rw-r--r-- 1 root root  70160 Jun 15 23:35 gspca_main.ko
lrwxrwxrwx 1 root root 59 Jun 17 13:51 gspca_main.ko -> 
/lib/modules/2.6.18-128.el5/extra/video4linux/gspca_main.ko
lrwxrwxrwx 1 root root 59 Jun 17 13:51 gspca_main.ko -> 
/lib/modules/2.6.18-128.el5/extra/video4linux/gspca_main.ko
lrwxrwxrwx 1 root root 59 Jun 17 13:51 gspca_main.ko -> 
/lib/modules/2.6.18-128.el5/extra/video4linux/gspca_main.ko


> those 2 files are links to  a  previous "try  to install  elrepo" as I 
> was  under 2.1 kernel-xen.
> 
> but the file does not exist
> 
> [root at aberlour weak-updates]# ll /lib/modules/2.6.18-128.2.1.el5xen/extra/
> total 0
> 
> for information the kernel modules currently installed
> [root at aberlour weak-updates]# rpm -qa|grep kern
> kernel-xen-2.6.18-128.1.16.el5
> kernel-xen-2.6.18-128.2.1.el5
> kernel-xen-2.6.18-128.4.1.el5
> kernel-2.6.18-128.1.16.el5
> kernel-2.6.18-128.2.1.el5
> kernel-2.6.18-128.4.1.el5
> kernel-headers-2.6.18-128.4.1.el5
> kernel-xen-devel-2.6.18-128.4.1.el5
> 
> 
> 
> 
> Here's the content you asked for.
> [root at aberlour 2.6.18-128.4.1.el5xen]# ll 
> /lib/modules/2.6.18-128.4.1.el5xen/weak-updates
> total 0
> 

Hmm, totally broken then. I'm not sure what's going on there.

> 
> 
> 
> PS:
> I tried to reinstall the package  "module-init-tools"  and then 
> reinstall video4linux. but it did not change anything
> 
> 

That was going to be my next suggestion - uninstalling kmod-video4linux 
and then reinstalling it.

Let me try installing a xen kernel later this evening and see if I can 
replicate what you're seeing.




More information about the elrepo mailing list