Kernel compile fails with make-kpkg, not with make (Now a PVR-250 install question)
I'm trying to install a new Hauppauge PVR-250. I'm using the guide at the IvTv Wiki. Part of that requires me to compile a new kernel. After configuring the kernel (the 2.6.11 kernel-source from unstable), if I just type make to do a manual install it copmletes the compile. But if I run make-kpkg, it fails with a crap load of DRM errors:
Code:
. . . . On a side note, if anyone has a better guide to installing the PVR-250, or on how to get the remote of the Audigy2 ZS Platinum working, I'd appreciate a link. My searches haven't come up with much of anything yet. |
USB or PCI device?
|
PCI.
|
Try removing your source directory and extracting the source tarball again. The files you list do exist on my box.
|
Ummmm....why are you recompiling your kernel for a tv-tuner, your card should be supported by your distro provided kernel. Don't bother doing that yet.
Post the output of : lspci lsmod | grep bttv |
The guide at the IvTv Wiki told me to recompile it.
lspci: Code:
corey@julie:~$ lspci By the way it's a PVR-250 so I should be using the ivtv driver. I don't think I need the bttv. Correct me if I'm wrong. |
|
Eulogy: the link is broken.
zuralin: I missed your post before. I'm actually in the process of recompiling now. This computer's getting old though. It's taking a while. I'll come back later with the results. EDIT: Oh, yeah. The HCL entry mentions that his lspci shows an iTVC15. Mine shows an iTVC16. Could that be a problem? |
link works for me. wierd.
|
Back up. Server must have been down. I got a timeout...
EDIT: Yeah, it's going on and off on me. |
The guide says to download this file: http://205.209.168.201/~ckennedy/ivt....2.0-rc3a.tgz. That link is broken. So I used the ivtv-0.2.0-rc3k package from IvTv's site. That's the only thing i did differently, and it didn't work. All the steps completed without errors, but at the end, I couldn't find the ivtv module:
Code:
julie:/home/corey/ivtv-0.2.0-rc3k# modprobe ivtv Quote:
That's the file that isn't online now. |
Post the output of:
# ls /usr/src # uname -r edit: BTW, I wrote the "guide" you originally posted.. Most likely you need to use KERNELDIR="/kernel/localtion/" make otherwise it places the modules in the wrong location. |
Code:
julie:/home/corey/ivtv-0.3.6r/utils# ls /usr/src |
When building the ivtv module try using:
KERNELDIR="/usr/src/kernel-headers-2.6.11-1-k7" make |
That didn't work either.
|
And then run depmod -ae
Or give the error (if any) |
depmod -ae runs through without any output, so I'm assuming it finishes without an error.
|
I tried something new. I added these source to my sources.list:
Code:
#Stable drivers for PVR250/350 |
The same error as being that it doesn't exist? Also I assume /dev/video0 doesn't exist if modprobe ivtv fails.
Let's find out where ivtv is being installed # updatedb # locate ivtv.ko |
Code:
julie:/lib/modules# locate ivtv.ko |
Show output of:
# ls /lib/modules If /lib/modules/2.6.11-1-k7 exists try this: # mv /lib/modules/2.6.11/extra/ /lib/modules/2.6.11-1-k7/ # depmod -ae # modprobe ivtv |
Code:
julie:/lib/modules# ls Code:
# mknod /dev/video0 c 81 0 Code:
dd if=/dev/video0 of=test.mpg bs=64k |
Try installing udev. Also did you delete the non-ivtv msp3400.ko?
# locate msp3400.ko Delete the msp3400.ko in /lib/modules/`uname -r`/ that isn't in the extra directory. edit: also check out http://ivtv.writeme.ch/tiki-view_faq.php?faqId=1 |
I already have udev, but I'm not sure what I'd do with it. I already deleted the other msp3400.ko.
Here's something interesting: Code:
julie:~# ivtvctl -m |
Mine does the same thing (note: I have two pvr250's)..
mythtv:/home/mythtv# ivtvctl -m | grep iTVC Card type : Vanilla iTVC15 card mythtv:/home/mythtv# lspci | grep iTVC 0000:00:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) 0000:00:0a.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) |
That's reassuring.
That FAQ you sent me says that if the mpeg I pull from the card shows just a black screen I should set it to pull from a different input. After running ivtvctl -n to see my options, I set it to record from input 4, which is the tuner. Now it's time to get mythtv working. |
I can't seem to start the backend server:
Code:
julie:/# mythbackend Code:
julie:/# mythfilldatabase |
I had this same problem. You need to make sure you load mc.sql into mysql. See my guide (the guide you originally posted was written by me) for some tips. HOPEFULLY it will help. Remember, if you change the root password in mysql to run
# dpkg-reconfigure mythtv-backend If my guide doesn't help your going to have to do more googling. Let me know what you do so I can edit my guide. |
So far, it's not working. After successfully running mythtv-setup, I try to run mythfilldatabase. That fails:
Code:
julie:~# mythfilldatabase Code:
julie:~# /etc/init.d/mythtv-backend start So basically I just can't start the backend. But myth-setup runs fine. I've successfully installed the mc.sql sql file, and matched the mythv user's password to the one I set in mythtv-setup. I don't see what I'm missing. |
It's working now. I've changed so many things, I couldn't tell you exactly what it was that made this work. But I'll be installing this card again soon on a clean system, so I'll let you know then so you can add to the guide.
All that I have to do now is install the remote. That's a job for tomorrow. Thanks for all the help. |
Quote:
|
potential solution
the linux kernel has naitve support for plenty of video and tv cards[2.6 kernels have the best support], check to see if driver is there as a module with 'ls -R /lib/modules/$(uname -r)/ | grep iv # or tv' , cd to the dir that the module is in and use insmod as root when you found the module. read insmod manual page for clarification.
else get a 2.6 kernel and compile in support for your tv-card, note: that although the driver you downloaded may be for your card, the driver itself may have been designed to work on a 2.4 or 2.6 kernel only, I doubt a 2.2. the one that you build into a kernel or as a module will always work if those suggestions don't work, come back here |
Quote:
On a side note, the integrated encoder chip is great. I can continue to run programs that take a lot of processing power while encoding stuff. But decoding a stored file or even watching buffered live TV takes a lot more power. If I even browse the Internet while watching a video it stutters a bit. That's not cool. Will the encoder chip on the 250 rev 1 or on the 350 substantially improve performance? |
Quote:
|
Oops, yeah I meant to say decoder. Well then it sounds like the upgrade would be worth it. But I don't need the tuner and other perks of the 350. Is there anywhere where I can buy a rev1 250?
|
No idea, I've always wanted one as well.
|
On second thought, what I'm seing on the HCL isn't very good. Does the unstable branch of the ivtv driver really support the 350 like the site says?
I just read that the MPEG decoder only works on whatever is plugged into the TV-out jack on the 350. That defeats the purpose of using a CRT or LCD monitor... |
I'm having similar problems as the original poster, here's is my lspci output:
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8753 [P4X266 AGP] (rev 01) 0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] 0000:00:09.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01) 0000:00:0a.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 11) 0000:00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge 0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) 0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) 0000:00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) 0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 30) 0000:01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3] (rev a3) 0000:02:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) 0000:02:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) Contents of /usr/src: hcwCCnv2.ax hcwECP.ax HcwMakoA.ROM HCWPP2.inf hcwPP2.sys hcwPrxA2.ax hcwutl32.dll hcwxds.dll ivtv0.4-modules-2.6.14-1-686_0.4.0-1+2.6.14-2_i386.deb ivtv0.4-source.tar.bz2 ivtv-firmware- linux linux-headers-2.6.14-1 linux-headers-2.6.14-1-686 modules nvidia-kernel-2.6.14-1-686_1.0.7174-4+2.6.14-2_i386.deb nvidia-kernel-source.tar.gz pvr_2.0.24.23035.zip ReleaseNotes.txt And uname -r: 2.6.14-1-686 I'm trying to use a Hauppage PVR500 in a Debian system, almost everything else seems to work, but I think the module keeps getting misplaced. I've read several articles about this happening, but the various 'fixes' either don't work for me, or are not explicit enough for me to follow along (I haven't built a Linux system in a decade). Any help would be appreciated. |
All times are GMT -5. The time now is 03:17 PM. |