Problems Whit Bttv

Support and queries relating to all previous versions of ZoneMinder
Locked
andres504
Posts: 19
Joined: Wed Jul 21, 2004 9:25 pm

Problems Whit Bttv

Post by andres504 »

Ihave probles for installl bttv drivers.
make -C /lib/modules/2.6.11-1.35_FC3smp/build SUBDIRS=/root/bttv-0.9.11 modules
make[1]: Entering directory `/lib/modules/2.6.11-1.35_FC3smp/build'
CC [M] /root/bttv-0.9.11/bttv-driver.o
/root/bttv-0.9.11/bttv-driver.c: In function `bttv_open':
/root/bttv-0.9.11/bttv-driver.c:2761: error: called object is not a function
/root/bttv-0.9.11/bttv-driver.c: In function `radio_open':
/root/bttv-0.9.11/bttv-driver.c:2897: error: called object is not a function
make[2]: *** [/root/bttv-0.9.11/bttv-driver.o] Error 1
make[1]: *** [_module_/root/bttv-0.9.11] Error 2
make[1]: Leaving directory `/lib/modules/2.6.11-1.35_FC3smp/build'
make: *** [default] Error 2

I am Update of kernel now have kernel 2.6.11-1 in FC3.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Are you installing a vendors drivers?
That kernel already has BTTV drivers included so unless you have drivers for a card from a vendor that would hopefully enhance performance you don't need them.
You should also I beleive place that folder in the source kernels directory as this will not build by its self, you have to rebuild the kernel modules. A google search for making the linux kernel should turn up something.
Regards,
Cordel
andres504
Posts: 19
Joined: Wed Jul 21, 2004 9:25 pm

Tahk You...

Post by andres504 »

as I can making the linux kernel should turn up something

I Have 2.6.11-1 it updates it with yum....

Help!!!
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

What distro (ie... Fedora, Mandrake, SuSe, Debian)?
What does your capture card look like or what brand/model of USB camera?
Image
Image
3939663646337

It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain
andres504
Posts: 19
Joined: Wed Jul 21, 2004 9:25 pm

Post by andres504 »

I am Have Fedora Core3, whit kernel 2.6.11-1
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The kernel for fedora core 3 already has the v4l bttv drivers compiled into it so unless you have driver from the card vendor that might work better there is no need to add the drivers in. You should be good to go.
Regards,
Cordel
Image
Image
3939663646337

It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain
andres504
Posts: 19
Joined: Wed Jul 21, 2004 9:25 pm

Post by andres504 »

As I can know if I have installed all the necessary one to use zm?????
My Capturecard is Brokent 878....
i can view the page of zm http://localhost/zm, but i not view the video,
Adding cameras of source /dev/video/0
and in chanels =1

......
Thank you
TheFluffyOne
Posts: 7
Joined: Mon Jul 18, 2005 12:47 pm
Location: Swindon, UK

Post by TheFluffyOne »

What output do you get from:

Code: Select all

modprobe bttv
grep -i bttv /var/log/messages | tail -n 30
?
andres504
Posts: 19
Joined: Wed Jul 21, 2004 9:25 pm

Post by andres504 »

This is the ERROR .....

[root@tie ~]# modprobe bttv
WARNING: Error inserting tveeprom (/lib/modules/2.6.11-1.35_FC3/updates/drivers/media/video/tveeprom.ko): Invalid module format
WARNING: Error inserting btcx_risc (/lib/modules/2.6.11-1.35_FC3/updates/drivers/media/video/btcx-risc.ko): Invalid module format
WARNING: Error inserting v4l2_common (/lib/modules/2.6.11-1.35_FC3/updates/drivers/media/video/v4l2-common.ko): Invalid module format
WARNING: Error inserting video_buf (/lib/modules/2.6.11-1.35_FC3/updates/drivers/media/video/video-buf.ko): Invalid module format
FATAL: Error inserting bttv (/lib/modules/2.6.11-1.35_FC3/updates/drivers/media/video/bttv.ko): Invalid module format
[root@tie ~]# grep -i bttv /var/log/messages | tail -n 30
Jul 21 09:54:39 tie kernel: bt878: Unknown symbol bttv_read_gpio
Jul 21 09:54:39 tie kernel: bt878: Unknown symbol bttv_write_gpio
Jul 21 09:54:39 tie kernel: bt878: Unknown symbol bttv_gpio_enable
Jul 21 09:54:39 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 09:54:39 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 09:54:39 tie kernel: bt878: Unknown symbol bttv_read_gpio
Jul 21 09:54:39 tie kernel: bt878: Unknown symbol bttv_write_gpio
Jul 21 09:54:39 tie kernel: bt878: Unknown symbol bttv_gpio_enable
Jul 21 09:54:39 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 10:18:45 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_read_gpio
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_write_gpio
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_gpio_enable
Jul 21 10:18:45 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 10:18:45 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_read_gpio
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_write_gpio
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_gpio_enable
Jul 21 10:18:45 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 10:18:45 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_read_gpio
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_write_gpio
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_gpio_enable
Jul 21 10:18:45 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 10:18:45 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_read_gpio
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_write_gpio
Jul 21 10:18:45 tie kernel: bt878: Unknown symbol bttv_gpio_enable
Jul 21 10:18:45 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
Jul 21 10:22:12 tie kernel: bttv: version magic '2.6.11-1.35_FC3 586 REGPARM 4KSTACKS gcc-3.4' should be '2.6.11-1.35_FC3 686 REGPARM 4KSTACKS gcc-3.4'
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This looks to me like there is a mismatch between your kernel version and the version that the drivers were built for.

Phil
andres504
Posts: 19
Joined: Wed Jul 21, 2004 9:25 pm

My Capture card

Post by andres504 »

I am have a capture card Kodicon 8800, in Fedora c3, with kernel 2.6.9 i am ned update the kernel (2.6.11)


Thank you
Locked