Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pinnacle 300i install problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
yodo
n00b
n00b


Joined: 22 Jan 2008
Posts: 18
Location: Germany

PostPosted: Fri Feb 08, 2008 6:16 am    Post subject: Pinnacle 300i install problems Reply with quote

Hi,
I want to install my TV-card, a pinnacle 300i. There is a wiki-page about that card, but I seems to be off right now. :?:
Luckily I wrote down what I have to do:

1) emerge mercurial (->done)
2) hg clone http://linuxtv.org/hg/v4l-dvb (->done)
3) cd into the dir and perform "make menuconfig" to install a single driver, or "make all" to install all. (-> I get the error here)
4) make install (-> not done)
5) load the module (-> module does not exist yet)

So when I type "make all" I get this error:

Code:
make -C /home/johannes/v4l-dvb/v4l all
make[1]: Entering directory `/home/johannes/v4l-dvb/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.22
File not found: /lib/modules/2.6.22-14-generic/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
make[1]: Leaving directory `/home/johannes/v4l-dvb/v4l'
make: *** [all] Error 2


I searched for that error, and found the advice to install the kernel-modules. But they are already installed, the threads were not for gentoo too.
The problem seems to be, that certain files are not fond in "/lib/modules/2.6.22-14-generic/build/".
Thats easy to understand, that dir does not exist.
It it "/lib/modules/2.6.23-gentoo-r6" for me. There the needed files exist.

So what is the problem. A missing link? Do I have to change the Makefile?

greetings, yodo


Last edited by yodo on Sat Feb 09, 2008 11:38 am; edited 2 times in total
Back to top
View user's profile Send private message
yodo
n00b
n00b


Joined: 22 Jan 2008
Posts: 18
Location: Germany

PostPosted: Fri Feb 08, 2008 8:22 pm    Post subject: Reply with quote

This are the headers I have installed:
Code:
*  sys-kernel/linux-headers
      Latest version available: 2.6.23-r3
      Latest version installed: 2.6.23-r3
      Size of files: 4,670 kB
      Homepage:      http://www.kernel.org/ http://www.gentoo.org/
      Description:   Linux system headers
      License:       GPL-2


Somehow it does not fit with my kernel version:2.6.23-r6
But its the latest version available...
Back to top
View user's profile Send private message
yodo
n00b
n00b


Joined: 22 Jan 2008
Posts: 18
Location: Germany

PostPosted: Sat Feb 09, 2008 9:53 am    Post subject: Reply with quote

I successfully merged "v4l-dvb-hg", but now I get the same "not found" error when I try to load a module.
Code:
FATAL: Could not load /lib/modules/2.6.22-14-generic/modules.dep: No such file or directory

Modprobe somehow seems to be "linked" to the 2.6.22-14 kernel. I have no idea why - that kernel was never installed on my system.

Code:
omikron boot # ls
System.map-genkernel-x86-2.6.23-gentoo-r6  boot  initramfs-genkernel-x86-2.6.23-gentoo-r6  kernel-genkernel-x86-2.6.23-gentoo-r6


But the TV-Card should work now, if I could load the module...
Code:
find /lib/modules/2.6.23-gentoo-r6/ -type f -iname '*.o' -or -iname '*.ko' | grep saa7134
/lib/modules/2.6.23-gentoo-r6/v4l-dvb/video/saa7134/saa6752hs.ko
/lib/modules/2.6.23-gentoo-r6/v4l-dvb/video/saa7134/saa7134-empress.ko
/lib/modules/2.6.23-gentoo-r6/v4l-dvb/video/saa7134/saa7134-dvb.ko
/lib/modules/2.6.23-gentoo-r6/v4l-dvb/video/saa7134/saa7134-alsa.ko
/lib/modules/2.6.23-gentoo-r6/v4l-dvb/video/saa7134/saa7134.ko


Edit:
The topic of this thread should be solved... the modprobe problem probably has nothing to do with the TV-Card, so it does not fit in this thread.
I opened a new one here to solve the modprobe problem: https://forums.gentoo.org/viewtopic-p-4836920.html#4836920
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum