Kernel compile fails with make-kpkg, not with make
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
. . . .
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.
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.
The guide at the IvTv Wiki told me to recompile it.
lspci:
Code:
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.
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?
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
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:
Quote:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.