Page 1 of 1

Frontend Initialization Failed - TBS6981 - Slackware64 14.0

PostPosted: Sat Jul 06, 2013 9:48 pm
by khinch
Tuner: TBS6981
OS: Slackware64 14.0
Kernel: 3.2.45 x86_64
Driver: v130506

I can't seem to get the TBS6981 working in Slackware64. The drivers appear to build OK, but during boot the frontend initialisation fails. I have two TBS cards in this system at the same time: TBS6981 and TBS6280. The 6280 works fine but the 6981 fails to start. This problem still happens if I remove the TBS6280 and perform the steps below.

Slackware was installed onto a freshly formatted HDD, with all packages selected during install. A full update was run via "slackpkg upgrade-all".

Then:
wget http://www.tbsdtv.com/download/document ... 130506.zip
unzip tbs-linux-drivers_v130506.zip
tar -jxf linux-tbs-drivers.tar.bz2
cd linux-tbs-drivers
./v4l/tbs-x86_64.sh
make && make install
init 6

At this point I captured the attached dmesg and lcpci outputs.

Any help is much appreciated.

Edit: Can't seem to attach files, and I can't put them into a code box because they exceed the max character limit.

Re: Frontend Initialization Failed - TBS6981 - Slackware64 1

PostPosted: Sun Jul 07, 2013 1:43 am
by updatelee
Pastebin.com is your friend :)

Re: Frontend Initialization Failed - TBS6981 - Slackware64 1

PostPosted: Sun Jul 07, 2013 3:30 am
by khinch

Re: Frontend Initialization Failed - TBS6981 - Slackware64 1

PostPosted: Sun Jul 07, 2013 5:23 am
by updatelee
You've still got some of your old modules installed. They are messing with the new ones.

You'll find posts on here referring to what I'm taking about. Simply delete the old media kernel modules folder and reinstall then reboot.

UDL

Re: Frontend Initialization Failed - TBS6981 - Slackware64 1

PostPosted: Sun Jul 07, 2013 6:05 am
by updatelee
sorry was on my phone earlier.

sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media
sudo make install
sudo reboot

UDL

Re: Frontend Initialization Failed - TBS6981 - Slackware64 1

PostPosted: Tue Jul 09, 2013 5:18 am
by khinch
Hi again and thanks for your suggestion UDL. I was just about to try it when I noticed an email from TBS support, and it's definately a module problem.

Support suggested that I do:
rmmod cx23885
modprobe tbs6981fe
modprobe tbsfe
modprobe cx23885

Which worked! No error messages and the DVB-S2 adapters suddenly appeared as adapters 2 & 3 in /dev/dvb. One workaround is to add these commands to /etc/rc.d/rc.local so they run at the end of the boot scripts, which I may try if all else fails. In the meantime I'll look into other ways of re-ordering the modules loading.

Is it possible that removing the old kernel modules as per your suggestion will rectify the load order?

Re: Frontend Initialization Failed - TBS6981 - Slackware64 1

PostPosted: Thu Jul 11, 2013 1:56 am
by khinch
Update:

I tried removing the media directory and rebuilding as suggested but it didn't help.

I have found a file called /lib/modules/<kernel>/modules.dep which lists all the modules and their dependencies. cx23885 is in there, but tbs6981fe and tbsfe are not listed as dependencies. I am tempted to edit this file manually, but it is auto-generated from the depmod command. My next job is to find out where depmod gets its information and try to add tbs6981fe and tbsfe to cx23885.

Re: Frontend Initialization Failed - TBS6981 - Slackware64 1

PostPosted: Tue Jul 23, 2013 8:11 pm
by khinch
Update 2:

I have found that depmod quizzes the modules themselves for their dependencies. I think this means that either the module is not reporting its dependencies correctly (unlikely) or that this version of depmod has a bug (more likely).

For the meantime I will stick with a startup script to load the modules, but if I come across a fix I will post it here.