LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-23-2005, 08:55 PM   #1
cspos
Member
 
Registered: Jul 2004
Distribution: Debian
Posts: 60

Rep: Reputation: 15
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.

Last edited by cspos; 06-24-2005 at 02:04 PM.
 
Old 06-24-2005, 12:20 AM   #2
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
USB or PCI device?
 
Old 06-24-2005, 09:17 AM   #3
cspos
Member
 
Registered: Jul 2004
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
PCI.
 
Old 06-24-2005, 10:05 AM   #4
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
Try removing your source directory and extracting the source tarball again. The files you list do exist on my box.
 
Old 06-24-2005, 10:10 AM   #5
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
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
 
Old 06-24-2005, 10:28 AM   #6
cspos
Member
 
Registered: Jul 2004
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
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.

Last edited by cspos; 06-24-2005 at 10:32 AM.
 
Old 06-24-2005, 10:41 AM   #7
Eulogy
LQ Newbie
 
Registered: Apr 2004
Location: Las Vegas
Distribution: Debian, Fedora, Gentoo
Posts: 4

Rep: Reputation: 0
MythTV Guide

I used that guide to install my PVR-250.
 
Old 06-24-2005, 10:46 AM   #8
cspos
Member
 
Registered: Jul 2004
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
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?

Last edited by cspos; 06-24-2005 at 10:48 AM.
 
Old 06-24-2005, 10:55 AM   #9
Eulogy
LQ Newbie
 
Registered: Apr 2004
Location: Las Vegas
Distribution: Debian, Fedora, Gentoo
Posts: 4

Rep: Reputation: 0
link works for me. wierd.
 
Old 06-24-2005, 10:59 AM   #10
cspos
Member
 
Registered: Jul 2004
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
Back up. Server must have been down. I got a timeout...

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

Last edited by cspos; 06-24-2005 at 11:09 AM.
 
Old 06-24-2005, 12:55 PM   #11
cspos
Member
 
Registered: Jul 2004
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
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.
.
That's the file that isn't online now.
 
Old 06-24-2005, 01:24 PM   #12
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
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.

Last edited by zuralin; 06-24-2005 at 01:28 PM.
 
Old 06-24-2005, 01:27 PM   #13
cspos
Member
 
Registered: Jul 2004
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
Code:
julie:/home/corey/ivtv-0.3.6r/utils# ls /usr/src
alsa-driver-1.0.8
alsa-driver-1.0.8.tar.bz2
kernel-headers-2.6.11-1
kernel-headers-2.6.11-1-k7
kernel-headers-2.6.8-2
kernel-headers-2.6.8-2-386
kernel-kbuild-2.6-3
modules
nvidia-kernel-2.6.11-1-k7_1.0.7174-3+2.6.11-6_i386.deb
nvidia-kernel-2.6.8-2-386_1.0.7174-3+2.6.8-16_i386.deb
nvidia-kernel-source.tar.gz
julie:/home/corey/ivtv-0.3.6r/utils# uname -r
2.6.11-1-k7
 
Old 06-24-2005, 01:30 PM   #14
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
When building the ivtv module try using:
KERNELDIR="/usr/src/kernel-headers-2.6.11-1-k7" make
 
Old 06-24-2005, 01:43 PM   #15
cspos
Member
 
Registered: Jul 2004
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
That didn't work either.
 
  


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
build kernel with make-kpkg wrong processor type stockerz Debian 4 02-03-2005 11:14 PM
make-kpkg fails. Royle Debian 1 01-13-2005 03:07 AM
Kernel make-kpkg error TaNeK Debian 7 01-09-2005 12:24 PM
make-kpkg not working, so no kernel includes genixpro Linux - Hardware 3 09-14-2004 06:56 PM
Need some advice on upgrading kernel via make-kpkg davidas Debian 4 04-07-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:09 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
Open Source Consulting | Domain Registration