Moderator Control Panel ]

Error in installing TBS6985 driver on Linux

Error in installing TBS6985 driver on Linux

Postby cwjahng » Thu Nov 20, 2014 1:13 pm

Hi, my name is Charlie.

I bought a TBS6985 DVB-S2 card and tried to install its driver on a linux PC(CentOS 6.5). But I met a strange error during installation like this:

[root@SAT-CENTOS linux-tbs-drivers]# uname -a
Linux SAT-CENTOS 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

[root@SAT-CENTOS linux-tbs-drivers]# ./v4l/tbs-x86_64.sh
TBS drivers configured for x86_64 platform.

[root@SAT-CENTOS linux-tbs-drivers]# make && make install
make -C /home/admin/TBS/linux-tbs-drivers/v4l
make[1]: Entering directory `/home/admin/TBS/linux-tbs-drivers/v4l'
No version yet, using 2.6.32-504.1.3.el6.x86_64
make[1]: Leaving directory `/home/admin/TBS/linux-tbs-drivers/v4l'
make[1]: Entering directory `/home/admin/TBS/linux-tbs-drivers/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-504.1.3.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: Leaving directory `/home/admin/TBS/linux-tbs-drivers/v4l'
make[1]: Entering directory `/home/admin/TBS/linux-tbs-drivers/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-504.1.3.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/home/admin/TBS/linux-tbs-drivers/v4l'
make: *** [all] Error 2

[root@SAT-CENTOS linux-tbs-drivers]#

Can anybody help me?
I could not find the similar topic in the previous forum. May I miss something?

Regards,
Charlie
cwjahng
 
Posts: 8
Joined: Wed Nov 19, 2014 8:55 pm

Re: Error in installing TBS6985 driver on Linux

Postby bob » Fri Nov 21, 2014 11:27 am

bob
 
Posts: 63
Joined: Tue Aug 10, 2010 11:42 am

Re: Error in installing TBS6985 driver on Linux

Postby cwjahng » Fri Nov 21, 2014 12:01 pm

No. It is useless. It looks different case.

The important error message in my case was:

File not found: /lib/modules/2.6.32-504.1.3.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.

but the error message in the proposed posting was different from me:

/usr/src/tbsdrivers/linux-tbs-drivers/v4l/compat.h:26: error: conflicting types for 'find_next_zero_bit'
include/linux/bitops.h:232: note: previous declaration of 'find_next_zero_bit' was here
/usr/src/tbsdrivers/linux-tbs-drivers/v4l/compat.h:32: error: conflicting types for 'find_next_bit'
include/linux/bitops.h:222: note: previous declaration of 'find_next_bit' was here.

Actually, although I followed the advice from the posting by commenting some lines of compat.h, I got the same error messages:

[root@SAT-CENTOS linux-tbs-drivers]# make
make -C /home/admin/TBS/linux-tbs-drivers/v4l
make[1]: Entering directory `/home/admin/TBS/linux-tbs-drivers/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-504.1.3.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/home/admin/TBS/linux-tbs-drivers/v4l'
make: *** [all] Error 2
[root@SAT-CENTOS linux-tbs-drivers]#

Please help me again~

Regards,
Charlie
cwjahng
 
Posts: 8
Joined: Wed Nov 19, 2014 8:55 pm

Re: Error in installing TBS6985 driver on Linux

Postby updatelee » Fri Nov 21, 2014 9:00 pm

look in /boot for your current config and copy it to that folder. Honestly though Id be surprised to see it compile. 2.6.32 is quite old (almost 5 years), might be time to upgrade your kernel.

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Error in installing TBS6985 driver on Linux

Postby cwjahng » Fri Nov 21, 2014 9:52 pm

Hi Updatelee,

Thank you for your professional advise.
I tried it as your advise such that I copy /boot config files to /v4l drive and "make" again but got the same results.
I'm a novice for linux so I don't know how old the kernel version is since I just installed "CentOS v6.6" recently. If you say the kernel is so old, I don't know how to do.

Regards,
Charlie.
cwjahng
 
Posts: 8
Joined: Wed Nov 19, 2014 8:55 pm

Re: Error in installing TBS6985 driver on Linux

Postby updatelee » Sat Nov 22, 2014 12:54 am

Centos 7 is the current release

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Error in installing TBS6985 driver on Linux

Postby cwjahng » Tue Nov 25, 2014 4:42 pm

Hi,

Thank you for bob, updatelee and other people who cared this issue.
I tried deeply for days and gave up today.
It looks like a subtle mismatch between version of kernels, subtle relationships of "links", and current update status of some modules. Using the recent version of CenOS 7 was not helpful too. I tried several ways which could be found from google but finally failed.

A very strange thing is, that I tested on an older PC with CentOS 6.5 where I didn't know what history of update it had, and successfully installed TBS6985 driver on it. The symptom was different from mine, and it was the same to what bob posted first, so after I commented on some lines of the file 'compat.h' I could succeed make and make install.

I has been fighting on seeking differences between my CentOS PC and the older CentOS PC. There were some differences but I could not find out why I failed installation on a PC and why I succeeded it on another.
Too many days were wasted so I give up since I'm still only a novice on linux. I will go to Ubuntu or other linux out of CentOS.

Thank you very much~
Charlie.
cwjahng
 
Posts: 8
Joined: Wed Nov 19, 2014 8:55 pm

Re: Error in installing TBS6985 driver on Linux

Postby cwjahng » Wed Nov 26, 2014 3:39 pm

Hi,

I installed TBS6985 driver on Ubuntu successfully without any errors. I checked the device through tvheadend administration pages too. TBS6985 is working well.

I still have question why CentOS is not friendly with it.

Regards,
Charlie
cwjahng
 
Posts: 8
Joined: Wed Nov 19, 2014 8:55 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests