From: Angel C. <ac...@te...> - 2008-11-24 05:23:16
|
El dom, 23-11-2008 a las 13:39 +0000, Adam Pitera escribió: > I am having trouble with modprobe vloopback > FATAL: Error inserting vloopback > (/lib/modules/2.6.27-7-generic/kernel/drivers/misc/vloopback.ko): > Unknown symbol in module, or unknown parameter (see dmesg) > > this is following a modprobe videodev (as suggested by README) > > > I compiled release 12 of vloopback, i have ubuntu 2.6.27 (x86) strange , i did with current stable kernel 2.6.27.7.git ( because as i reported to ubuntu 2.6.27-7 , 2.6.27-8 has some bugs/regressions with sata_nv). In Ubuntu 8.10 x86 and x86_64 : gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) # svn info Path: . URL: http://www.lavrsen.dk/svn/vloopback/trunk Repository Root: http://www.lavrsen.dk/svn/vloopback Repository UUID: b3243635-062d-0410-83da-aa4e4182f756 Revision: 12 Node Kind: directory Schedule: normal Last Changed Author: AngelCarpintero Last Changed Rev: 12 Last Changed Date: 2008-10-13 02:26:10 +0200 (lun, 13 oct 2008) # make make -C /lib/modules/2.6.27.7/source SUBDIRS=/home/gstreamer/dev/vloopback/trunk modules make[1]: Entering directory `/usr/src/GIT/linux-2.6.27.y' CC [M] /home/gstreamer/dev/vloopback/trunk/vloopback.o Building modules, stage 2. MODPOST 1 modules CC /home/gstreamer/dev/vloopback/trunk/vloopback.mod.o LD [M] /home/gstreamer/dev/vloopback/trunk/vloopback.ko make[1]: Leaving directory `/usr/src/GIT/linux-2.6.27.y' make -C example make[1]: Entering directory `/home/gstreamer/dev/vloopback/trunk/example' cc -g -Wall invert.c -o invert cc -g -Wall resize.c -o resize cc -g -Wall feed.c -o feed cc -g -Wall dummy.c -o dummy make[1]: Leaving directory `/home/gstreamer/dev/vloopback/trunk/example' # sudo make install install -d /lib/modules/2.6.27.7/kernel/drivers/misc install -m 644 -c vloopback.ko /lib/modules/2.6.27.7/kernel/drivers/misc /sbin/depmod -a # sudo modprobe videodev # sudo modprobe vloopback # dmseg [vloopback_init] : video4linux loopback driver v1.2-trunk [vloopback_init] : Loopback 0 registered, input: video0, output: video1 [vloopback_init] : Loopback 0 , Using 2 buffers > > > dmesg gives a load of: > [40023.230741] vloopback: disagrees about version of symbol > video_devdata > [40023.230769] vloopback: Unknown symbol video_devdata > etc. > > lsmod |grep video: > uvcvideo 63368 0 > videodev 41856 1 uvcvideo > v4l1_compat 21892 2 uvcvideo,videodev > compat_ioctl32 9344 1 uvcvideo > video 25104 0 > output 11008 1 video > usbcore 148848 9 > uvcvideo,snd_usb_audio,usbhid,snd_usb_lib,usb_storage,libusual,ohci_hcd,ehci_hcd > > any pointers? > Please check that you don't have other vloopback version installed around or compiled with other kernels. - Check version of gcc ( most of times you must compile modules with same version of gcc used for your kernel ). - Double check you have the good kernel-headers ( linux-headers ). Cheers, -- Angel Carpintero ack ( at ) telefonica ( dot ) net Key fingerprint = 3FD3 9C90 149E 7824 CECD 6BCF AC2C CA61 6EF1 B90D "No basta saber, hay que aplicar lo que se sabe; no basta querer hacerlas cosas, hay que hacerlas". "Knowing is not enough; we must apply. Willing is not enough; we must do" Johann Wolfgang von Goethe |