LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2010, 07:05 PM   #1
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Rep: Reputation: 0
cannot install technisat skystar 2 driver


Hello,


I have fedora 12 32 bit installed in my pc with skystar 2 revision 2.6
I hope this to be a common problem, more related to operating system that in device particularly. It hapened not only on fedora but on debian 5.03 too. In both systems, installed gcc later, not with OS.
I followed all instructions described in a readme, applied the patch successfully and the problem is with line: make menuconfig, neccessary to select type of adapter I have:

======================================
[root@PCiMATH v4l-dvb-0276304b76b9]# make menuconfig
make -C /root/v4l-dvb-0276304b76b9/v4l menuconfig
make[1]: Entering directory `/root/v4l-dvb-0276304b76b9/v4l'
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build -f /root/v4l-dvb-0276304b76b9/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-conf
ig=0 SRCDIR=/lib/modules/2.6.31.5-127.fc12.i686.PAE/build v4l-mconf
make: Entering an unknown directory
make: *** /lib/modules/2.6.31.5-127.fc12.i686.PAE/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [/lib/modules/2.6.31.5-127.fc12.i686.PAE/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/root/v4l-dvb-0276304b76b9/v4l'
make: *** [menuconfig] Error 2
[root@PCiMATH v4l-dvb-0276304b76b9]#

==============================================

It was a broken symlink in the folder /lib/modules/2.6.31.5-127.fc12.i686.PAE, but I searched for a build file, and found it in another directory something like /usr/bin/externalsource... and I created a symlink to first folder with build in second folder and tried again:

=======================================
[root@PCiMATH v4l-dvb-0276304b76b9]# make menuconfig
make -C /root/v4l-dvb-0276304b76b9/v4l menuconfig
make[1]: Entering directory `/root/v4l-dvb-0276304b76b9/v4l'
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build -f /root/v4l-dvb-0276304b76b9/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-conf
ig=0 SRCDIR=/lib/modules/2.6.31.5-127.fc12.i686.PAE/build v4l-mconf
make: Entering an unknown directory
make: *** /lib/modules/2.6.31.5-127.fc12.i686.PAE/build: Not a directory. Stop.
make: Leaving an unknown directory
make[1]: *** [/lib/modules/2.6.31.5-127.fc12.i686.PAE/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/root/v4l-dvb-0276304b76b9/v4l'
make: *** [menuconfig] Error 2
[root@PCiMATH v4l-dvb-0276304b76b9]#

=============================================
it is slightly different than before. It tries to create a folder with name build in the folder /lib/modules/2.6.31.5-127.fc12.i686.PAE, what is not possible by the system, because there is a file with this name and system does not permit this kind of duplicate, and then other steps fail with errors reported.
Is something wrong with source code ? how can it go ? I am a newbie in linux, and I have several days with this problem, in this forum none talked for this problem, it is overcame for members of this forum. please help!

thanks id advance

Last edited by kallquk; 05-30-2010 at 07:06 PM.
 
Old 05-30-2010, 07:28 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
You're doing make menuconfig in the wrong place I think; make menuconfig builds the curses interface for building the kernel.

If you link us to the guide/readme you're using we can help better
 
Old 05-30-2010, 08:05 PM   #3
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Original Poster
Rep: Reputation: 0
This is the readme:

How to install SkyStar 2 revision 2.8 using the binary-driver for the CX24113?

0) Have linux-installation which allows to build external kernel modules.

Further help can be found here: http://linuxtv.org/wiki/index.php/Ho...device_drivers

1) Get the complete v4l-dvb driver tree from 2008-07-07 (*) and extract it

# wget http://linuxtv.org/hg/v4l-dvb/archiv...4b76b9.tar.bz2
# tar xfj 0276304b76b9.tar.bz2
# cd v4l-dvb-0276304b76b9

2) Apply the patch and copy the appropriate driver-binary

# patch -p1 < <path-to-patch-file>/skystar2-rev2.8-v4l-dvb.patch
# cp <path-to-binary-file>/cx24113_blob.o.x86-64 v4l/cx24113_blob.o_shipped # for 64-bit installations
or
# cp <path-to-binary-file>/cx24113_blob.o.i386 v4l/cx24113_blob.o_shipped # for 32-bit installations

3) (optional) select the device/card-drivers to compile and install

# make menuconfig

follow the menus and enable at least

<M> Technisat/B2C2 FlexCopII(b) and FlexCopIII adapters
<M> Technisat/B2C2 Air/Sky/Cable2PC PCI
<M> Technisat/B2C2 Air/Sky/Cable2PC USB

4) compile all/selected modules and install them

# make
# make install

the last command will replace the modules which were delivered by the install kernel by the ones you just compiled.

5) Loading the modules. The command 'make install' installed the new driver into the right place and replaced old ones.
The next reboot will load these modules automatically. To force a reload of the new modules without rebooting run:

# make reload

(*) it is important that the version from this day is used, because the binary module "cx24113.ko" requires binary comp
atibility with the DVB-API provided by the v4l-dvb-tree. If the internal binary API has changed, which can happen witho
ut notice, the module will not work. This only applied for types and function provided by the v4l-dvb-tree, i2c and mod
ule related things can be found in cx24113_i2c.c and are compiled on this platform.
 
Old 05-30-2010, 08:15 PM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Yes, you want to do this in
Code:
/usr/src/linux-`uname -r`
I believe
 
Old 05-30-2010, 08:33 PM   #5
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Original Poster
Rep: Reputation: 0
this is the output for that command:

[root@PCiMATH ~]# /usr/src/linux-`uname -r`
-bash: /usr/src/linux-2.6.32.12-115.fc12.i686.PAE: No such file or directory
[root@PCiMATH ~]#



is different folder from that I described in the beginning, I do not know what it means

Last edited by kallquk; 05-30-2010 at 08:34 PM.
 
Old 05-30-2010, 08:47 PM   #6
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Okay, whats in /usr/src? Find the directory that closely matches '2.6.32.12-115.fc12.i686.PAE'


(/usr/src/linux/ is usually linked to it, so maybe try that)
 
Old 05-30-2010, 09:01 PM   #7
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Original Poster
Rep: Reputation: 0
yes I went to: usr/src and then see by yourself:


[root@PCiMATH src]# pwd
/usr/src
[root@PCiMATH src]# ls -a -l
total 16
drwxr-xr-x. 4 root root 4096 2010-05-26 20:06 .
drwxr-xr-x. 14 root root 4096 2010-05-26 21:40 ..
drwxr-xr-x. 2 root root 4096 2009-08-25 20:06 debug
drwxr-xr-x. 3 root root 4096 2010-05-27 23:05 kernels
[root@PCiMATH src]# cd kernels
[root@PCiMATH kernels]# ls -a -l
total 12
drwxr-xr-x. 3 root root 4096 2010-05-27 23:05 .
drwxr-xr-x. 4 root root 4096 2010-05-26 20:06 ..
drwxr-xr-x. 22 root root 4096 2010-05-27 22:43 2.6.32.12-115.fc12.i686
[root@PCiMATH kernels]# cd 2.6.32.12-115.fc12.i686
[root@PCiMATH 2.6.32.12-115.fc12.i686]# pwd
/usr/src/kernels/2.6.32.12-115.fc12.i686
[root@PCiMATH 2.6.32.12-115.fc12.i686]# ls -a -l
total 2440
drwxr-xr-x. 22 root root 4096 2010-05-27 22:43 .
drwxr-xr-x. 3 root root 4096 2010-05-27 23:05 ..
drwxr-xr-x. 25 root root 4096 2010-05-27 22:42 arch
drwxr-xr-x. 2 root root 4096 2010-05-27 22:42 block
-rw-r--r--. 1 root root 106890 2010-04-30 22:49 .config
drwxr-xr-x. 3 root root 4096 2010-05-27 22:42 crypto
drwxr-xr-x. 87 root root 4096 2010-05-27 22:43 drivers
drwxr-xr-x. 2 root root 4096 2010-05-27 22:43 firmware
drwxr-xr-x. 70 root root 4096 2010-05-27 22:43 fs
drwxr-xr-x. 21 root root 4096 2010-05-27 22:43 include
drwxr-xr-x. 2 root root 4096 2010-05-27 22:43 init
drwxr-xr-x. 2 root root 4096 2010-05-27 22:43 ipc
drwxr-xr-x. 7 root root 4096 2010-05-27 22:43 kernel
drwxr-xr-x. 6 root root 4096 2010-05-27 22:43 lib
-rw-r--r--. 1 root root 55278 2010-04-30 22:49 Makefile
drwxr-xr-x. 2 root root 4096 2010-05-27 22:43 mm
-rw-r--r--. 1 root root 586330 2010-04-30 22:49 Module.symvers
drwxr-xr-x. 48 root root 4096 2010-05-27 22:43 net
drwxr-xr-x. 6 root root 4096 2010-05-27 22:43 samples
drwxr-xr-x. 12 root root 4096 2010-05-27 22:43 scripts
drwxr-xr-x. 7 root root 4096 2010-05-27 22:43 security
drwxr-xr-x. 21 root root 4096 2010-05-27 22:43 sound
-rw-r--r--. 1 root root 1643223 2010-04-30 22:49 System.map
drwxr-xr-x. 3 root root 4096 2010-05-27 22:43 tools
drwxr-xr-x. 2 root root 4096 2010-05-27 22:43 usr
drwxr-xr-x. 3 root root 4096 2010-05-27 22:43 virt
-rw-r--r--. 1 root root 41 2010-04-30 22:49 vmlinux.id
[root@PCiMATH 2.6.32.12-115.fc12.i686]#


is this the folder that you mentioned ?
 
Old 05-31-2010, 02:40 PM   #8
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Hi jamescondron


please continue helping me!

Now there are two installed kernels: the 115 and the 127, but the problem was when was only one. Trying to complete the system I installed the new one.
 
Old 06-01-2010, 04:28 PM   #9
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Original Poster
Rep: Reputation: 0
again me asking for help!
 
Old 06-01-2010, 04:30 PM   #10
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Yes... in that directory. The one that closely resembles that output. Did you run that command?
 
Old 06-01-2010, 05:19 PM   #11
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jamescondron View Post
Yes... in that directory. The one that closely resembles that output. Did you run that command?

please tell me more details. which command you are asking for ?
 
Old 06-01-2010, 05:25 PM   #12
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
The one you had a problem with. The one in the first post. The point of this whole question.

Code:
make menuconfig
 
Old 06-01-2010, 05:37 PM   #13
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jamescondron View Post
The one you had a problem with. The one in the first post. The point of this whole question.

Code:
make menuconfig

ok, but it does not work, shown in the first post, please tell me what to do
 
Old 06-01-2010, 06:26 PM   #14
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
The point is that you cd into the directory I asked you to, and to run that command. Thats the point of that command, to be run in that directory. I had hoped that I had conveyed that
 
Old 06-02-2010, 07:46 PM   #15
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jamescondron View Post
The point is that you cd into the directory I asked you to, and to run that command. Thats the point of that command, to be run in that directory. I had hoped that I had conveyed that

Dear jamescondron

I did not understand it at first time. I gave the make menuconfig from the folder: /usr/src/kernels/2.6.32.12-115.fc12.i686 and you can see the results:
==============================================

[root@PCiMATH 2.6.32.12-115.fc12.i686]# pwd
/usr/src/kernels/2.6.32.12-115.fc12.i686
[root@PCiMATH 2.6.32.12-115.fc12.i686]# make menuconfig
scripts/kconfig/mconf arch/x86/Kconfig


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

[root@PCiMATH 2.6.32.12-115.fc12.i686]#








General setup ---> │ │
│ │[*] Enable loadable module support ---> │ │
│ │ -*- Enable the block layer ---> │ │
│ │ Processor type and features ---> │ │
│ │ Power management and ACPI options ---> │ │
│ │ Bus options (PCI etc.) ---> │ │
│ │ Executable file formats / Emulations ---> │ │
│ │ -*- Networking support ---> │ │
│ │ Device Drivers ---> │ │
│ │ Firmware Drivers ---> │ │
│ │ File systems ---> │ │
│ │ Kernel hacking ---> │ │
│ │ Security options ---> │ │
│ │ -*- Cryptographic API ---> │ │
│ │[*] Virtualization ---> │ │
│ │ Library routines ---> │ │
│ │ --- │ │
│ │ Load an Alternate Configuration File │ │
│ │ Save an Alternate Configuration File │ │



===================================================================

it is for system configuration, but different from what I was expected. The good of it, it has not errors during make menuconfig. But it must be a simple choice from 3 possibilities, where three different adapters are , and it stays in folder: /root/v4l-dvb-0276304b76b9/ and not in folder: /usr/src/kernels/2.6.32.12-115.fc12.i686.

how can I do the install of the card ss2, not tof system in general ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with 2nd DVB-S PCI card (Technisat Skystar 2) nattydread Linux - Hardware 2 04-05-2010 04:21 PM
TechniSat Skystar 2 Serial IR Remote Issues. mercera_13 Linux - Newbie 0 05-22-2008 08:47 PM
Technisat HD5000 DVB (HDTV) card registers, but hangs stantonovitch Linux - Hardware 1 12-12-2005 09:06 PM
how to install driver for SKYstar USB Reciver oradev Linux - Hardware 0 02-14-2005 03:04 AM
looking for a technisat skystar2 driver freelinuxcpp Linux - Hardware 2 09-14-2003 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration