-   Debian (
-   -   Kernel compile fails with make-kpkg, not with make (

cspos 06-23-2005 08:55 PM

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:


. . . .
drivers/char/drm/gamma_drv.c:56:22: drm_proc.h: No such file or directory
drivers/char/drm/gamma_drv.c:57:20: drm_vm.h: No such file or directory
drivers/char/drm/gamma_drv.c:58:22: drm_stub.h: No such file or directory
drivers/char/drm/gamma_drv.c:59:25: drm_scatter.h: No such file or directory
drivers/char/drm/gamma_lists.h:161: warning: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:36: warning: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:69: warning: `DRM' defined but not used
make[4]: *** [drivers/char/drm/gamma_drv.o] Error 1
make[3]: *** [drivers/char/drm] Error 2
make[2]: *** [drivers/char] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.11'
make: *** [stamp-build] Error 2

I have no idea what's going on there, so any help would be appreciated.

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.

linux-rulz 06-24-2005 12:20 AM

USB or PCI device?

cspos 06-24-2005 09:17 AM


zuralin 06-24-2005 10:05 AM

Try removing your source directory and extracting the source tarball again. The files you list do exist on my box.

linux-rulz 06-24-2005 10:10 AM

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 :


lsmod | grep bttv

cspos 06-24-2005 10:28 AM

The guide at the IvTv Wiki told me to recompile it.


corey@julie:~$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
0000:00:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
0000:00:0a.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
0000:00:0a.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
0000:00:0b.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
0000:00:0d.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
0000:00:0f.0 RAID bus controller: Promise Technology, Inc. PDC20276 (MBFastTrak133 Lite) (rev 01)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 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:14.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

lsmod | grep bttv finds nothing.

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 06-24-2005 10:41 AM

MythTV Guide

I used that guide to install my PVR-250.

cspos 06-24-2005 10:46 AM

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?

Eulogy 06-24-2005 10:55 AM

link works for me. wierd.

cspos 06-24-2005 10:59 AM

Back up. Server must have been down. I got a timeout...

EDIT: Yeah, it's going on and off on me.

cspos 06-24-2005 12:55 PM

The guide says to download this file: 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:

julie:/home/corey/ivtv-0.2.0-rc3k# modprobe ivtv
FATAL: Module ivtv not found.

I'm thinking this has something to do with the fact that this is the newer version of the PVR-250. The guide says:

Newer releases of the PVR250 card are not being recognized by the stable ivtv driver, but a patch has been developed and has been applied to the ckennedy versions.
That's the file that isn't online now.

zuralin 06-24-2005 01:24 PM

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.

cspos 06-24-2005 01:27 PM


julie:/home/corey/ivtv-0.3.6r/utils# ls /usr/src
julie:/home/corey/ivtv-0.3.6r/utils# uname -r

zuralin 06-24-2005 01:30 PM

When building the ivtv module try using:
KERNELDIR="/usr/src/kernel-headers-2.6.11-1-k7" make

cspos 06-24-2005 01:43 PM

That didn't work either.

All times are GMT -5. The time now is 11:42 AM.