Page 3 of 4

Re: TBS Linux driver v130506 availabe

PostPosted: Thu May 16, 2013 1:10 am
by updatelee
Well it's a Perl issue with your system then. That code comes from v4l not TBS.

Skip the rmmod and goto rminstall then install and reboot

UDL

Re: TBS Linux driver v130506 availabe

PostPosted: Thu May 16, 2013 2:17 am
by ragamesh
The same issue...

sudo make rminstall
sudo make install
sudo reboot

dmesg | grep frontend
[ 10.801035] videobuf_dvb: disagrees about version of symbol dvb_frontend_detach
[ 10.801037] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)
[ 10.801047] videobuf_dvb: disagrees about version of symbol dvb_unregister_frontend
[ 10.801049] videobuf_dvb: Unknown symbol dvb_unregister_frontend (err -22)
[ 10.801053] videobuf_dvb: disagrees about version of symbol dvb_register_frontend
[ 10.801054] videobuf_dvb: Unknown symbol dvb_register_frontend (err -22)

:shock:

Re: TBS Linux driver v130506 availabe

PostPosted: Thu May 16, 2013 3:56 am
by updatelee
You change kernels recently? you must do a distclean if you switch.

sudo make distclean
sudo make menuconfig
sudo make
sudo make rminstall
sudo make install
sudo reboot

Sometimes though the old media modules just will refuse to let go, esp if the folder structure isnt identical.

cd /lib/modules/$(uname -r)/kernel/drivers
sudo mv media media.bak

then go back to the tbs source and do a

sudo make install
sudo reboot

UDL

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 17, 2013 12:47 am
by ragamesh
Yes I upgrade from 12.10 to 13.04 last week and a new kernel was installed..
Now I've tried your last instruction but nothing change... I tried also media to media.bak but nothing..
dmesg | grep frontend stil give the same error message...

aaarrrhh... before upgrate it's work perfectly!!!
Help me please... :)

Thank you again!

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 17, 2013 1:29 am
by updatelee
do a uname -r to confirm your running the kernel version you think you are. I assume you are, but it would suck to be doing all this work and find its as simple as that lol

is your /usr/src/linux sym link pointing to the same kernel version that uname -r states?

do a

sudo updatedb
locate videobuf-dvb.ko

where does it show?

after doing a sudo make distclean, when you do the make step it spits out a few lines

Code: Select All Code
updatelee@antec:~/src/tbs/tbs-linux-drivers_v130509$ uname -r
3.9.0
updatelee@antec:~/src/tbs/tbs-linux-drivers_v130509$ sudo make
[sudo] password for updatelee:
make -C /home/updatelee/src/tbs/tbs-linux-drivers_v130509/v4l
make[1]: Entering directory `/home/updatelee/src/tbs/tbs-linux-drivers_v130509/v4l'
No version yet, using 3.9.0
make[1]: Leaving directory `/home/updatelee/src/tbs/tbs-linux-drivers_v130509/v4l'
make[1]: Entering directory `/home/updatelee/src/tbs/tbs-linux-drivers_v130509/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 3.9.0


as you can see the tree is picking up correctly that Im using 3.9.0 (match's uname -r)

does yours?

UDL

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 17, 2013 1:54 am
by ragamesh
uname -r
3.8.0-21-generic

locate videobuf-dvb.ko
Code: Select All Code
/home/ernesto/Scaricati/tbs-linux-drivers_v130506/linux-tbs-drivers/v4l/.videobuf-dvb.ko.cmd
/home/ernesto/Scaricati/tbs-linux-drivers_v130506/linux-tbs-drivers/v4l/videobuf-dvb.ko
/lib/modules/3.8.0-21-generic/kernel/drivers/media/v4l2-core/videobuf-dvb.ko
/lib/modules/3.8.0-21-generic/kernel/drivers/media/video/videobuf-dvb.ko


the last make lines:

Code: Select All Code
ake[2]: Leaving directory `/usr/src/linux-headers-3.8.0-21-generic'
./scripts/rmmod.pl check
found 516 modules
make[1]: uscita dalla directory "/home/ernesto/Scaricati/tbs-linux-drivers_v130506/linux-tbs-drivers/v4l"


I think that it's correct kernel linked.. what do you think?

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 17, 2013 1:57 am
by ragamesh
I tried now to reinstall... nothing same error..

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 17, 2013 2:30 am
by updatelee
see, here's mine

/home/updatelee/src/tbs/tbs-linux-drivers_v130506/v4l/.videobuf-dvb.ko.cmd
/home/updatelee/src/tbs/tbs-linux-drivers_v130506/v4l/videobuf-dvb.ko
/lib/modules/3.9.0/kernel/drivers/media/v4l2-core/videobuf-dvb.ko

youve got a second copy in drivers/media/video

I would hazard a guess thats the one loading, therefore causing the disagreement. are they identical?

md5sum /lib/modules/3.8.0-21-generic/kernel/drivers/media/v4l2-core/videobuf-dvb.ko
md5sum /lib/modules/3.8.0-21-generic/kernel/drivers/media/video/videobuf-dvb.ko

UDL

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 17, 2013 7:38 pm
by ragamesh
md5sum v4l2-core/videobuf-dvb.ko
0137b8c993eb3d14da68f41e30e6f0e6 v4l2-core/videobuf-dvb.

md5sum video/videobuf-dvb.ko
a4e607928b14ad776475c1d07f2f911c video/videobuf-dvb.ko

They'are differente!!!
What can I do?

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 17, 2013 8:06 pm
by updatelee
I dont think the move cmd you used eariler worked then. Or you didnt move it out of /lib/modules, it must be moved right out of here else its just renamed and will still be loaded. If your up for a more permanent solution just delete the media folder, then sudo make install

UDL