Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> Installation/Setup -> HD5500 FC5 2.6.17-1.2187 compile issue
Post new topic  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
HD5500 FC5 2.6.17-1.2187 compile issue
PostPosted: Thu Sep 21, 2006 6:19 pm Reply with quote
howleyt
 
Joined: 21 Sep 2006
Posts: 3




First, I'm a noob.

Second, I'm having trouble compiling my first kernel module ever! It just happens to be the HD-5500 module. I downloaded the 5500 2.6.17 FC5 module dated 8/31 from the driver website. I have installed the Kernel-Devel tools for this Kernel via Yum. I drop to terminal from KDE, su- to root, switch to the folder that contains the driver files which resides on the desktop and type make. I get the following output:

[root@MythTV-B v4l-dvb-FC5]# make
Code:
make -C /root/Desktop/v4l-dvb-FC5/v4l
make[1]: Entering directory `/root/Desktop/v4l-dvb-FC5/v4l'
scripts/make_makefile.pl /lib/modules/2.6.17-1.2187_FC5/build
File not found: /lib/modules/2.6.17-1.2187_FC5/build/include/linux/autoconf.h at ./scripts/make_kconfig.pl line 29.
make[1]: *** No rule to make target `.config', needed by `.myconfig'.  Stop.
make[1]: Leaving directory `/root/Desktop/v4l-dvb-FC5/v4l'
make: *** [all] Error 2


As I had said, I'm a noob, but it looks to me like it is telling me I don't have the folder available for the kernel devel tools. Looking at the path, I can see the path exists up to this point: /lib/modules/2.6.17-1.2187_FC5/build/ but starting with the include folder, the rest is not present. From the reading I've done, this is an indicator that the kernel devel tools are not present. They ARE installed for this kernel. I do find a similar path at this location: /usr/src/kernels/2.6.17-1.2187_FC5-i586/include which I don't know if it is relevent.

My installation of FC5 is basically following the famous www.wilsonet.com MythTV install instructions. I've followed all of the steps and am on the one where I am to load my capture card drivers. So so far, this is a fairly vanilla installation.

Any help to get past this compile error and I'll be self sufficient again. I took this MythTV box on as a project to learn about linux and boy is it teaching me a lot in a short period!

Thanks,

_________________
Tom
View user's profile Send private message
PostPosted: Thu Sep 21, 2006 7:29 pm Reply with quote
pcHDTV_tech
 
Joined: 16 Dec 2004
Posts: 295




Perhaps Fedora has yet again messed up their latest update...

You should be able to link the /lib/modules/2.6.17-1.2187_FC5/build directory to the directory you listed. If the build directory is a hard link then rename it to something like build.old and then do
Code:
> ln -s /usr/src/kernels/2.6.17-1.2187_FC5-i586 /lib/modules/2.6.17-1.2187_FC5/build


HTH,

Rusty
View user's profile Send private message Visit poster's website
Re: HD5500 FC5 2.6.17-1.2187 compile issue
PostPosted: Fri Sep 22, 2006 4:46 am Reply with quote
croy
 
Joined: 13 Apr 2006
Posts: 10




howleyt wrote:
First, I'm a noob.

Second, I'm having trouble compiling my first kernel module ever! It just happens to be the HD-5500 module. I downloaded the 5500 2.6.17 FC5 module dated 8/31 from the driver website. I have installed the Kernel-Devel tools for this Kernel via Yum. I drop to terminal from KDE, su- to root, switch to the folder that contains the driver files which resides on the desktop and type make. I get the following output:

[root@MythTV-B v4l-dvb-FC5]# make
Code:
make -C /root/Desktop/v4l-dvb-FC5/v4l
make[1]: Entering directory `/root/Desktop/v4l-dvb-FC5/v4l'
scripts/make_makefile.pl /lib/modules/2.6.17-1.2187_FC5/build
File not found: /lib/modules/2.6.17-1.2187_FC5/build/include/linux/autoconf.h at ./scripts/make_kconfig.pl line 29.
make[1]: *** No rule to make target `.config', needed by `.myconfig'.  Stop.
make[1]: Leaving directory `/root/Desktop/v4l-dvb-FC5/v4l'
make: *** [all] Error 2


As I had said, I'm a noob, but it looks to me like it is telling me I don't have the folder available for the kernel devel tools. Looking at the path, I can see the path exists up to this point: /lib/modules/2.6.17-1.2187_FC5/build/ but starting with the include folder, the rest is not present. From the reading I've done, this is an indicator that the kernel devel tools are not present. They ARE installed for this kernel. I do find a similar path at this location: /usr/src/kernels/2.6.17-1.2187_FC5-i586/include which I don't know if it is relevent.

My installation of FC5 is basically following the famous www.wilsonet.com MythTV install instructions. I've followed all of the steps and am on the one where I am to load my capture card drivers. So so far, this is a fairly vanilla installation.

Any help to get past this compile error and I'll be self sufficient again. I took this MythTV box on as a project to learn about linux and boy is it teaching me a lot in a short period!

Thanks,


What version of kernel do you have installed?
Try:
uname -r

It should reply: 2.6.17-1.2187_FC5

If is something older (I suspect you might get 2.6.15...) you need to run:
yum -y upgrade
Then reboot. Pay attention at startup and make sure GRUB selects the newest kernel for you. (When it prompts it is about to start loading a kernel hit enter. You should then get to a list of the available kernels to load. Choose the 2.6.17-1.2187 one...

If you indeed need to select a different kernel, make sure you run yum -y install kernel-devel to download the appropriate files.

Sorry to ask the obvious, but during setup of FC5 did you select "Software development" to install?

I just setup 2 boxes with FC5 and MythTV two days ago and it worked perfectly fine. The HD5500 drivers compiled and installed without any issue.

Cheers.
View user's profile Send private message
PostPosted: Fri Sep 22, 2006 9:46 am Reply with quote
howleyt
 
Joined: 21 Sep 2006
Posts: 3




I've got kernel 2.6.17-1.2187_FC5 and have installed the kernel-devel tools for this kernel. A friend in my office also has this build on his system and exerpienced the same problem with compiling using make.

When I get home, I'll check if I installed Software Development, I'm pretty sure I did since I selected almost everything.

I'll also try the link suggestion from above. I'm betting that one will be the trick.

_________________
Tom
View user's profile Send private message
PostPosted: Sat Sep 23, 2006 9:59 am Reply with quote
howleyt
 
Joined: 21 Sep 2006
Posts: 3




I got it to compile! I tried the re-linking suggestion and got a different error so I tore the system down and loaded just FC5 and ran just a yum upgrade for all packages.

I skipped all the other steps listed in the www.wilsonet.com MythTV writeup and compiled the 5500 modules right away after running yum. I guess something from the article was preventing the kernel-devel tools from installing properly. Thanks for all of your suggestions!

Tom

_________________
Tom
View user's profile Send private message
PostPosted: Sun Sep 24, 2006 1:01 am Reply with quote
ownzilla
 
Joined: 24 Sep 2006
Posts: 1




Just got my card a few days ago and have run into the same problems. Re-linked the build file and got the drivers to compile. The following is the result of a "dmesg | grep cx88" :

Code:

cx88xx: disagrees about version of symbol struct_module
cx88xx: disagrees about version of symbol struct_module
cx88xx: disagrees about version of symbol struct_module
cx88_alsa: disagrees about version of symbol struct_module
cx8800: disagrees about version of symbol struct_module
cx8800: disagrees about version of symbol struct_module
cx8802: disagrees about version of symbol struct_module
cx88_blackbird: disagrees about version of symbol struct_module
cx88_vp3054_i2c: disagrees about version of symbol struct_module
cx88xx: disagrees about version of symbol struct_module
cx8802: disagrees about version of symbol struct_module
cx88_dvb: disagrees about version of symbol struct_module

Manually modprobing:
Code:

WARNING: Error inserting video_buf (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/video-buf.ko): Invalid module format
WARNING: Error inserting dvb_core (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/dvb/dvb-core/dvb-core.ko): Invalid module format
WARNING: Error inserting video_buf_dvb (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/video-buf-dvb.ko): Invalid module format
WARNING: Error inserting dvb_pll (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/dvb/frontends/dvb-pll.ko): Invalid module format
WARNING: Error inserting cx88_vp3054_i2c (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/cx88/cx88-vp3054-i2c.ko): Invalid module format
WARNING: Error inserting v4l2_common (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/v4l2-common.ko): Invalid module format
WARNING: Error inserting v4l1_compat (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/v4l1-compat.ko): Invalid module format
WARNING: Error inserting videodev (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/videodev.ko): Invalid module format
WARNING: Error inserting tveeprom (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/tveeprom.ko): Invalid module format
WARNING: Error inserting btcx_risc (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/btcx-risc.ko): Invalid module format
WARNING: Error inserting ir_common (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/common/ir-common.ko): Invalid module format
WARNING: Error inserting cx88xx (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/cx88/cx88xx.ko): Invalid module format
WARNING: Error inserting cx8802 (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/cx88/cx8802.ko): Invalid module format
FATAL: Error inserting cx88_dvb (/lib/modules/2.6.17-1.2187_FC5smp/kernel/drivers/media/video/cx88/cx88-dvb.ko): Invalid module format

similar results from other driver files.

lspci (because I'm too lazy to manually give more detailed system specs.
Code:

00:00.0 Host bridge: VIA Technologies, Inc. Unknown device 0258
00:00.1 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0b.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
00:0b.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
00:0b.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
00:0b.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05)
00:0c.0 Ethernet controller: 3Com Corporation 3c900 10BaseT [Boomerang]
00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)


To this point all I have done: installed RC5, yum -y upgrade, installed kernel-devel for 2.6.17-1.2187_FC5.i686, compiled the drivers and made this post. Thanks in advance for any help I get.
View user's profile Send private message
HD5500 FC5 2.6.17-1.2187 compile issue
  pcHDTV Forum Index -> Installation/Setup
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
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  This topic is locked: you cannot edit posts or make replies.  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin