You are not logged in.

#1 2009-07-17 17:20:33

initbox
Member
Registered: 2008-09-27
Posts: 172

DVB card modules refuse to compile!

So, ever since the transition to 2.6.30 in Arch (I'm not completely sure but I think this has been an issue since then), I've been unable to compile my DVB card modules. When this problem first occurred, I installed a dualboot Ubuntu, since I figured the issue would be fixed at some point. Well, I've been unable to use Arch for 3 months now and Ubuntu is driving me nuts so I want to get this resolved ASAP.

I've been doing this the way it is described in the linuxtv.org wiki article: (My card is a Terratec Cinergy C HD)

hg clone http://mercurial.intuxication.org/hg/s2-liplianin
cd s2-liplianin
make
sudo make install
modprobe mantis

I just do it as root instead of sudo.

The make-part ends in an error:

/media/storage/s2-liplianin/v4l/firedtv-1394.c:283: error: implicit declaration of function 'hpsb_unregister_protocol'
make[3]: *** [/media/storage/s2-liplianin/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/media/storage/s2-liplianin/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/media/storage/s2-liplianin/v4l'
make: *** [all] Error 2

However, it compiles just fine on Ubuntu with an older kernel. I've been unable to use Arch for 3 months because of this since the only TV I have is this card, so I'd like to get this sorted.

(On a completely unrelated note, Ubuntu crashed on me after a 30d uptime, the hard drive started trashing even though I use no swap and the only thing I could do is REISUB. Arch has pretty much never crashed on me and I don't need any fancy ease of use daemons that make you unable to just restart X etc.)

Offline

#2 2009-07-18 00:59:31

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: DVB card modules refuse to compile!

  CC [M]  /home/fp/s2-liplianin/v4l/firedtv-1394.o
/home/fp/s2-liplianin/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory
/home/fp/s2-liplianin/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory
/home/fp/s2-liplianin/v4l/firedtv-1394.c:23:23: error: highlevel.h: No such file or directory
/home/fp/s2-liplianin/v4l/firedtv-1394.c:24:19: error: hosts.h: No such file or directory
/home/fp/s2-liplianin/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such file or directory
/home/fp/s2-liplianin/v4l/firedtv-1394.c:26:17: error: iso.h: No such file or directory
/home/fp/s2-liplianin/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such file or directory

Some headers are missing, and I think this is what is causing the rest of the failures. I'm not sure where you can get these.

Offline

#3 2009-07-18 01:30:28

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: DVB card modules refuse to compile!

CONFIG_DVB_FIREDTV has been in kernel26 since 2.6.29-1. Is there a reason you need to compile it?

Offline

#4 2009-07-18 05:00:22

initbox
Member
Registered: 2008-09-27
Posts: 172

Re: DVB card modules refuse to compile!

fphillips wrote:

CONFIG_DVB_FIREDTV has been in kernel26 since 2.6.29-1. Is there a reason you need to compile it?

Well, according to the Linuxtv.org article for my card, I need to use the mantis drivers/module if I want my card to work and that's how I've always been doing it.

The compilation just fails while compiling the firedtv stuff. It seems to compile alot of stuff during make - for many cards, which is kind of silly, since I only want the modules and stuff for my card, but I don't really know if/how I can remove the stuff I don't need for my card.

Offline

#5 2009-07-18 15:56:25

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: DVB card modules refuse to compile!

#
# Automatically generated make config: don't edit
# Linux kernel version: KERNELVERSION
# Sat Jul 18 10:41:07 2009
#
CONFIG_INPUT=y
CONFIG_USB=m
CONFIG_PARPORT=m
# CONFIG_SPARC64 is not set
# CONFIG_PLAT_M32700UT is not set
CONFIG_NET=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_SND_FM801=m
# CONFIG_PXA27x is not set
# CONFIG_SGI_IP22 is not set
CONFIG_I2C=m
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_GPIO_PCA953X is not set
# CONFIG_HAVE_CLK is not set
# CONFIG_FIQ is not set
CONFIG_SND=m
CONFIG_MODULES=y
# CONFIG_MT9M001_PCA9536_SWITCH is not set
CONFIG_HAS_IOMEM=y
# CONFIG_ARCH_OMAP2 is not set
CONFIG_PROC_FS=y
# CONFIG_SPARC32 is not set
CONFIG_I2C_ALGOBIT=m
CONFIG_HAS_DMA=y
CONFIG_INET=y
CONFIG_CRC32=y
CONFIG_FB=y
# CONFIG_ARCH_MX1 is not set
CONFIG_SYSFS=y
CONFIG_ISA=y
CONFIG_PCI=y
CONFIG_SONY_LAPTOP=m
# CONFIG_MX3_IPU is not set
CONFIG_SND_PCM=m
CONFIG_PARPORT_1284=y
CONFIG_EXPERIMENTAL=y
# CONFIG_M32R is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_IEEE1394=m
# CONFIG_MT9V022_PCA9536_SWITCH is not set
CONFIG_VIRT_TO_BUS=y
# CONFIG_VIDEO_KERNEL_VERSION is not set
CONFIG_MEDIA_SUPPORT=m

#
# Multimedia core support
#
# CONFIG_VIDEO_DEV is not set
CONFIG_DVB_CORE=m
CONFIG_VIDEO_MEDIA=m

#
# Multimedia drivers
#
# CONFIG_MEDIA_ATTACH is not set
CONFIG_MEDIA_TUNER=m
# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
CONFIG_MEDIA_TUNER_SIMPLE=m
CONFIG_MEDIA_TUNER_TDA8290=m
CONFIG_MEDIA_TUNER_TDA9887=m
CONFIG_MEDIA_TUNER_TEA5761=m
CONFIG_MEDIA_TUNER_TEA5767=m
CONFIG_MEDIA_TUNER_MT20XX=m
CONFIG_MEDIA_TUNER_XC2028=m
CONFIG_MEDIA_TUNER_XC5000=m
CONFIG_MEDIA_TUNER_MC44S803=m
# CONFIG_DVB_DYNAMIC_MINORS is not set
CONFIG_DVB_CAPTURE_DRIVERS=y

#
# Supported SAA7146 based PCI Adapters
#
# CONFIG_TTPCI_EEPROM is not set
# CONFIG_DVB_BUDGET_CORE is not set

#
# Supported USB Adapters
#
# CONFIG_DVB_USB is not set
# CONFIG_DVB_TTUSB_BUDGET is not set
# CONFIG_DVB_TTUSB_DEC is not set
# CONFIG_DVB_SIANO_SMS1XXX is not set

#
# Supported FlexCopII (B2C2) Adapters
#
# CONFIG_DVB_B2C2_FLEXCOP is not set

#
# Supported BT878 Adapters
#

#
# Supported Pluto2 Adapters
#
# CONFIG_DVB_PLUTO2 is not set

#
# Supported SDMC DM1105 Adapters
#
# CONFIG_DVB_DM1105 is not set

#
# Supported Mantis Adapters
#
CONFIG_DVB_MANTIS=m

#
# Supported FireWire (IEEE 1394) Adapters
#
# CONFIG_DVB_FIREDTV is not set

#
# Supported DVB Frontends
#
# CONFIG_DVB_FE_CUSTOMISE is not set
CONFIG_DVB_STV0299=m
CONFIG_DVB_MB86A16=m
CONFIG_DVB_CU1216=m
CONFIG_DVB_ZL10353=m
CONFIG_DVB_PLL=m
# CONFIG_DAB is not set

#
# Audio devices for multimedia
#

#
# ALSA sound
#
# CONFIG_SND_BT87X is not set

Copy the above to s2-liplianin/v4l/.config

make && make install

This is a minimal config. See my other post for how I did this: http://bbs.archlinux.org/viewtopic.php? … 75#p558875

If you look at the INSTALL file, you can see that sudo make menuconfig will let you alter the config.

Frank

Last edited by fphillips (2009-07-18 15:58:33)

Offline

#6 2009-07-18 22:18:19

initbox
Member
Registered: 2008-09-27
Posts: 172

Re: DVB card modules refuse to compile!

Awesome!

The stuff actually compiles now and everything goes fine, until I try to insert the module:

FATAL: Error inserting mantis (/lib/modules/2.6.30-ARCH/kernel/drivers/media/dvb/mantis/mantis.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg says:

mantis: Unknown symbol ir_codes_mantis_vp1041
mantis: Unknown symbol ir_codes_mantis_vp2033
mantis: Unknown symbol ir_codes_mantis_vp2040

But obviously, we're getting there now...

Offline

#7 2009-07-19 00:13:49

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: DVB card modules refuse to compile!

In ./linux/drivers/media/common/ir-keymaps.c are EXPORT_SYMBOL_GPL(ir_codes_mantis_vp2033) and so forth. For some reason those symbols aren't getting exported. Maybe something with the config needs to be tweaked, or a module it needs isn't getting loaded, or even a bug in this checkout.

Offline

#8 2009-07-19 21:33:38

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: DVB card modules refuse to compile!

Try the following:
hg clone -r 11810 http://mercurial.intuxication.org/hg/s2-liplianin

This takes it back to the changeset before this ir_code stuff was added (rev 11811). Also, they have a hardcoded /sbin/lsmod in v4l/Makefile (we need /bin/lsmod).

With those two changes it should compile without the warnings, but you may lose remote control support, if you use that.

Offline

#9 2009-09-20 13:39:17

initbox
Member
Registered: 2008-09-27
Posts: 172

Re: DVB card modules refuse to compile!

I'm still trying to get this thing working...

Now, here's the current situation:

  CC [M]  /tmp/s2-liplianin/v4l/firedtv-1394.o
/tmp/s2-liplianin/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory
/tmp/s2-liplianin/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory
/tmp/s2-liplianin/v4l/firedtv-1394.c:23:23: error: highlevel.h: No such file or directory
/tmp/s2-liplianin/v4l/firedtv-1394.c:24:19: error: hosts.h: No such file or directory
/tmp/s2-liplianin/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such file or directory
/tmp/s2-liplianin/v4l/firedtv-1394.c:26:17: error: iso.h: No such file or directory
/tmp/s2-liplianin/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such file or directory
/tmp/s2-liplianin/v4l/firedtv-1394.c:37: warning: 'struct hpsb_iso' declared inside parameter list
/tmp/s2-liplianin/v4l/firedtv-1394.c:37: warning: its scope is only this definition or declaration, which is probably not what you want
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'rawiso_activity_cb':
/tmp/s2-liplianin/v4l/firedtv-1394.c:53: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:54: error: implicit declaration of function 'hpsb_iso_n_ready'
/tmp/s2-liplianin/v4l/firedtv-1394.c:61: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:62: error: implicit declaration of function 'dma_region_i'
/tmp/s2-liplianin/v4l/firedtv-1394.c:62: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:62: error: expected expression before 'unsigned'
/tmp/s2-liplianin/v4l/firedtv-1394.c:63: warning: assignment makes pointer from integer without a cast
/tmp/s2-liplianin/v4l/firedtv-1394.c:64: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:68: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:82: error: implicit declaration of function 'hpsb_iso_recv_release_packets'
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'node_of':
/tmp/s2-liplianin/v4l/firedtv-1394.c:87: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:87: warning: type defaults to 'int' in declaration of '__mptr'
/tmp/s2-liplianin/v4l/firedtv-1394.c:87: warning: initialization from incompatible pointer type
/tmp/s2-liplianin/v4l/firedtv-1394.c:87: error: invalid use of undefined type 'struct unit_directory'
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'node_lock':
/tmp/s2-liplianin/v4l/firedtv-1394.c:92: error: implicit declaration of function 'hpsb_node_lock'
/tmp/s2-liplianin/v4l/firedtv-1394.c:92: error: 'EXTCODE_COMPARE_SWAP' undeclared (first use in this function)
/tmp/s2-liplianin/v4l/firedtv-1394.c:92: error: (Each undeclared identifier is reported only once
/tmp/s2-liplianin/v4l/firedtv-1394.c:92: error: for each function it appears in.)
/tmp/s2-liplianin/v4l/firedtv-1394.c:93: error: 'quadlet_t' undeclared (first use in this function)
/tmp/s2-liplianin/v4l/firedtv-1394.c:93: error: expected ')' before 'arg'
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'node_read':
/tmp/s2-liplianin/v4l/firedtv-1394.c:98: error: implicit declaration of function 'hpsb_node_read'
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'node_write':
/tmp/s2-liplianin/v4l/firedtv-1394.c:103: error: implicit declaration of function 'hpsb_node_write'
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'start_iso':
/tmp/s2-liplianin/v4l/firedtv-1394.c:114: error: implicit declaration of function 'hpsb_iso_recv_init'
/tmp/s2-liplianin/v4l/firedtv-1394.c:114: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:116: error: 'HPSB_ISO_DMA_DEFAULT' undeclared (first use in this function)
/tmp/s2-liplianin/v4l/firedtv-1394.c:118: warning: assignment makes pointer from integer without a cast
/tmp/s2-liplianin/v4l/firedtv-1394.c:125: error: implicit declaration of function 'hpsb_iso_recv_start'
/tmp/s2-liplianin/v4l/firedtv-1394.c:128: error: implicit declaration of function 'hpsb_iso_shutdown'
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'stop_iso':
/tmp/s2-liplianin/v4l/firedtv-1394.c:139: error: implicit declaration of function 'hpsb_iso_stop'
/tmp/s2-liplianin/v4l/firedtv-1394.c: At top level:
/tmp/s2-liplianin/v4l/firedtv-1394.c:154: warning: 'struct hpsb_host' declared inside parameter list
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'fcp_request':
/tmp/s2-liplianin/v4l/firedtv-1394.c:167: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:168: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'node_probe':
/tmp/s2-liplianin/v4l/firedtv-1394.c:182: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:182: warning: type defaults to 'int' in declaration of '__mptr'
/tmp/s2-liplianin/v4l/firedtv-1394.c:182: warning: initialization from incompatible pointer type
/tmp/s2-liplianin/v4l/firedtv-1394.c:182: error: invalid use of undefined type 'struct unit_directory'
/tmp/s2-liplianin/v4l/firedtv-1394.c:187: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:187: error: 'quadlet_t' undeclared (first use in this function)
/tmp/s2-liplianin/v4l/firedtv-1394.c:188: error: implicit declaration of function 'CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA'
/tmp/s2-liplianin/v4l/firedtv-1394.c:188: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:188: warning: assignment makes pointer from integer without a cast
/tmp/s2-liplianin/v4l/firedtv-1394.c: At top level:
/tmp/s2-liplianin/v4l/firedtv-1394.c:243: warning: 'struct unit_directory' declared inside parameter list
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'node_update':
/tmp/s2-liplianin/v4l/firedtv-1394.c:245: error: dereferencing pointer to incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c: At top level:
/tmp/s2-liplianin/v4l/firedtv-1394.c:253: error: variable 'fdtv_driver' has initializer but incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:254: error: unknown field 'name' specified in initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:254: warning: excess elements in struct initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:254: warning: (near initialization for 'fdtv_driver')
/tmp/s2-liplianin/v4l/firedtv-1394.c:255: error: unknown field 'update' specified in initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:255: warning: excess elements in struct initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:255: warning: (near initialization for 'fdtv_driver')
/tmp/s2-liplianin/v4l/firedtv-1394.c:256: error: unknown field 'driver' specified in initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:256: error: extra brace group at end of initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:256: error: (near initialization for 'fdtv_driver')
/tmp/s2-liplianin/v4l/firedtv-1394.c:259: warning: excess elements in struct initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:259: warning: (near initialization for 'fdtv_driver')
/tmp/s2-liplianin/v4l/firedtv-1394.c:262: error: variable 'fdtv_highlevel' has initializer but incomplete type
/tmp/s2-liplianin/v4l/firedtv-1394.c:263: error: unknown field 'name' specified in initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:263: warning: excess elements in struct initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:263: warning: (near initialization for 'fdtv_highlevel')
/tmp/s2-liplianin/v4l/firedtv-1394.c:264: error: unknown field 'fcp_request' specified in initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:264: warning: excess elements in struct initializer
/tmp/s2-liplianin/v4l/firedtv-1394.c:264: warning: (near initialization for 'fdtv_highlevel')
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'fdtv_1394_init':
/tmp/s2-liplianin/v4l/firedtv-1394.c:271: error: implicit declaration of function 'hpsb_register_highlevel'
/tmp/s2-liplianin/v4l/firedtv-1394.c:272: error: invalid use of undefined type 'struct hpsb_protocol_driver'
/tmp/s2-liplianin/v4l/firedtv-1394.c:273: error: implicit declaration of function 'hpsb_register_protocol'
/tmp/s2-liplianin/v4l/firedtv-1394.c:276: error: implicit declaration of function 'hpsb_unregister_highlevel'
/tmp/s2-liplianin/v4l/firedtv-1394.c: In function 'fdtv_1394_exit':
/tmp/s2-liplianin/v4l/firedtv-1394.c:283: error: implicit declaration of function 'hpsb_unregister_protocol'
make[3]: *** [/tmp/s2-liplianin/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/tmp/s2-liplianin/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/s2-liplianin/v4l'
make: *** [all] Error 2

That's if I run with the default config.

With my own barebones config with only the essentials, this happens:

make[2]: Entering directory `/usr/src/linux-2.6.30-ARCH'
  CC [M]  /tmp/s2-liplianin/v4l/mantis_core.o
In file included from /tmp/s2-liplianin/v4l/mantis_vp1034.h:26,
                 from /tmp/s2-liplianin/v4l/mantis_core.c:24:
/tmp/s2-liplianin/v4l/mb86a16.h:39: error: expected identifier or '(' before '{' token
make[3]: *** [/tmp/s2-liplianin/v4l/mantis_core.o] Error 1
make[2]: *** [_module_/tmp/s2-liplianin/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/s2-liplianin/v4l'
make: *** [all] Error 2

Is it implying that there's a syntax error in the code? I haven't tested compiling this with another distro but I'll bet there's no error, so what the heck?

And in any case, how is this even possible if I can compile the same code on another distro just fine? Is it the GCC version, the make version or what?

Offline

#10 2009-09-21 18:09:48

vr4b4c
Member
Registered: 2008-12-30
Posts: 37

Re: DVB card modules refuse to compile!

Hi,

You can try PKGBUILD from archvdr for DVB (liplianindvb is also used as source) and package direcotry is "s2-liplianin-hg" :
http://archvdr.sourceforge.net/

Offline

#11 2009-10-24 18:23:53

sunliwei
Member
Registered: 2009-10-19
Posts: 15

Re: DVB card modules refuse to compile!

I've successfully compiled and installed my DVB-S2 card on Arch with kernel 2.6.30,  the driver I downloaded from http://www.tbsdtv.com/download/tbs6920_ … 86_x64.rar.  I haven't tried yet, but the dmesg shows cx2388x module loaded successfully. Hope these might help.

Kernel 2.6.30 changed several interfaces and structures which make the driver won't compile.  Two files need to be changed and two modules are disabled with 'make CONFIG_DVB_FIREDTV:=n CONFIG_VIDEO_CPIA:=n'.  Here is the diff result:

[root@gfbi tbs]# diff linux-s2api-tbs6920-8920-v23/v4l/compat.h linux-s2api-tbs6920-8920-v23.old/v4l/compat.h
396,399c396,399
< //static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd)
< //{
< //    return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
< //}
---
> static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd)
> {
>       return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
> }




[root@gfbi tbs]# diff linux-s2api-tbs6920-8920-v23/v4l/pvrusb2-hdw.c linux-s2api-tbs6920-8920-v23.old//v4l/pvrusb2-hdw.c
1437c1437
<       //usb_settoggle(hdw->usb_dev, 0 & 0xf, !(0 & USB_DIR_IN), 0);
---
>       usb_settoggle(hdw->usb_dev, 0 & 0xf, !(0 & USB_DIR_IN), 0);

Last edited by sunliwei (2009-10-24 18:26:09)

Offline

#12 2009-12-31 15:26:51

ju1ce
Member
From: Tampere, Finland
Registered: 2009-08-27
Posts: 4

Re: DVB card modules refuse to compile!

Man I hate this crappy module. It hasn't compiled for months. The cures are "-r 11810" flag and the .config file posted here.

Still, with kernel 2.6.32 it crashes. Dmesg output:

Dec 30 23:35:25 fidel kernel: mantis_alloc_buffers (0): DMA=0x648c0000 cpu=0xffff8800648c0000 size=65536                     
Dec 30 23:35:25 fidel kernel: mantis_alloc_buffers (0): RISC=0x64b1b000 cpu=0xffff880064b1b000 size=1000                     
Dec 30 23:35:25 fidel kernel: mantis_frontend_init (0): Probing for CU1216 (DVB-C)                                           
Dec 30 23:35:25 fidel kernel: mantis_frontend_init (0): found Philips CU1216 DVB-C frontend (TDA10023) @ 0x0c               
Dec 30 23:35:25 fidel kernel: mantis_frontend_init (0): Mantis DVB-C Philips CU1216 frontend attach success                 
Dec 30 23:35:25 fidel kernel: mantis_ca_init (0): Registering EN50221 device                                                 
Dec 30 23:35:25 fidel kernel: mantis_ca_init (0): Registered EN50221 device                                                 
Dec 30 23:35:25 fidel kernel: mantis_hif_init (0): Adapter(0) Initializing Mantis Host Interface                             
Dec 30 23:40:06 fidel kernel: mantis_core_exit (0): DMA engine stopping                                                     
Dec 30 23:40:06 fidel kernel: mantis_dma_exit (0): DMA=0x648c0000 cpu=0xffff8800648c0000 size=65536                         
Dec 30 23:40:06 fidel kernel: mantis_dma_exit (0): RISC=0x64b1b000 cpu=0xffff880064b1b000 size=1000                         
Dec 30 23:40:06 fidel kernel: mantis_hif_exit (0): Adapter(0) Exiting Mantis Host Interface                                 
Dec 30 23:40:06 fidel kernel: mantis_ca_exit (0): Unregistering EN50221 device                                               
Dec 30 23:40:06 fidel kernel: Trying to vfree() bad address (ffff8800c8e9cea0)                                               
Dec 30 23:40:06 fidel kernel: mantis_pci_remove (0): Removing -->Mantis irq: 19, latency: 32                                 
Dec 30 23:40:06 fidel kernel: memory: 0xea100000, mmio: 0xffffc900040c6000

Last edited by ju1ce (2009-12-31 15:27:19)

Offline

Board footer

Powered by FluxBB